- Launch one EC2 instance (free tier, e.g., t2.micro), using the following
user data
command, and open 80 port from thesecurity group
.
#include
https://raw.githubusercontent.com/thejungwon/aws-sample-general-app/master/start.sh
- Check if the website works through the public IP address.
- Launch one RDS instance (mysql, t2.micro), and open 3306 port to (only) the security group used for EC2 instance (e.g., sg.xxx)
- Make an S3 bucket and make it public.
- Set up the IAM role to EC2 with full S3 access.
- Submit the RDS and S3 information on the website that we launched.
- Check if posting function works.
- Launch another EC2 instance.
- You have to attach the IAM role this time while you are creating the instance.
- Launch ELB and include two instances.
- Check if the page shows contents through different EC2 instances.