Yes, but maybe not directly from the portal. You might have stumbled across an image in the portal that deploys a VM, but you actually wanted to deploy that image to a scale set. This blog post will discuss how to do so. Find the Image Reference First, you need to find the image reference…… Continue reading Can I deploy this image with scale sets?
Tag: scale sets
Debugging Azure Autoscale
Autoscale can make your app more cost-effective and resilient to spikes in usage. However, sometimes you need to debug why your resource isn’t autoscaling when you expect it to. In this post, we’ll look at some basic strategies for debugging autoscale in Azure, particularly with respect to VM scale sets. Step 1 – Look at…… Continue reading Debugging Azure Autoscale
Autoscaling Scale Sets Based on Metrics
When our service sees a spike in usage, it is very convenient for our infrastructure to be able to automatically scale to meet this demand. Azure allows us to do this by autoscaling our scale sets (and other resources). There multiple ways to trigger automatic scaling events: by metrics, by recurrence, and by fixed date.…… Continue reading Autoscaling Scale Sets Based on Metrics
Changing Admin Credentials of VMs and Scale Sets
Disclaimer For security purposes, please validate any and all descriptions in this blog post about what credentials are/aren’t removed when resetting credentials. This blog post merely observes the behavior of the platform at a specific point in time and will not necessarily be kept up to date with changes in the platform. I take no…… Continue reading Changing Admin Credentials of VMs and Scale Sets
Custom vs. Platform Images for Scale Sets
Scale sets can be deployed from “custom” OS images created by the user, or from “platform” images that are built into Azure (these “platform” images are also called “marketplace” images; there are some distinctions between platform and marketplace images, but let’s ignore these for now). In this post, we discuss the pros and cons of…… Continue reading Custom vs. Platform Images for Scale Sets
Scale Sets and Load Balancers
Scale sets provide scalable, highly-available compute, but compute in a vacuum is not useful in most cases. It is often necessary to have an additional component route traffic to the VMs in the scale set. Highly-available, platform-managed load balancers like the Azure Load Balancer and Azure Application Gateway can route traffic to scale set VMs…… Continue reading Scale Sets and Load Balancers
Reimaging VMs in a Scale Set
Occasionally, a VM in a scale set may end up in a bad state. In these cases, we may wish to try to fix the specific VM having a problem, or we may wish to delete the offending VM and bring up a new one in its place. As a sort of middle ground, we…… Continue reading Reimaging VMs in a Scale Set
Updating a Scale Set
Scale sets are a great tool for large-scale computation, but it is not always intuitive how to update a scale set (hint: there’s more than one way!). In this post, we’ll discuss the multiple ways to update a scale set and when each method is used. Background – PUT/PATCH vs. POST APIs Azure APIs generally…… Continue reading Updating a Scale Set