DevOps Terraform Classroom Series – 18/Sep/2019

Architecture to be realized

Preview

AWS side of Architecture

  • Manual Steps:
    • Create VPC with cidr range ‘10.10.0.0/16’
    • Add two subnets to VPC with cidr ranges ‘10.10.0.0/24’ and ‘10.10.1.0/24’
    • Add internet gateway =>
    • Add a route to internet gateway to exisiting or new route table
    • Add a security group for openmrs server => 22,8080 opened for usage
    • create a key value pair
    • create 2 ec2 machine in 2 subnets created above

Using attributes of one resource in arguments of another resource

  • syntax:
"${resource_type.resource_name.attributename}"
${aws_vpc.my_network.id}
  • Note: This is also called as resource dependency
  • Resource Dependecy determines the order of execution of resources

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
Social Media Icons Powered by Acurax Web Design 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