AWS Toolkit for Visual Studio
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Deploying a AWS CloudFormation Template in Visual Studio

To deploy an CFN template

  1. In Solution Explorer, open the context (right-click) menu for the template you want to deploy, and choose Deploy to AWS CloudFormation.

    Alternatively, to deploy the template you're currently editing, from the Template menu, choose Deploy to AWS CloudFormation .

  2. On the Deploy Template page, choose the AWS account to use to launch the stack and the region where it will be launched.

  3. Choose Create New Stack and type a name for your stack.

  4. Choose any (or none) of the following options:

    • To receive notifications about the stack's progress, from the SNS Topic drop-down list, choose an SNS topic. You can also create an SNS topic by choosing Create New Topic and typing an email address in the box.

    • Use Creation Timeout to specify how long AWS CloudFormation should allow for the stack to be created before it is declared failed (and rolled back, unless the Rollback on failure option is cleared).

    • Use Rollback on failure if you want the stack to roll back (that is, delete itself) on failure. Leave this option cleared if you would like the stack to remain active for debugging purposes, even if it has failed to complete the launch.

  5. Choose Finish to launch the stack.