Get rid of your unhealthy Azure instances

Have you ever had an Azure instance that just was not performing up to your expectations?

We have. And in the past, they were very hard to get rid of without affecting your entire cloud deployment.

How-To: Remove Azure instances that became slow or unhealthy

In this week’s How-To post, we’ll cover the new API that lets us easily remove an Azure instance that is performing poorly or has become unhealthy. We also share a tool we wrote to automate the removal, so you can remove dead Azure instances quickly whenever you need.

Read more: Azure: Remove unhealthy or slow role instances.

A bit of history

Back when we launched LeanSentry 2 years ago, we had a lot of issues with Azure instances not performing up to our expectations. In particular, the Azure host processes would die whenever the instances experienced high memory utilization from our custom cache layer, and begin to constantly recycle the role/reboot the VM. This caused service outages during times of peak usage.

Back then, the only way to take an instance out of rotation was to do VIP swap, or to scale down the service to a point where the offending instance would be removed (and so would all other instances with higher instance ids). Because we maintained a lot of in-memory and on-disk state on the instance, both of those options would be a huge no-no. So, we lobbied Microsoft to create an option to remove a specific instance, instead of trashing half of your service.

The Azure team came through and finally released an API to do this. This has been a godsend, allowing us to intelligently manage how we scale up and down so we can keep the instances with the highest efficiency / warmest cache.

For more on how to when to do this, and a tool to quickly delete instances, check out the How-To post here.

LeanSentry How-To: IIS & ASP.NET recommendations from our team

In the last 2 years, we’ve helped thousands of big and small companies to improve their IIS servers & ASP.NET applications.

Today, we are announcing LeanSentry How-To: a series of best-practice guides to help you solve common performance problems & improve your site health.

We’ll cover topics like:

1. Azure best practices
2. IIS & ASP.NET performance
3. Improving application & server stability
4. Advanced tools & techniques for troubleshooting production problems

To get these, sign up for our How-To series at LeanSentry How-To.

If you have specific areas or questions you would like to see covered, email us or post them here anytime.

New Performance page helps you track website CPU/Memory & slow requests

This week, we have another big improvement for you.

We completely remade our Performance page, and made it a lot easier to view your website performance data.

What’s there?

  • Slow requests┬átab shows you what operations caused slow requests to your site.
  • Resource use┬átab shows you the CPU, Memory, and Network usage by the website … compare it across all servers … and give you the diagnostic data to explain what caused the usage.

As a bonus, you can enable CPU profiling, Memory diagnostics, and slow operation tracking directly from the page.

Above all, the new interface is clean and wonderfully simple.

This is available immediately in your LeanSentry account! Just log in and go to the Performance page for any of your websites.

Don’t have an account? Get a trial account to see it for yourself.

We have more great stuff coming next week, so stay tuned!