Zero-Downtime Multi-Tenant IIS Deployments on AWS Elastic Beanstalk
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.
https://aws.amazon.com/blogs/modernizing-with-aws/zero-downtime-multi-tenant-iis-deployments-on-aws-elastic-beanstalk/
Related releases
- Amazon EC2 Marks 20 Years of Cloud Compute Innovation AWS News Blog ·
- GPU-accelerated Apache Spark on Amazon EMR with EC2 G7 instances runs up to 3.7x faster AWS Big Data Blog ·
- AWS Lambda functions now support full IAM resource-based policies AWS What's New ·
- Amazon MSK 3.7 reaches end of life in 7 days endoflife.date ·
- Amazon ECS adds automated agent connectivity detection and repair AWS What's New ·
- AWS Neuron 2.32 Enhances NKI, MXFP8 Training, and Variable-Size Collectives AWS What's New ·