Skip to content

Instantly share code, notes, and snippets.

@okram999
Last active October 18, 2017 19:04
Show Gist options
  • Select an option

  • Save okram999/b29dd6fe772d0f8abaedeeb883039f22 to your computer and use it in GitHub Desktop.

Select an option

Save okram999/b29dd6fe772d0f8abaedeeb883039f22 to your computer and use it in GitHub Desktop.
Quick Tips
Subnets do not span accross AZ's.
You are creating a new VPC with 3 subnets in 3 separate availability zones - By default all subnets will be able to communicate with each other using the main route table.
Create VPC
Create Subnets in multiple AZ
Create IGN
Attach IGN to VPC
## launching instances to test the internet connectivity and interconnectivity
## So, if i dont enable assign public ip, the instance in the subnets takes the ip range from the subnet where it belongs (and this is expected)
Assign a custom route (via the Route table), so that the instance in the subnet can reach the internet.
- For this, you need to add the entry with the IGN
Installed Apache, started and made the chkconfig on
## Create the Auto Scaling ###
Create the Lauch config. This is where you define how your auto spawned instance should be.
Create the Auto Scaling group
Make sure, an ELB is assinged to the auto scaling configuration
### Create the cloudFormation template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment