Prerequisites - Replatform .NET Applications with Windows Containers

This whitepaper is for historical reference only. Some content might be outdated and some links might not be available.

Prerequisites

Deploy the AWS environment

  1. If you do not have an AWS account, follow the How do I create and activate a new AWS account? article to create one that you will use throughout this walkthrough.

  2. Download the App2Container demo CloudFormation template to your local machine for the AWS environment that you will deploy for the demo environment.

  3. Deploy the AWS environment with CloudFormation (sign-in required).

  4. In the Create stack dialog box in Specify template, choose Upload a template file, and select the app2container_demo_template.yml file that you downloaded to your local machine. Choose Next.

    Screen capture of the Create stack dialog box

    Create stack dialog box

  5. In the Specify stack details dialog box, enter App2Container-Demo as the stack name. You can optionally add your public IP address in the YourIPAddress field to limit the access only to your IP address. The default value (0.0.0.0/0) will allow traffic for all IP addresses. Choose Next.

    Screen capture of the Specify stack details dialog box

    Specify stack details dialog box

  6. In the Configure stack options dialog box, don’t make any changes, and choose Next.

  7. In the Capabilities and transforms dialog box, review, scroll to the bottom of the page, and check all check boxes. Choose Create stack.

    Screen capture of the Capabilities and transforms dialog box

    Capabilities and transforms dialog box

  • If the deployment fails, go to the deployment stack Events tab and confirm the root cause. A common root cause is ecsExecutionRole or ecsAutoscaleRole IAM roles already exist in the AWS account. Delete them and re-run deployment of the environment from the CloudFormation template.

  • When the template is in the CREATE_COMPLETE status, you can find information about created source environment by going to AWS Management Console > CloudFormation, choosing App2Container-Demo stack, and choosing the Outputs tab.

Screen shot of the Outputs tab

Outputs tab of the App2Container-Demo stack dialog box