DevOps Classroomnotes 26/Oct/2022

Terraform contd…

  • Lets use terraform aws-vpc module to create 6 subnets
    • web1
    • web2
    • app1
    • app2
    • db1
    • db2
  • web1 and web2 are public subnets and remaining private subnets
    Preview
  • We have used to the terraform aws module Refer Here
  • Refer Here for the changes.
  • Now we need to create a security group which opens 3306 port (mysql works on 3306) to all the vpc range (to all subnets). Refer Here
  • Refer Here for the changes done to add db security group
  • Create a db subnet group Refer Here
  • Refer Here for creating db
  • Refer Here for the changes

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner