Replatforming as a Windows container - AWS Prescriptive Guidance

Replatforming as a Windows container

Replatforming your .NET application as a Windows container helps you achieve your business objectives with less effort than refactoring. It lets you takes advantage of container technologies without changing the core architecture of your .NET application. Windows applications can be converted to containers without much effort.

.NET Framework-based containers support Windows Server 2016 or 2019 as the host operating system.

Use cases

This migration strategy is useful in any of the following scenarios:

  • You’re unable to resolve .NET Framework dependencies.

  • You’re unable to resolve Windows dependencies.

  • You don’t have the resources to refactor the application to .NET Core or .NET 5.

Advantages

This migration approach provides the following benefits, when compared with on-premises .NET applications:

  • Minimal effort

  • Improved resource utilization

  • Improved security

  • Better deployment options

Disadvantages

  • License costs for the host Windows operating system

AWS services

For storing container images:

For orchestrating Windows containers:

Tools

Tool Purpose Resource
AWS App2Container (A2C) A2C is a command line tool for modernizing .NET and Java applications by converting them into containerized applications with minimal effort.

Deployment decisions

You can choose from three deployment options:

  • If you want complete control over the configuration of your compute environment, including memory and storage settings, and control over operating system patches: deploy your application as a Windows container on an EC2 instance.

  • If you want the container to be managed by Kubernetes: deploy your application as a Windows container on Amazon EKS.

  • If you want the container to be managed by Amazon ECS: deploy your application as a Windows container on Amazon ECS.


          Replatforming .NET applications on AWS