Activity 2: Creating an Ntier Architecture using CF Template contd
- Refer Here for the changes done to create a db subnet group.
- Create a stack.
- Lets create a free tier eligible mysql rds db instance Refer Here for the cloudformation db instance definition
- Now after updating the stack we see the database created Refer Here for the changes done
- Now we need to create an ec2 instance Refer Here for the resource docs
- Now create the ec2 instance by adding the resource. Refer Here for the changes done and update the stack
- Next Steps:
- Avoid Hardcoding
- Try to make the template reusable across regions
- give options for users to select key pairs
- See the options for parametrizing or making ami id work with all regions
- Add output sections