Editor’s Note: As of January 2022, iland is now 11:11 Systems, a managed infrastructure solutions provider at the forefront of cloud, connectivity, and security. As a legacy iland.com blog post, this article likely contains information that is no longer relevant. For the most up-to-date product information and resources, or if you have further questions, please refer to the 11:11 Systems Success Center or contact us directly.
One of the challenges of moving from an on-premise data center into the cloud is capacity planning. Common elements monitored on-premise for capacity planning include the utilization of CPU, RAM, storage, and network. At 11:11 Systems, our 11:11 Cloud billing is also based upon the consumption of CPU, RAM, storage, and network.
On-premise, it is common for network utilization to be measured in the network throughput, or megabits per second (Mbps). When your network does not have sufficient throughput to support the application in your data center, the result is network congestion. Network congestion can lead to poor application performance, end-user frustration, and even application outages.
One of the advantages of moving your applications into the 11:11 Cloud is that you get to take advantage of a reliable, high-performance data center network with ample spare throughput both within the data center network and to the internet. We want you to be able to experience the benefits of our amazing network. So, rather than limit your throughput to some contracted level of bandwidth like a cable company might, we decided to recoup the costs for our network by measuring gigabytes (GB) transferred to and from the internet over the month.
Internal communication between your VMs within the 11:11 Cloud is included as part of the service. Data transfer to and from the internet is the only bandwidth that is measured for billing. When planning for running your applications in the cloud, all you need to do is estimate what your needs are to get an average monthly throughput for your internet connection and apply some math to convert that number into an estimated network consumption value.
In addition to the table I provide here, I explain the math behind my calculations below.
Average Monthly Throughput (Mbps) Expected Monthly Consumption (GB).
1 Mbps 329 GB
5 Mbps 1643 GB
10 Mbps 3285 GB
20 Mbps 6570 GB
40 Mbps 13140 GB
100 Mbps 32850 GB
Here is a spreadsheet formula you’re welcome to use which, given the throughput value (in cell A1) in megabits per second, converts the value to gigabytes per month:
=ROUNDUP(A1 * (((((60 * 60) * 24) * 365) / 12) * (10^6)) / (8 * (10^9)), 0)
Allow me to explain the formula and values in the table above. The expected monthly consumption value comes from using the throughput value in megabits per second (Mbps) and converting that value to gigabytes (GB) transferred over a month. For all calculations we’re using the standard definitions of the mega and giga prefixes (e.g. 1 megabit is 1,000,000 bits, 1 gigabyte is 1,000,000,000 bytes), and 1 byte is equal to 8 bits.
Because months can have 28, 30, or 31 days, I decided to calculate the annual consumption and divide by 12 to get a monthly value. I ignored leap years in this calculation as the extra day did not add a noticeable difference to the final value. Finally, all consumption values are rounded up to the nearest whole number.
Start with determining the number of seconds in a month:
60 seconds per minute
× 60 minutes per hour
× 24 hours per day
× 365 days per year
÷ 12 months per year
= 2,628,000 seconds per month
Next, calculate the bits per gigabyte:
1,000,000,000 bits per gigabit
× 8 bits per byte
= 8,000,000,000 bits per gigabyte
Convert the throughput from megabits per second into bits per second:
average throughput (megabits per second)
× 1,000,000 bits per megabit
= average throughput (bits per second)
Now we know how many bits are passing through the network every second. Multiply by the number of seconds in a month so we know how many bits would pass through the network each month:
average throughput (bits per second)
× 2,628,000 seconds per month
= consumption (bits per month)
Finally, we convert the bits per month value into gigabytes per month so the number is more reasonable:
consumption (bits per month)
÷ 8,000,000,000 bits per gigabyte
= consumption (GB per month)
The final value we get out of the calculations is the estimated monthly bandwidth consumption. It’s useful whether you are trying to estimate a pay-as-you-go price or come up with a good starting point for reserving network resources.
Looking for a cloud service that provides straightforward, predictable pricing combined with visibility into your cloud costs and billing through an intuitive console? Check out our pricing and contact us so we can show you how.