DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Deceptive Cloud Efficiency: Do You Really Pay as You Use?

Deceptive Cloud Efficiency: Do You Really Pay as You Use?

One of the praises of cloud computing is its cost efficiency, but are you really saving the money you think you are saving?

Tetiana Fydorenchyk user avatar by
Tetiana Fydorenchyk
·
Apr. 06, 18 · Analysis
Like (6)
Save
Tweet
Share
7.17K Views

Join the DZone community and get the full member experience.

Join For Free

Cloud computing consumption is often compared to electricity usage because both provide resources on demand and offer so-called "pay as you go" models. Unlike cloud computing, though, you don't buy electricity by chunks, guessing the right size in advance, and the bill doesn't double when you use just a bit more power. Cloud computing has been a major technological step for both its ease of deployment and its cost efficiency. One could call it the most disruptive technology of the last decade.

In this time of continual change, the cloud itself is now ripe for disruption. That's because a significant amount of cloud resources are wasted, revealing inefficiency in this oh-so-efficient technology. This particularly applies to cloud computing resources and storage. Many companies don't do routine checks to see how much capacity they are using, so in most cases, they are overpaying for resources that never get used.

When you deploy a particular instance from a cloud vendor, you're given a wide range of virtual machine (VM) sizes from which to choose. For example, below are some of the options from AWS. The same approach is used by Azure, Google Cloud (both of which Jelastic has a technical integration with), Digital Ocean and many others.

The first challenge here is to find the size that is enough for a good performance during an average load and has extra breathing room for scaling inside the machine you use. The second challenge arises when your current VM becomes too little for the project needs and you have to graduate to a higher-powered VM that will usually be twice as large. The problem is that you're likely always over-allocating beyond what you need, especially during low-use or idle times. As a result, you're still paying for these reserved but unused computing resources. When you start growing your infrastructure horizontally— adding more VMs—you compound the problem by having multiple VMs with unused capacity. Wasted resources increase proportionally and, as a result, the efficiency declines even further. The "pay as you go" billing model in cloud computing isn't nearly as flexible as the billing for electricity. You simply cannot order a VM that precisely suits your project requirements at the current moment and scales without extra configurations and migration efforts as the load grows. As a result, you order bigger VMs and continue to pay for unused resources. For example, Google Cloud admits that the problem exists and even tries to provide customers with "hints" when they overallocated. The traffic at AWS, MS Azure and many other clouds is already billed in a "pay as you use" model, so end users do not buy capacity in advance but are charged based on real consumption. This billing approach became possible for the whole platform as a service (PaaS) layer with the introduction of containers, which create more flexibility based on how big your load is at any given moment. During the last three or four years, we have seen a noticeable shift to container technology that added game-changing granularity for resource slicing. As a result, each container can be scaled vertically on the fly taking into consideration the load changes at the current moment. So you pay for actual consumption and don't need to make complex reconfigurations to align with project growth.

Even so, there is no active movement to the "pay as you use" model yet, as most vendors do not offer pure container-based clouds. If you host containers inside a VM, you are still stuck to its size and pay for the unused resources. Obviously, your spend highly depends on the chosen cloud vendor, what resource unit is taken as a scaling step, the availability of automatic scaling, etc. So to reach maximum efficiency, ask your cloud vendor to shift to a "pay as you use" pricing model with tiny scaling steps and smooth resizing based on the load in order to not reserve extra resources beforehand without real need.

Today, IT is being asked to continually do more with less, and cloud efficiency, once disruptive, is now being disrupted. You have a right to demand changes from cloud vendors. The success of containerization is more than a current opportunity. It's a wake-up call that new models of cloud computing continue to emerge, disrupting what currently seems like the most cost-efficient approach. Ultimately, that is good news.

Find out more details about "pay as you use" pricing model and try out the efficiency in practice with Jelastic PaaS.


Cloud computing Efficiency (statistics) Virtual Machine

Published at DZone with permission of Tetiana Fydorenchyk, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Comparing Map.of() and New HashMap() in Java
  • Building a RESTful API With AWS Lambda and Express
  • [DZone Survey] Share Your Expertise and Take our 2023 Web, Mobile, and Low-Code Apps Survey
  • Spring Cloud

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: