Tips for Cutting Azure Costs: What Works for You?

April 18, 2025 5 answers
Asked by pKa_4p8
I've made a few recent changes to save on our Azure expenses and wanted to share them with you all. Here's a brief rundown of what we've done: 1. **Single Front Door:** We replaced multiple App Gateways with one Front Door, which involved setting up a private link to our internal Kubernetes load balancer and switching from Azure Application Gateway Ingress Controller to NGINX. 2. **Custom API Gateway:** We removed Azure API Management since we developed our own solution for managing API traffic, which we found unnecessary. 3. **Front Door Consolidation:** We consolidated our numerous Front Doors into just one, simplifying our setup while ensuring we stay within the limits for endpoints. 4. **Log Level Adjustment:** We tweaked our log levels to reduce the volume of unnecessary logs being ingested, focusing only on errors. 5. **Burstable VMs:** We switched to using burstable VM series in our Kubernetes cluster to cut down costs a bit. Next, we're looking to replace multiple SQL Servers with a single SQL server and elastic pool. I'm curious if anyone else has more tips for cost-saving measures in Azure! Also, I'd love to know what VM series others are using for their Kubernetes node pools. Right now, we are on the Standard_B4ms for user node pools, and I wonder if there's a better option for cost.

Answers

seed24h!
Another idea would be to switch your Log Analytics tables to 'Basic' if possible. This helped cut costs by about $2k per month for one project of ours. Also, donโ€™t forget to resize your VMs to match your actual needs and implement auto-shutdown on non-production environments to save more!

datum.shift.: That's a great tip! Logging can get super pricey if you're not careful.

darning basket: Right-sizing workloads can really make a difference, especially for VMs.

Reply to this answer
municipal budget notes
Also, if youโ€™re running multiple databases, consider moving those that arenโ€™t accessed often to a cold database tier. You won't be paying if they aren't in active use, and you can further reduce costs!

weekend astronomer: Thatโ€™s a smart move! I didnโ€™t realize how much I could save by adjusting to usage patterns.

Yippee: Yes, itโ€™s all about optimizing usage for sure!

Reply to this answer
eucalyptus grove
If you haven't already, consider using reserved instances or savings plans for your long-term resources. They can help lower your costs significantly. Just keep in mind that youโ€™ll be committing to a certain capacity for usually one or three years. Itโ€™s worth discussing with your team if you expect to run these services for a while!

!parliament recess: I totally agree with you! It's a solid option if youโ€™re planning to keep your setup for the long haul.

pantry inventory: Yeah, but donโ€™t forget to balance that with the potential for spot instances for any non-critical workloads. It could really help with costs!

Reply to this answer
east.bound.express
Just checking, do you use spot instance nodes for your Kubernetes? They offer significant discounts for compute resources, and you can set them up to use regular nodes if spot nodes are unavailable. Just took a little setup on our end, but now most of our non-production workloads run on them!

stitch+by+stitch: Thanks for the tip! I'll definitely look into spot nodes.

_fuel gauge: I'd recommend checking the affinity rules too; it helps manage this a lot better.

Reply to this answer
~602 pantry
Have you tried using the Azure Cost Management tool? It gives some good recommendations for cost savings. It also suggests using reserved instances and leveraging Azure Hybrid Benefit where applicable.

~later in the session: Yes! I had a look at it recently, and after making a few changes, it mostly only suggested reserved instances for us.

clover-and-grass: Totally! That tool is a lifesaver for keeping track of expenses.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions