How to Monitor the Hidden Costs of Cloud Hosting When Scaling Up Your Cloud Infrastructure


How to Monitor the Hidden Costs of Cloud Hosting When Scaling Up Your Cloud Infrastructure

While there are plenty of reasons to move your software solutions to the cloud (digital transformation being just one of them), an important aspect that can often prove challenging to customers is the industry’s apparent failure to come up with a simple, unified pricing system — a problem which regrettably leaves many customers in the dark. This cloud hosting cost limbo, so to speak, means clients may be unaware of the actual extent of their cloud expenses, being met with unexpected charges only weeks after they’ve completed their move.

In reality, however, without adequate preparation, migrating to the cloud may be even more expensive than your current on-premise infrastructure.

So to help shed some light on this subject, today, Software Planet are presenting readers with a few invaluable suggestions to ensure our customers make the switch without a single fuss or hitch.

What are the main costs of cloud hosting?

When examining cloud hosting services, it is crucial to have a fact-based and well-rounded current understanding of the scale of your existing day-to-day IT operations. For this reason, we recommend performing an audit of your in-house infrastructure, as this not only should reveal a detailed breakdown of your local expenses but also how these costs will be likely to change when migrating to a cloud environment.

On that note, by the way, in order to generate the most accurate results, you will have to take account of both indirect and direct expenses:

Direct expenses:

As the name implies, so-called direct expenses should be the easiest costs to calculate, as they will always hit you directly on your business’ balance sheet. These

encompass both hardware and software expenditures, in addition to your local operational upkeep.

In theory, therefore, to find them, all you have to do is pull up relevant records and invoices: local servers, software licences, maintenance contracts, supplies and materials. At the same time, however, remember to tally up the cost of labour to maintain your database — as well as internet, servers, required staffing and rent.

Indirect expenses:

Though somewhat more complicated to work out, as each and every company will have their own individual circumstances, indirect expenses are just as vital as their straightforward counterparts. Of these, however, the most important factor to bear in mind is the disruption of operations that is caused by server downtime.

So to calculate how long your company can afford to stay offline — and how much money it will probably take to get everything back up and running — you will have to examine log files and consult with employees and customers.

If you are then able to convert that data into a significant loss of revenue, then this too, of course, should be included in your final tally.

Are there tools available to predict cloud hosting costs?

Once all these details have been appropriately gathered, you can easily make use of one of various online calculators to understand your potential cloud expenses and compare them with the status quo. Check them out in our list below!

Cloud server hosting costs: what are some ballpark figures?

But before going down that potentially pricey route, make sure you have explored whatever free options may be available to you. Some cloud providers, for instance, offer so-called “free tiers,” which are totally complimentary packages of services provided on either a temporary or permanent basis — see Amazon and IBM’s free tiers for more information.

Just remember: most businesses will be unable to rely on this freebie forever, as they are likely to exceed their provider’s set limitations.

Cloud providers compared 

For a more comprehensive understanding, in the following presentation, you will find an infrastructure analysis that we conducted for one of our clients. It consists of a cost comparison between our customer’s existing infrastructure and the various alternative options that were available to them at the time:

What are some of the hidden costs of cloud adoption?

Of course, it is never just as simple as a single magical calculation. Because transparency policies can vary widely between cloud providers, there is a number of hidden expenses that cloud adopters should be made aware of. So with this in mind, in the list below, we have gathered some classic examples pertaining to Amazon AWS specifically:

  1. While all incoming traffic is free, any outgoing data will usually be chargeable. These fees do vary considerably depending on your selected location, so before you settle on a specific region, evaluate how much outgoing traffic your solution is likely to generate and compare your provider’s pricing policy for the available alternative regions.
  2. This factor should also be taken into account when deploying with multi-regional architectures. Although cloud service providers do not normally charge for data transfers held within the same region, they will often bill for cross-regional data exchanges, so make sure that you are prepared for any possible financial implications.
  3. Data transfers within the same region between Amazon SQS and Amazon EC2 should actually be entirely free ($0.00 per GB), but the same between servers that are located in different regions — e.g from US East (Ohio) to UK (London) — will be charged on both sides of the transfer at Internet Data Transfer rates. 
  4. Something similar occurs with the so-called hybrid cloud model, in which your infrastructure elements’ hosting role is divided between two providers. Though as long as they are limited to the same cloud environment, a number of these components will generally be free of charge (i.e. they will only interact with elements from within the same cloud environment), the minute you decide to move one of your components, or replace them with other elements from the other cloud provider, the rest of your elements will no longer be available for free, and you will have to pay for each request or any other incoming traffic. Take Amazon Simple Email service as an example: as long as your main application is hosted by EC2 (which is also an Amazon service), you will receive a monthly allotment of 62,000 free emails.
  5. You should also be aware of I/O Credits and Burst Performance, as as soon as you go over your available I/O Credits, you can expect your disk performance to grind nearly to a halt. Like always with these things, extra credit will require extra money.
  6. So long as your EC2 instance is up and running and you have used the Elastic IP service to assign it to an external IP, you will not be met with any additional charges. However, if you fail to assign it to an IP address or choose to stop the instance altogether, Amazon will then charge you for holding onto the IP for you. So stay vigilant!
  7. Similarly, if you no longer require a service, be sure to suspend it. Otherwise, your cloud provider might end up charging you for it anyway! Amazon Elastic Load Balancers (ELBs), for example, may be paired with Free Tier instances for free, but if you stop these instances and leave ELBs assigned to no servers, you will also be billed for maintaining idle ELBs.
  8. And finally, sometimes, the devil really is in the details. Just take a look at the pricing charts for Amazon S3, one of the company’s leading cloud storage services:
  • Though the Standard tier comes in at $0.023 per GB of stored data, their Standard-Infrequent Access (SIA) tier is considerably cheaper, at $0.0125 per GB.
  • In the second case, files are accessible with the same speed and parameters as what is found in the Standard package. The main difference, however, is that with SIA charges, you will also have to pay for a data retrieval fee. What’s more, depending on your tariff, a number of data return requests might also be charged differently.
  • Take some time to familiarise yourself with the S3 One-Zone Infrequent Access case above. Again, it is certainly cheaper ($0.01 per GB), but this option may also be significantly less reliable, as all data will be stored within a single availability zone. By contrast, any other option will keep your data in at least 3 zones at the same time. These zones are physically distant, across an entire AWS Region, which serves to greatly increase the resilience of your applications.
  • And beware of other nuances of “Infrequent Access” tariffs!
  1. Files smaller than 128KB will be charged as 128KB.
  2. The file storage period cannot be shorter than 30 days. For this reason, even if you delete your files, you will still have to pay for them as if they were kept online for 30 days.

This extreme complexity in billing models appears to be an unwanted side effect of the added flexibility of services. Still, to avoid any backlash, cloud providers do still attempt to educate their customers by enumerating pitfalls in a number of online resources. See Amazon’s Avoiding Unexpected Charges for more on this critical subject.

Can I switch between cloud providers?

When it comes to cloud expenses, that’s really all there is to it! 

If, however, for whatever reason at all, you’re already on the cloud and would now like to switch providers, keep in mind that in spite of what some cloud players may say, it is not always possible to ensure compatibility. This tends to be the case when making use of exclusive features, so if your business falls into this category, your software may require changes before initiating the migration process. 

In addition, make sure that you are well aware of the so-called “vendor lock-in” trap, which you will find in various products such as DynamoDBAWS CodeStar, and AWS Elastic Container Service.

Why should I move to another cloud provider?

Lastly, if up until now, you had never really contemplated venturing beyond your existing cloud provider, some reasons for considering a switch could be any or all of the following:

  • Your client’s systems or third-party partners are tightly linked to a particular vendor, so moving your infrastructure to the same cloud environment could potentially improve interoperability.
  • You could get a better deal with another cloud service provider. As with every other market player, cloud providers are always striving to increase their client base. So keep an eye out for any offers, as sometimes — if you are lucky — they may just justify the actual cost of moving.
  • Not all cloud providers are created equal. If a particular provider has something unique to offer that will also, in turn, help your business to thrive, this could turn out to be a very worthwhile trade-off indeed: your loyalty in exchange for a substantial technological advantage. 

How can I get started with cloud migration?

Phew! Daunting though it all may seem, by taking stock of your current operations and preparing your company with the right amount of research, you can escape the cloud hosting cost limbo and avoid any ungodly bills. In all of these things, of course, SPG are more than happy to help!

Related Stories