DigitalOcean Pricing helps you calculate how much it will require for you to run your app on DigitalOcean. DigitalOcean is one of the most popular cloud hosting services and this bootstrapped startup has really given a touch competition to AWS in the cloud hosting era.
When the cloud hosting arrived on the horizon with Amazon AWS leading the pack, the hosting industry saw a complete overhaul in how the user was being charged for hosting services. AWS pricing was a complete game changer and the charging moved from flat fee to being charged on pay per use basis. This meant that instead of being charged flat for a month, the user was now charged hourly and billed as per the number of hours and resources used.
As simple as this may sound, the pricing based on resources is a complex ask and when you host your site on a cloud hosting provider, you must know the resources for which you are being charged, otherwise be prepared for a surprise in your hosting bill for sure !!
In this post, we look at how to calculate the cost of hosting a web application on a DigitalOcean Hosting. We analyse and account for all possible kind of resources that DigitalOcean Charges for.
The Server: 5USD per month to 1680USD per month
Just like your typical hosting provider, the DigitalOcean servers(also called as droplets) vary in cost as per the amount of RAM that you want for your application. The pricing is available per hour as well and if you use the drop for lesser number of hours than the hours in a month, you will get charged hourly instead. The month in DigitalOcean is capped at 28 days so in case of months with more than 28 days, you save money due to monthly cap.
As an example, lets say that you launch a 5USD per month droplet. After 10 days, you realise that you dont need this droplet anymore, you can destroy the droplet and be billed only for 10 days hourly instead of 5 USD. However, please note that powering off the droplet doesn’t give you the benefit of hourly billing and you still are being billed even if you power it off. Only destroying the droplet gives you the billing benefit.
SSD Storage : 0.10 USD per GB per month
SSD storage is another parameter that you need to pay for. However, please note that every droplet comes with an intrinsic drive attached with it. E.g a 512MB RAM droplet comes with 30GB SSD block storage attached with it. If you need only that much storage, you wont be charged extra. However, if you need to attach more disks/volumes, you will be charged at 0.1 USD per GB per month of Storage Used.
Load Balancer: 0.03USD per hour
Load Balancers are billed at 0.03USD per hour per month i.e approx 20 USD per month(remember, the billing in DO is capped at 28 days per month .. :)). This requirement however is a requirement with apps that scale to that level. Smaller apps dont need to worry about this cost.
Each of the Droplets comes with sufficient free bandwidth. e.g 512 MB droplet comes with an inbuilt available bandwidth of 1TB transfer(in/out). This should be very much sufficient for a normal app that is hosted on 512MB droplet. Similarly as the size of droplets increase, the available bandwidth also increases. In rare case, you need more data transfer, you can anyways contact support and get additional data transfer at very nominal price.
Auxiliary storage is the storage that is required by your app for storing files that are accessed less frequently, lets say pics in a user gallery or storing different variants of the same image. Such files will lead to a lot of storage requirement and the price of a SSD volume might not justify the price.
In that case, you will need to arrange for slower storage like Amazon S3. If your application has such requirement, please do consider adding this cost as well to your plans.
Thats it to the DigitalOcean Pricing. With that said, DO has one of the most transparent pricing available in the cloud hosting market. Dont ever worry about the pricing on DO atleast. Just go ahead and launch your droplet on DigitalOcean .. 🙂 !!
Do share your experience with DigitalOcean hosting otherwise as well in the comments.