Subscribe to Our Weekly Newsletter
Creating an AWS CloudFormation Stack
Creating an AWS CloudFormation Stack
Now that your AWS CloudFormation template has been modified, we will create a new stack to launch your new environment. You have the ability to verify that your new stack works before launching it, by cleaning up all your AWS resources, except for your custom AMI and key pair. For further instructions on cleaning up your resources, please refer to the section “Cleaning Up Your Resources”.
Note: AWS CloudFormation is a free service. However, charges are incurred by you for the AWS resources you include in your stacks. For further information about AWS pricing, please visit the details page for each of the products on http://aws.amazon.com/pricing.
Here is the procedure to create an AWS CloudFormation stack:
- Firstly, you will be required to launch the “Create Stack Wizard”:
- Open the AWS CloudFormation console at https://console.aws.amazon.com/cloudformation/.
- In the “Navigation” pane, you will need to select “US East (Virginia)” from the “Region” drop-down menu.
- Now, in the “Stacks” page also, please select “US East (Virginia)” from the “Region” drop-down menu.
- Click on “Create New Stack”. The “SELECT TEMPLATE” page of the “Create Stack Wizard” will appear.
- You will now be required to select a template:
- On the “SELECT TEMPLATE” page of the “Create Stack Wizard”, you will be required to type a stack name in the “Stack Name” box.
- Now, click on “Upload a Template URL”, and type in the location where you have saved your modified template.
- Click on the “Show Advanced Options” button.
- Select “Create a new SNS topic” from the “Amazon SNS Topic” drop-down menu. By doing so, you will always receive email notifications whenever resources are created or deleted.
- Type “CRM” in the “New topic” name box.
- Type your e-mail address in the “Email” box, and accept all the other default values.
- Click on “Continue”.
The “REVIEW” page of the “Create Stack Wizard” will appear.
- Now, you can review your settings. You can thus make changes to the settings by clicking on the edit link for any specific step in the process.
- Click on the “Create Stack” button.
A confirmation window will appear.