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.
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
2026
2024
2026
2024
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.