Set IIS Idle Timeout Automatically on Elastic Beanstalk

So, you’re running an ASP.NET app in IIS on Elastic Beanstalk and trying to figure out how to keep the app from shutting down due to idleness. Read on, my friend. The answer to your problem lies below. As you’re no doubt aware, low-traffic ASP.NET web apps can time out on IIS due to idleness. This is the server’s way of helping you conserve resources and make sure the machine is available to serve higher demand applications.…

Auto Install Windows New Relic Agents in AWS Elastic Beanstalk

We use New Relic for Application Performance Monitoring on our ASP.NET and node.js applications. Recently, we’ve started moving our infrastructure from on-premise into Amazon Web Services (AWS). Because we’re just beginners, we started out with the Elastic Beanstalk service, which allows us to easily deploy new versions of our applications backed by a decent infrastructure. In an on-premise situation, we’d manually install the .NET Agent and the Infrastructure Agent. But working with Elastic Beanstalk means we need to take a different approach to keep things efficient and consistent.…