Deploying a Amazon CloudFormation Template in Visual Studio - Amazon Toolkit with Amazon Q
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deploying a Amazon 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 Amazon CloudFormation.

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

  2. On the Deploy Template page, choose the Amazon Web Services 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 Amazon 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.