AWS Classroomnotes 31/Dec/2021

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.
    Preview
  • 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
    Preview
  • 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
    Preview
  • 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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner