VPC 생성하기

참고 : https://hgk5722.tistory.com/556

1. VPC 생성

image.png

2. Subnet 생성

image.png

3. Network ACL 생성

4. init Script 작성

Server -> init Script -> 생성
#!/bin/bash

yum update -y

yum install -y httpd

service httpd start

chkconfig httpd on

echo "<html><h1>Success, Test1</h1></html>" > /var/www/html/index.html

image.png

5. Server(인스턴스) 생성

image.png