Lab Cloudformation
Lab Cloudformation
SYST3514 Cloud Systems
Copyright By PowCoder代写 加微信 powcoder
SYST35144 Lab CloudFormation
Use CloudFormation to create the infrastructure in this diagram:
The template document create-vpc.yml makes VPCs with the templated infrastructure shown in the diagram. This template document creates different VPCs with their own cidr blocks.
· The template document create-sg.yml makes a security group with two rules: allow SSH from public space and allow HTTP from public space.
· The template document create-ec2.yml makes one EC2 instance with the ability of be located in any subnet in any new VPC and to use the security groups created by the stack create-sg.
Requirements:
· Write the three CloudFormation templates shown in the diagram.
· The documents must be DRY and reusable.
· Deploy the infrastructure and the security groups.
· Create two EC2 instances with the document create-ec2.yml with the condition that one EC2 is to be placed on the public subnet and the other is to be placed on the private subnet of the created vpc.
· The security group applied to the EC2s is the same created in create-sg.yml.
· All of these actions must be done through CloudFormation. Nothing can be done manually.
· Your YAML files to the SLATE drop box.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com