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
  • 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
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency
Exit mobile version
%%footer%%