Home icon

Zero-downtime multi-tenant IIS deployments on AWS Elastic Beanstalk

Microsoft Workloads on AWS Blog



This article demonstrates how to achieve zero-downtime deployments for multi-tenant ASP.NET applications on AWS Elastic Beanstalk by preventing IIS restarts and selectively updating only changed tenants.

  • Use skipIISReset flag in deployment manifest to prevent full IIS restarts during deployments
  • Implement content-hash change detection in PowerShell scripts to skip unchanged tenant deployments
  • Create dedicated IIS application pools per tenant for process isolation and independent recycling
  • Deploy infrastructure using CloudFormation with Route 53 private hosted zone for subdomain resolution
  • Verify zero-downtime behavior by comparing worker process PIDs before and after deployment

This approach enables updating individual tenant sites independently while keeping unaffected tenants running continuously, eliminating multi-tenant deployment downtime.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 31
2026
AWS Elastic Beanstalk now supports Active Directory domain join for Windows Server environments
Apr 24
2024
Seamless Production Deployment with Elastic Beanstalk
Aug 10
2026
Build zero-downtime write architectures for Amazon Neptune
Mar 15
2024
Easily Migrate .NET Web Apps to AWS with Elastic Beanstalk, Part 1

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.