- 초기화면
01 - ACG(Access Control Group) 생성
- AWS로 하면 Security Group으로 볼 수 있다.
- Init script 설정
- 서버를 처음 생성하고 Httpd, php 등 초기 설정 파일 설치 및 설정을 함
#!/bin/bash
yum -y install httpd php mysql php-mysql
systemctl enable httpd
cd /var/www/html
wget http://211.249.50.207/lab/lab.tgz
tar xvfz lab.tgz
cat phpadd >> /etc/httpd/conf/httpd.conf
systemctl start httpd
echo 'ncp!@#123' | passwd --stdin root
- 서버
- 공인 IP 할당
- 서버 이미지 생성
- 이미지한 서버를 생성시 root나 administrator의 패스워드는 변경됨. 단 그 하위 유저의 계정 및 패스워드는 유지
- 스토리지 생성
- 로드 밸런싱
- DNS
- 오토 스케일링
- 서버에 갑작스럽게 부하가 걸릴 경우 서버를 자동적으로 생성하여 부하를 줄여주는 기능
- 먼저 Launch Configuration 생성을 한다.
- 다음 AutoScaling Group 생성
- Group Event Setting에서 만든 autoscaling group의 정책을 설정한다. (cpu 사용량에 따라 서버 추가 감소 등)
- Object Storage
-
웹의 저장소는 비싸기 때문에 object Stroage 사용.
-
블록 단위로 저장하지 않고 Object 단위로 저장한다.
-
장점은 os를 통하지 않고 접근할 수 있다.
-
단점은 이름 바꾸기를 할 경우 데이터 전체를 바꿔야 한다.
- Archive storage
-
로그 기록같이 자주 안 보는 자료를 저장하는 공간
-
object storage보다 느리지만 저렴함.
S3 Browser를 통해 관리함
- SSL VPN
- 안전하게 클라우드를 연결하는데 사용하는 보안 기술. 이를 통해 직접 서버에 있지 않아도 개인 회선을 가진 효과를 볼 수 있으며 보안적으로 안전성을 크게 향상 시킨다.