Cloud Computing for Beginners / Chapter 1 — How to think about the cloud (lessons 1–4) / Lesson 1

The cloud is cheap when there are hours you do not use

Time needed: about 4 min (estimate)

☆ Read later

You can try the opening of this lesson without an account.

What one server of your own costs a month

You hear that moving a server to the cloud will save money, and then the bill goes up.

Let us count what the server of your own actually costs.

It is not just the machine.

Maintenance, electricity, connectivity and labor ride on top — and the labor line here is a conservative two hours a month.

The figures are rough, based on published Tokyo-region prices as of September 2026.

This lesson is arithmetic only, so no AWS account is needed.

Output

$ python3 01_own_vs_cloud.py If you host your own server (per month, rough estimate) Server hardware (depreciated over 3 years) ¥8,333 Maintenance (10%/year) ¥2,500 Electricity ¥3,000 Network line and rack ¥15,000 Ops labor (2 hours/month) ¥10,000 Total ¥38,833

Output

If you rent from the cloud (per month, running 24/7) Instance Hourly rate Monthly (730 hours) ------------------------------------------------------- t3.micro (2vCPU/1GB) $0.0136 $9.93 (approx. ¥1,489) t3.small (2vCPU/2GB) $0.0272 $19.86 (approx. ¥2,978) t3.medium (2vCPU/4GB) $0.0544 $39.71 (approx. ¥5,957) m6i.large (2vCPU/8GB) $0.124 $90.52 (approx. ¥13,578) m6i.xlarge (4vCPU/16GB) $0.248 $181.04 (approx. ¥27,156) c6i.2xlarge(8vCPU/16GB) $0.428 $312.44 (approx. ¥46,866)

Create a free account to keep reading

With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.

Report a problem with this lesson

Log in to send a report.

Keyboard shortcuts

Keys available in a lesson
KeyAction
[ or Alt + ←Go to the previous lesson
] or Alt + →Go to the next lesson
?Open this list
EscClose this list

The keys do not work while the cursor is in a code editor or an input field.