aws Modernizing with AWS Blog ·

Zero-Downtime Multi-Tenant IIS Deployments on AWS Elastic Beanstalk

bloginfraawsengineer
announcement

This post outlines a method for achieving zero-downtime deployments for multi-tenant ASP.NET applications on AWS Elastic Beanstalk. It addresses the challenge of IIS restarts during deployments, which typically causes downtime for all tenants, even if only one application changed. The solution leverages the `skipIISReset` flag, dedicated IIS application pools for tenant isolation, and content-hash change detection in PowerShell deployment scripts. This approach ensures unaffected tenants experience no service interruption during updates to individual applications.

Notes (1)
  • Implementing zero-downtime multi-tenant IIS deployments

    This solution demonstrates how to deploy multiple ASP.NET web applications on a single AWS Elastic Beanstalk Windows Server environment without downtime for unchanged tenants. It utilizes the `skipIISReset` flag in the deployment manifest, dedicated IIS application pools for isolation, and content-hash change detection in PowerShell scripts to selectively update tenant sites. Source code for the sample environment is provided on GitHub.

Read the original announcement →

https://aws.amazon.com/blogs/modernizing-with-aws/zero-downtime-multi-tenant-iis-deployments-on-aws-elastic-beanstalk/

Related releases