Architecture to be realized

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
"${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
Like this:
Like Loading...