Running Windows Containers with Amazon ECS

Application Load Balancer → ecs → Amazon CloudWatch

Deploy a application on Windows based Amazon Elastic Container Service (Amazon ECS) Cluster.

This pattern uses .NET as a programming language to create the entire AWS CDK stack. For demonstration purpose, Windows sample image is used (mcr.microsoft.com/windows/servercore/iis), however same steps can be performed if Windows Docker image need to be deployed from Amazon Elastic Container Registry (Amazon ECR) repository.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd ecs-windows-cdk-dotnet/cdk/src/WindowsECS/

Deploy

cdk deploy --all


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Pankaj Rawat

Pankaj Rawat

Pankaj Rawat is a Lead Consultant at Amazon Web Services.

Follow on LinkedIn

Vijai Anand Ramalingam

Vijai Anand Ramalingam

Vijai Anand Ramalingam ia an Application Developer - ISV at Amazon Web Services

Follow on LinkedIn