Guide to deploy Amazon EC2 instance with multiple AZ and installation script.
EC2
->Launch Instance
- Enter instance name, select the operating system (AMI)
- Select instance type (which server specs you need)
Compare instance types
->Get advice
which will show you recommendation for your applications- Select key-pair SSH or generate new
- Select VPC (for testing, use default. for production, always create custom VPC)
- Select the subnet (YOU MUST CHEK THE AVAILABILITY ZONE HERE)
- Security group to allow inbound traffic to specific port
Advanced details
->User data
(enter your deployment script. Example: installing LAMP Stack, downloading source code, etc)- Launch Instance