Cloudformation contd..
-
Route table and Routes

-
Manual Steps: Public rt routes

-
Refer Here for the changes
-
Now update the stack by creating a changeset and executing it

-
Now lets try to create a security group in the vpc
- for web subnet to allow 22 port and 80 port to every one

- for db subnet to allow 3306 port from only vpc (10.10.0.0/16)
- for app subnet to allow communication of port 8080 from only vpc (10.10.0.0/16)
- for web subnet to allow 22 port and 80 port to every one
-
Execute the changeset Refer Here

-
Lets enable hostnames in VPC

-
Create changeset and execute Refer Here for the changes done

-
When we upload the template to the cloud formation, cloudformation stores the template in your s3 bucket

-
Next Steps:
- We need to create ec2 instances in
- web subnet
- app subnet
- we need to create a mysql rds instance in db subnet
- We need to create ec2 instances in
-
Exercise:
- Try rewriting the whole template by manually executing the steps and using visual studio code and cloud formation documentation.
