Deploy into an existing VPC

By default, the LAMP Production-Ready solution deploys all its elements into a new Virtual Private Cloud (VPC). However, it is also possible to deploy into an existing VPC. Follow the steps below:

  • Ensure that you have an existing VPC with two public and two private subnets, as well as one or more Bastion hosts in the public subnets. Learn more about VPCs and Bastion hosts.

    NOTE: It is important to ensure that the Bastion hosts are in the public subnet so that other LAMP Production-Ready solution components deployed in the private subnets can be accessed via the Bastion hosts.

  • Log in to the AWS CloudFormation console and click the “Launch with CloudFormation Console” button.

  • On the resulting page, ensure that the “Choose a template” -> “Specify an Amazon S3 template URL” option is selected. Modify the URL and replace the wordpress-master.template URL fragment with wordpress.template.

  • Proceed with the deployment in the usual manner. When configuring the deployment, enter values referencing the existing VPC and Bastion resources.

Last modification April 15, 2019