aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • Computing
  • Design
  • Engineering

Solving The Serverless Cloud Cost Conundrum

  • aster.cloud
  • April 24, 2023
  • 4 minute read

The CNCF 2022 Annual Cloud Native Survey reports a significant bump in serverless adoption. Enterprise cloud cost optimization practices must keep up to keep cloud spending in check.

Serverless computing adoption soared in 2022, according to the 2022 CNCF Cloud Native Survey. With this growing popularity comes the potential risk of increasing cloud spending unless enterprises take a proactive approach to serverless costs through strategy, optimization, and monitoring.


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

Here are some tips on how to prepare your development team to approach serverless cloud costs proactively and not reactively after your CFO opens the first cloud bill after your serverless project goes live.

Learn the pricing models of the major cloud service providers

Choosing the right serverless computing solution starts with your cloud service provider (CSP). Even then, serverless will take you to a new pricing model that your team needs to learn. Each of the major CSPs offers serverless computing with its own pricing model. For example, Amazon Web Services announced tiered pricing for AWS Lambda, their serverless compute offering. When news like that drops, it’s often a signal to refresh yourself on serverless pricing models.

Institute efficient coding practices on your serverless projects

Introducing serverless computing into your cloud technology stack is an excellent time to review your organization’s coding practices. Instituting efficient coding practices on your serverless development projects is one of the first and most important steps you can take as part of your serverless computing cost optimization initiatives. Coding practices that help lower serverless computing costs include:

  • Minimizing the size of the code
  • Using optimal libraries
  • Optimizing function performance
Read More  Build A Chat Server With Cloud Run

Right-size functions starting at the design phase

Overprovisioning memory and CPU allocation are two culprits often found behind serverless computing cost overruns. When you execute a serverless function in your cloud application, your CSP allocates resources according to the function’s configuration. Then when billing time comes around, your CSP bases your billing on the amount of resources your application consumes.

It makes good business sense to spend the extra time during the design phase to determine the appropriate amount of resources that each serverless function requires, so you’re minimizing costs.

Use compute only when necessary

Train your cloud developers to use compute only when necessary, advises CloudZero. They give the example of using step functions to call APIs instead of Lambda functions, meaning you only pay for the step functions.Nominations are open for the 2024 Best Places to Work in IT

Set and track relevant serverless cost KPIs

The major CSPs and cloud management platforms include key performance indicator (KPI) monitoring dashboards of one form or another. You can also use observability tools, such as Datadog, for KPI monitoring. Monitoring your serverless KPIs should figure prominently in your project and deployment plans.

Core to managing and tracking serverless costs is embracing KPIs including:

  • Cost per execution. This metric reflects the average cost of executing a single function one time. You calculate cost per execution by dividing the total cost by the number of function executions. Tracking this KPI is essential because it identifies which functions are the most expensive to run and require optimization to reduce your cloud costs.
  • Function duration. The duration of function execution is an important KPI to track, as longer function execution times mean higher costs. Analyzing this metric helps identify which functions take too long to execute and require optimization to achieve further cost savings.
  • Idle time. This may seem like an innocuous KPI to track, but your CSP still bills you when a serverless function is running but not performing any useful work, such as when waiting for input or output. Reducing idle time in your serverless functions is another crucial tactic for optimizing resource utilization while lowering your cloud spend.
Read More  Benefits And Challenges Of DevOps

Memory usage, CPU usage, number of invocations, and error rate also contribute to higher cloud costs, and you should monitor them accordingly. Factor in time to analyze for trends and make it a point to discuss serverless cloud costs in your project reporting because it can help everybody learn how to make more efficient use of the cloud.

Play full court when it comes to cost monitoring and alerts

Most likely, your organization’s cloud FinOps expertise and practices are still in growth mode. If so, adding serverless computing to your technology stack can raise a new specter of cloud spending concerns, making a full-court approach to managing serverless cloud costs a must. Here are some tips to make that happen:

  • Support the learning curve of your cloud team by doubling down on the analysis of your billing and usage reports, at least during your pilot serverless computing projects.
  • Automate cost management practices when feasible but don’t treat automation as a one-time, “set it and forget it” event. Cost management of your first serverless projects is bound to be a learning process for developers and FinOps team members alike. Embrace iterative improvement.
  • Implement cost monitoring and alerts over your serverless computing projects early in the project lifecycle. You can use tools such as AWS Cost Explorer to monitor your serverless costs directly, and set alerts for when your serverless costs exceed budget. Expect to spend some time iterating these alerts to ensure that your teams are made aware of unexpected usage spikes or application inefficiencies that drive up costs unexpectedly.
