A rapidly growing company wants to scale for Developer demand for AWS development environments. Development environments are created manually in the AWS Management Console. The Networking team uses AWS CloudFormation to manage the networking infrastructure, exporting stack output values for the Amazon VPC and all subnets. The development environments have common standards, such as Application Load Balancers, Amazon EC2 Auto Scaling groups, security groups, and Amazon DynamoDB tables. To keep up with the demand, the DevOps Engineer wants to automate the creation of development environments. Because the infrastructure required to support the application is expected to grow, there must be a way to easily update the deployed infrastructure. CloudFormation will be used to create a template for the development environments. Which approach will meet these requirements and quickly provide consistent AWS environments for Developers?
A. Use Fn:ImportValueintrinsic functions in the Resources section of the template to retrieve Virtual Private Cloud (VPC) and subnet values. Use CloudFormation StackSets for the development environments, using the Count inputparameter to indicate the number of environments needed. use the UpdateStackSetcommand to update existing development environments.
B. Use nested stacks to define common infrastructure components. To access the exported values, use TemplateURLto reference the Networking team’s template. To retrieve Virtual Private Cloud (VPC) and subnet values, use Fn::ImportValueintrinsic functions in the Parameters section of the master template. Use the CreateChangeSetand ExecuteChangeSetcommands to update existing development environments.
C. Use nested stacks to define common infrastructure components. Use Fn::ImportValueintrinsic functions with the resources of the nested stack to retrieve Virtual Private Cloud (VPC) and subnet values. Use the CreateChangeSetand ExecuteChangeSetcommands to update existing development environments.
D. Use Fn:ImportValueintrinsic functions in the Parameters section of the master template to retrieve Virtual Private Cloud (VPC) and subnet values. Define the development resources in the order they need to be created in the CloudFormation nested stacks. Use the CreateChangeSetand ExecuteChangeSetcommands to update existing development environments.
A. Use Fn:ImportValueintrinsic functions in the Resources section of the template to retrieve Virtual Private Cloud (VPC) and subnet values. Use CloudFormation StackSets for the development environments, using the Count inputparameter to indicate the number of environments needed. use the UpdateStackSetcommand to update existing development environments.
B. Use nested stacks to define common infrastructure components. To access the exported values, use TemplateURLto reference the Networking team’s template. To retrieve Virtual Private Cloud (VPC) and subnet values, use Fn::ImportValueintrinsic functions in the Parameters section of the master template. Use the CreateChangeSetand ExecuteChangeSetcommands to update existing development environments.
C. Use nested stacks to define common infrastructure components. Use Fn::ImportValueintrinsic functions with the resources of the nested stack to retrieve Virtual Private Cloud (VPC) and subnet values. Use the CreateChangeSetand ExecuteChangeSetcommands to update existing development environments.
D. Use Fn:ImportValueintrinsic functions in the Parameters section of the master template to retrieve Virtual Private Cloud (VPC) and subnet values. Define the development resources in the order they need to be created in the CloudFormation nested stacks. Use the CreateChangeSetand ExecuteChangeSetcommands to update existing development environments.