# Automate Active Directory joins for Elastic Beanstalk Windows applications

DevFeed: [Automate Active Directory joins for Elastic Beanstalk Windows applications](<https://devfeed.tech/articles/automate-active-directory-joins-for-elastic-beanstalk-windows-applications-90035.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/devops/automate-active-directory-joins-for-elastic-beanstalk-windows-applications/>)

Author: Mohammad Ibrahim

Published: 2026-10-19T16:07:51Z

Content type: tutorial

Language: en

Sources: [AWS DevOps & Developer Productivity Blog](<https://devfeed.tech/sources/aws-devops-developer-productivity-blog.md>)

Topics: [active directory](<https://devfeed.tech/topics/active-directory.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [WinForms](<https://devfeed.tech/topics/winforms.md>)

Tags: [active-directory](<https://devfeed.tech/tags/active-directory.md>), [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-vpc](<https://devfeed.tech/tags/amazon-vpc.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cli](<https://devfeed.tech/tags/aws-cli.md>), [aws-elastic-beanstalk](<https://devfeed.tech/tags/aws-elastic-beanstalk.md>), [aws-identity-and-access-management-iam](<https://devfeed.tech/tags/aws-identity-and-access-management-iam.md>), [aws-secrets-manager](<https://devfeed.tech/tags/aws-secrets-manager.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

AWS Elastic Beanstalk can now join Windows Server instances to Active Directory during launch, before deploying the application. The tutorial explains the configuration, required instance profile permission and DNS setup, verification steps, and how failed joins appear in deployment logs while deployments continue.

## Source excerpt

AWS Elastic Beanstalk now joins your Windows Server instances to an Active Directory domain automatically at launch, before your application deploys, with no join scripts and no stored domain credentials. This walkthrough shows how to set it up, confirm the join, and see how Elastic Beanstalk reports a failed join without failing your deployment.