- Foundation
- About 13 min
- 5 practice questions
Paying for the cloud: usage, bills and simple cost sums
Read a pay-as-you-use price list, compute a monthly bill from compute, storage and transfer charges, and compare a fixed plan with usage-based pricing.
If something looks wrong, please tell us.
Cloud services are not free just because they are online. Providers charge in different ways, and a small bill-reading skill saves money. All prices in this lesson are invented for practice; real prices differ and change, so never treat them as facts about any provider.
Common ways of charging
- Pay as you go (on demand): you pay for what you use, such as hours of a virtual server or GB of storage per month. Stop using it and the charge stops.
- Subscription: a fixed amount each month or year for a plan with a limit, such as 200 GB of storage.
- Free plan: a small amount of use at no charge, with limits. Going beyond the limit needs a paid plan.
- Data transfer charge: some services charge for data that leaves the cloud, while data coming in is often free.
The three things usually measured are compute (processing time), storage (space kept) and transfer (data moved). A bill is the sum of units used multiplied by the price of each unit.
| Item | Illustrative price | Billed by |
|---|---|---|
| Virtual server | Rs 3 per hour | Hours running |
| Storage | Rs 2 per GB per month | GB kept |
| Data transfer out | Rs 5 per GB after the first 20 GB free | GB above the free amount |
Worked example 1: a server bill
A small team runs a virtual server for 6 hours a day for 30 days at Rs 3 per hour. Hours = 6 x 30 = 180. Cost = 180 x 3 = Rs 540. If it had been left on for all 24 hours, hours would be 24 x 30 = 720 and the cost 720 x 3 = Rs 2,160. Switching off a server when it is not needed saves Rs 2,160 - 540 = Rs 1,620.
Worked example 2: a full monthly bill
A site keeps 120 GB in storage and sends 50 GB of data out. Using the price list above: storage = 120 x 2 = Rs 240. Transfer: the first 20 GB are free, so 50 - 20 = 30 GB are charged, and 30 x 5 = Rs 150. Total = 240 + 150 = Rs 390. Notice that the free allowance applies only to the amount above it; charging all 50 GB would give Rs 250 for transfer and a wrong total.
Worked example 3: fixed plan or pay as you use?
Plan A costs a fixed Rs 130 a month. Plan B charges Rs 2 per GB used. At 50 GB, B costs 50 x 2 = Rs 100, which is cheaper than A. At 80 GB, B costs 160, which is more than A. The break-even point is where both cost the same: 130 / 2 = 65 GB. Below 65 GB, Plan B is cheaper; above it, Plan A is cheaper. So the best plan depends on how much you really use.
Bill = units used x price per unit, added over compute, storage and transfer. Subtract free allowances before charging.
Key takeaways
- Pay as you go charges for use; a subscription charges a fixed amount for a plan.
- Switch off resources you are not using.
- Apply a free allowance first, then charge only the rest.
- Break-even = fixed price / price per unit.
Check your understanding
-
1. A server costs Rs 4 per hour and runs 5 hours a day for 20 days. What is the cost?
- Rs 100
- Rs 400
- Rs 480
- Rs 2,400
Show answer
Answer: B. Hours = 5 x 20 = 100. Cost = 100 x 4 = Rs 400. Rs 480 would assume 6 hours a day and Rs 2,400 assumes 24 hours.
-
2. Storage costs Rs 2 per GB a month and 75 GB is kept. What is the monthly storage charge?
- Rs 150
- Rs 77
- Rs 37.50
- Rs 1,500
Show answer
Answer: A. 75 x 2 = Rs 150. The other values come from adding or dividing instead of multiplying.
-
3. Transfer is free for the first 20 GB, then Rs 5 per GB. How much is charged for 60 GB sent?
- Rs 300
- Rs 100
- Rs 200
- Rs 400
Show answer
Answer: C. Chargeable amount = 60 - 20 = 40 GB. 40 x 5 = Rs 200. Rs 300 charges all 60 GB, which ignores the free allowance.
-
4. Plan A is Rs 150 a month fixed; Plan B is Rs 3 per GB used. At what use do they cost the same?
- 30 GB
- 75 GB
- 450 GB
- 50 GB
Show answer
Answer: D. Break-even = 150 / 3 = 50 GB. At 50 GB, B costs 50 x 3 = Rs 150, which equals A.
-
5. Which habit best reduces a pay-as-you-go bill?
- Leaving every server on so that it is always ready
- Switching off idle servers and deleting unneeded data
- Keeping several copies of the same large file
- Moving data out of the cloud as often as possible
Show answer
Answer: B. You pay for what runs and what is stored, so stopping idle resources and removing unneeded data reduces the bill. The other habits raise it.
Sign in to keep track of the lessons you finish.