Search code examples
iisamazon-web-servicesamazon-ec2iis-7.5amazon-elastic-beanstalk

HTTP compression in IIS 7.5 on Elastic Beanstalk


I have a load balanced, auto scaling Elastic Beanstalk IIS 7.5 application. I would like to enable HTTP compression on the deployed application (same way as it is described here). Is it at all possible to do? Even if I would try to set it up manually on one instance via Remote Desktop (in my current setup EC2 instances are in a private subnet), what will happen when the application will scale up?


Solution

  • I have just enabled <urlCompression doDynamicCompression="true"/> under <system.webServer> section in my web.config and the compression started working as expected.