FAQ
This section provides answers to commonly raised questions about modernizing legacy ASP.NET web services.
Does AWS support Windows containers?
Yes, both Amazon Elastic Container Service (Amazon ECS) and Amazon Elastic Kubernetes Service (Amazon EKS) support Windows containers. To get started with these AWS services using Windows containers, see the following:
-
Getting started with the Amazon ECS console using Amazon EC2 Windows containers (Amazon ECS documentation)
-
Amazon EKS Windows Container Support now Generally Available
(AWS News blog)
Can I run ASP.NET services on Linux?
Yes, ASP.NET services (APIs) written in .NET Core can run on Linux. To run your .NET Core applications on Linux by using AWS Elastic Beanstalk, see Working with .NET Core on Linux in the Elastic Beanstalk documentation.
Can I run Windows containers on AWS Fargate?
As of the writing of this guide, Windows containers are supported only for the Amazon EC2 launch type. The Fargate launch type isn't currently supported for Windows containers. For more information, see Amazon EC2 Windows containers in the Amazon ECS documentation.
Does Amazon API Gateway support Windows-integrated authentication? Does it support OAuth 2.0?
Not by default. However, API Gateway supports OAuth 2.0 through the use of Amazon Cognito user pools, and it supports other authentication and authorization providers through the use of custom authorizers. To get started with these options, see the following:
-
Introducing custom authorizers in Amazon API Gateway
(AWS Compute blog) -
Control access to a REST API using Amazon Cognito user pools as authorizer (API Gateway documentation)