Read More  Microsoft Build 2019 | Fundamentals of Kubernetes on Microsoft Azure and the road ahead

Consider using a specialized serverless cost optimization tool

Consider upgrading to a serverless cost optimization tool as part of your overall commitment to serverless computing. A new class of cloud optimization tools focuses on the optimization of serverless costs. Examples include Epsagon, IOpipe, and Lumigo, which use machine learning algorithms to analyze your usage patterns and recommend further optimizations your developers can make to your serverless computing application to help reduce costs.

The rollout of serverless computing can add another level of complexity to your overall cloud cost optimization efforts. However, it doesn’t have to pose a cost management conundrum or shock the CFO with a skyrocketing cloud bill. If your teams are proactive and put the proper tools and processes in place, you can introduce serverless cost control into your cloud cost optimization program as smoothly as serverless compute slips into your cloud tech stack.

Such proactivity will ensure the introduction of serverless into your cloud tech stack sets back your cloud cost optimization initiatives.

By: Will Kelly
Originally published at InfoWorld

Source: Cyberpogo


For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

aster.cloud

Related Topics
  • Design
  • Serverless
  • Serverless Computing
  • Software Development
  • Strategy
You May Also Like
Getting things done makes her feel amazing
View Post
  • Computing
  • Data
  • Featured
  • Learning
  • Tech
  • Technology

Nurturing Minds in the Digital Revolution

  • April 25, 2025
View Post
  • Computing
  • Public Cloud
  • Technology

United States Army Enterprise Cloud Management Agency Expands its Oracle Defense Cloud Services

  • April 15, 2025
View Post
  • Engineering
  • Technology

Guide: Our top four AI Hypercomputer use cases, reference architectures and tutorials

  • March 9, 2025
Microsoft’s Majorana 1 chip carves new path for quantum computing
View Post
  • Computing
  • Technology

Microsoft’s Majorana 1 chip carves new path for quantum computing

  • February 19, 2025
View Post
  • Computing
  • Engineering

Why a decades old architecture decision is impeding the power of AI computing

  • February 19, 2025
CES 2025: Intel Shows Off Its AI Tech
View Post
  • Computing
  • Technology

CES 2025: Intel Shows Off Its AI Tech

  • January 23, 2025
View Post
  • Engineering
  • Software Engineering

This Month in Julia World

  • January 17, 2025
View Post
  • Engineering
  • Software Engineering

Google Summer of Code 2025 is here!

  • January 17, 2025

Stay Connected!
LATEST
  • college-of-cardinals-2025 1
    The Definitive Who’s Who of the 2025 Papal Conclave
    • May 7, 2025
  • conclave-poster-black-smoke 2
    The World Is Revalidating Itself
    • May 6, 2025
  • 3
    Conclave: How A New Pope Is Chosen
    • April 25, 2025
  • Getting things done makes her feel amazing 4
    Nurturing Minds in the Digital Revolution
    • April 25, 2025
  • 5
    AI is automating our jobs – but values need to change if we are to be liberated by it
    • April 17, 2025
  • 6
    Canonical Releases Ubuntu 25.04 Plucky Puffin
    • April 17, 2025
  • 7
    United States Army Enterprise Cloud Management Agency Expands its Oracle Defense Cloud Services
    • April 15, 2025
  • 8
    Tokyo Electron and IBM Renew Collaboration for Advanced Semiconductor Technology
    • April 2, 2025
  • 9
    IBM Accelerates Momentum in the as a Service Space with Growing Portfolio of Tools Simplifying Infrastructure Management
    • March 27, 2025
  • 10
    Tariffs, Trump, and Other Things That Start With T – They’re Not The Problem, It’s How We Use Them
    • March 25, 2025
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    IBM contributes key open-source projects to Linux Foundation to advance AI community participation
    • March 22, 2025
  • 2
    Co-op mode: New partners driving the future of gaming with AI
    • March 22, 2025
  • 3
    Mitsubishi Motors Canada Launches AI-Powered “Intelligent Companion” to Transform the 2025 Outlander Buying Experience
    • March 10, 2025
  • PiPiPi 4
    The Unexpected Pi-Fect Deals This March 14
    • March 13, 2025
  • Nintendo Switch Deals on Amazon 5
    10 Physical Nintendo Switch Game Deals on MAR10 Day!
    • March 9, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.