AWS Classroomnotes 26/Mar/2023

AWS Cloudformation

Overall architecture

  • Overview
    Preview

Create VPC

  • Refer Here for the changes done
  • Create a stack
    Preview
  • Lets define parameters to make cidr range of vpc dynamic Refer Here for parameters official docs
  • To use the parameter use ref function. Refer Here for the changeset
    Preview
  • Updating the properties might lead to
    • Replacement: Delete and recreate
    • No Interuption: Modify on existing resource.
  • Lets add subnets
    • Refer Here for the changes done to add web1 subnet.
    • Now update the stack
      Preview
      Preview
      Preview
    • Refer Here for the changes done to add 3 more subnets
      Preview
  • web1, db1 subnets should be in AZ a and web2 db2 subnets should be in AZ b
  • Cloud formation supports AWS specific parameter types
  • Use AZ parameter as done in this changeset Refer Here
    Preview
    Preview
    Preview

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube