Get your genomics & big data analysis 90% cheaper over AWS through spot instances

On paper, cloud computing is a relatively straightforward model which allows access to compute and storage resources. However, the reality of cloud pricing can be quite complex. Have you ever looked at the long list of instances and pricing associated to each? Can you come up with the price of a cloud instance if you are only given a certain CPU and memory requirement? Probably not.

spot1.png

Let’s be realistic, to come up with a price you would have to go through an extensive list of instances and filter the ones that have certain requirements. Although you might find multiple instances that suit your needs in this filtered list, you will [most probably] select the cheapest one and go on to making scientific magic happen.

If you decide to go for some seriously big data workloads, you might end up having to select big instances with more CPUs and more memory. The problem is that prices go up considerably: big machines such as x1.16xlarge or x1.32xlarge cost around $16/hr and $32/hr, respectively. And if you’re planning long running analyses, these prices become prohibitive. To go easy on your wallet, you may want to consider using reduced cost instances, like spot instances.

If you thought cloud pricing was complex, spot instances pricing is even more convoluted. This service offers the cloud users excess capacity with large discounts. For instance, in the example below, for an instance type of x1.32large, we see a reduction of 75% in price through time. Although spot instances can reach up to 80% of initial discounts, management of the instances can be quite tricky.

spot2.png

The main issue with discounted instances is that they are subject to price fluctuations that depend on both market availability and current bids in the market. In the end, you are not the only bidder in the market, which can affect your chances of getting the exact machine you want.

In the best case scenario, if you do manage to get a hold of an instance you desperately need, you can end up losing it at any time. This happens if the market availability changes, or if your bid gets superseded due to price increases. If you do lose an instance, you will receive a notification letting you know that your resources are going down.

And if that wasn’t enough, cloud providers, do not give you enough information to make predictions of availability. Currently, you are provided with dates, instance types, availability zones and market prices along intervals that span 90 days. With all that information, it is up to the user to investigate and draw their own conclusions on patterns to optimise deployments…and not whittle away while doing so.

Although spot instances can be a hassle to manage, especially in nail biting deployment scenarios where you either need to get your job done fast or need a highly available service, they are worth the trouble and headaches as they save you a considerable amount of money. Ultimately, cloud users looking to benefit from the spot instance market have to adapt all their applications to take into account the market complexity.

At Lifebit, we have always been conscious of how much big data workloads cost. In order to address these issues, we adapted our system to work in sync with reduced costs instances. Besides adapting our internal tooling, we also provided a system that handles all possible disaster scenarios and allows our team to relax and forget about rushed deployment, monitoring and scaling.

spot4.png

Once we solved our own issues with spot instances, we decided to be considerate and offer these functionalities to users 🙂 . Through Deploit, users can throw their big data pipelines into our system and it will take care of all the provisioning, maintenance, and scaling while users can sit back and enjoy their coffee. The user only needs to select a group of reduced cost instances that match their resource needs, and the pipeline is ready to go without any fuss.

spot5.png

Hopefully, navigating through spot instance territory will no longer be frightening with our new Deploit functionalities.

You’re welcome. Drop mic


We are still only beginning and we have big plans for the future! Don’t miss a thing and let us keep you updated on our upcoming posts by signing up to our Newsletter or by visiting us on TwitterLinkedIn, and Facebook.

We’re also actively looking for great engineers and bioinformaticians who want to help us shape Lifebit – if this is something you’d be interested in, we’d love to hear from you: hello@lifebit.ai.

Comments are closed.

Up ↑

%d bloggers like this: