This whitepaper is for historical reference only. Some content might be outdated and some links might not be available.
Using a load balancer with Windows Authentication
A typical architecture for a containerized ASP.NET application would involve ELB. A load balancer automatically distributes incoming traffic across multiple targets such as EC2 instances, containers, and IP addresses, in one or more Availability Zones. Windows Authentication requires that the source port be preserved in the connection from the client to the server. A Network Load Balancer with a TCP listener will preserve the source port for a load balanced connection. For that reason, use a Network Load Balancer when using Windows Authentication.
This section covered how to enable users to sign in using their Active Directory domain credentials, and how your applications can also utilize Active Directory service accounts to connect to network resources, such as SQL Server databases. When running containers, you also must consider access control to AWS resources that may occur during container related lifecycle activities. IAM helps you securely control access granted to Amazon ECS, Amazon ECS container agent, and your application during these events.