VOOZH about

URL: https://thenewstack.io/tricks-for-cloud-cost-optimization/

⇱ Tricks for Cloud Cost Optimization - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-03-14 10:00:18
Tricks for Cloud Cost Optimization
contributed,
Cloud Services

Tricks for Cloud Cost Optimization

Cloud cost optimization (CCO) is a technique of running cloud native applications effectively, at minimal possible cost, without affecting the health of the services.
Mar 14th, 2022 10:00am by Pavan Belagatti
👁 Featued image for: Tricks for Cloud Cost Optimization
Feature image via Pixabay.
Pavan Belagatti
Pavan Belagatti is a global DevOps influencer, technology writer and storyteller.

Just like there are best practices for using cloud native tools like Docker, Kubernetes, Terraform, Helm Charts, etc., there are techniques to reduce cloud spending on cloud computing resources. But unfortunately, one of the most common mistakes that companies make is not paying close attention to how much they spend on their cloud resources. If you don’t have a firm grip on your cloud spending, it will be difficult for you to optimize them.

Cloud cost optimization (CCO) is a technique of running cloud native applications effectively, at minimal possible cost, without affecting the health of the services. In layman’s terms, it is continuously delivering value with the effective utilization of cloud resources. CCO requires a well-organized strategy, techniques and a robust solution that can let your engineering team know the granular details about the costs involved in running your services.

Cloud cost optimization has been the top priority of most organizations over the last few years, evident from Flexera’s state of the cloud report 2021.

👁 Image

Here are some suggestions that will help you reduce your cloud costs.

  • Choosing the right instances is a good practice. Most companies often choose the wrong instance type for their application, which skyrockets their cloud spending. This happens when there is no strategy to reduce cloud usage. It is highly advisable to know about the various instance types offered by the cloud service provider before deploying your service. Rightsizing your resources is essential. Amazon Web Services has more than 300 instance types to offer. The instance should be selected depending on the application and business needs.
  • Spot instances can play a vital role in reducing your cloud spending. Spot instances are a cloud’s spare computing resources/capacity offered at a discount by cloud providers such as AWS, Azure and GCP. With spot instances, reliability is not guaranteed — the cloud provider can interrupt these services anytime — but these can be used for batch processing and many other workloads. AWS calls it as spot instance, Azure named them spot VMs, and GCP calls theirs a Preemptible VM instance.
  • Setting up budgets is crucial when you’re new to the world of cloud computing. Your monthly budget will depend on your needs. If you only need email hosting, then your monthly budget will be much lower than if you were creating a database-driven website with lots of storage. Once you’ve established a budget for yourself and have a strategy in place, it’s time to start optimizing your cost.
  • Employing automation and pay-as-you-go can help save cloud costs. As we know, most of the cloud providers have a pay-as-you-go pricing model where you pay for resources only when you need them. Also, by employing infrastructure as code (IaC) and autoscaling approaches, you can automatically spin up resources when you need them and shut them down when you don’t.
  • Switching off idle resources is a fundamental, but significant practice to save money on your cloud bills. One major contributor to overspending is idle and unallocated resources. Fortunately, services like Harness Intelligent Cloud AutoStopping Rules can manage your idle resources dynamically and automatically. They will turn off your resources when they are not in use and turn them back on when you require them. Intelligent Cloud AutoStopping by Harness helps to manage your resources automatically to ensure that they run only when needed, never when idle.
  • Developing a cloud spend and cost awareness culture within the organization can help the engineering leaders and the developers understand their own cloud spend. Training and workshops will help everyone become aware of healthy cloud resource utilization and best practices to follow. Giving special attention to weekly or monthly reports on the cloud spend data can help teams get organized and see what mistakes they are making and how they can avoid them.
  • Resource consumption limits and alerts can help you identify overspending. For example, while employing Kubernetes for your application deployments, you can specify the resource limits in the deployment YAML file. Also, Harness Cloud Cost Management (CCM) offers recommendations for your Kubernetes clusters by showing resource optimization possibilities that reduce your spending.

Conclusion

As more and more companies adopt cloud services and embrace cloud native techniques to release code fast and scale quickly, it becomes the responsibility of every individual to control their costs and follow best practices. Following these simple suggestions should help you reduce your cloud spending in no time. I hope this article helps you set up a strategy to optimize your cloud costs.

TRENDING STORIES
Pavan Belagatti is a global DevOps influencer, technology writer and storyteller.
Read more from Pavan Belagatti
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Docker.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.