What Is Amazon EC2? Cloud Computing in Plain English
Welcome back to our free AWS learning series. Last stop we rented a warehouse for files — Amazon S3, the storage service — and today we rent the thing that was missing: the computer itself. Amazon EC2 (Elastic Compute Cloud) lets you rent a computer inside Amazon's data centres by the hour — you pick the size, pick the operating system (Linux or Windows), and about a minute later you're holding the keys to a machine you control completely over the internet. Switch it off, and the meter stops. That's the whole product. It launched in 2006, the same year as S3, and it is the cloud computing workhorse a very large share of the websites and apps you used today are quietly running on.
Everything else in the EC2 universe — instances, AMIs, instance types, Spot pricing, security groups — is detail around that one idea: a computer you rent like a taxi instead of buying like a car. As usual, Jake and Ethan will do the explaining, because most EC2 introductions assume you already run three data centres, and you shouldn't need to.
The $1,000 Server Quote on Jake's Counter
Since the pendrive funeral, Jake has become dangerous — he has ideas now. The latest: his billing and inventory software should be reachable from home, and maybe customers could book repair slots on a simple page instead of calling. A local vendor heard all this, nodded gravely, and left a quote on the counter: $1,000 for a tower server, plus a battery backup, plus an annual maintenance contract, plus — Ethan's favourite line item — "server table."
Ethan read the quote, put it down, and asked one question: "Where were you planning to keep it?" Jake pointed at the corner. The corner near the water purifier. The same water purifier that has already claimed one pendrive this series. "Right," said Ethan. "Or — hear me out — you rent a computer that lives in a building with backup power, backup internet, backup everything, for about a cent an hour, and the water purifier never gets a vote."
That rental counter is EC2. Let's look at what Jake would actually be signing.
A Computer You Rent Like a Taxi
Strip away the branding and EC2 is a form with three questions: what size computer, running what, and where? Answer them, click Launch, and somewhere in an Amazon data centre a slice of a huge physical server is carved out, dressed up as your personal machine, and handed to you — typically in under a minute. The vocabulary, once again, is smaller than it sounds:
- Instance — one rented computer. It's virtual (a share of a bigger physical machine), but from the inside it behaves exactly like a real one: processor, memory, disk, operating system, full administrator rights. Yours until you return it.
- AMI (Amazon Machine Image) — the template it starts from, mainly meaning: which operating system. Ubuntu, Amazon's own Linux, Debian — or Windows Server, fully licensed. Pick from the menu like choosing veg or non-veg; you can also save your own fully-set-up machine as a private AMI and clone it later.
- Instance type — the size, written like
t3.micro. The letter is the family — t and m are balanced all-rounders, c is processor-heavy, r is memory-heavy, g and p carry the graphics cards that machine learning people fight over. The word after the dot is the size: micro, small, medium, large and upward, each step roughly doubling the muscle and the price. Jake needs a micro. Jake will, at some point, be tempted by a large. Jake should not buy a truck to deliver one sandwich. - Region and Availability Zone — same map as last time: a region is the city your machine physically lives in (Virginia, Frankfurt, Sydney, Mumbai), and each region has multiple separate buildings. One instance lives in one building — remember that asymmetry with S3's three-building copies; it becomes important two sections from now.
And the name? Elastic Compute Cloud, because the renting stretches both ways: one machine today, two hundred for the Black Friday weekend, back to one on Monday — and you paid for the two hundred only while they existed. That elasticity, more than any single machine, is the actual magic trick. Companies used to buy hardware for their busiest imaginable day and watch it idle the other 360; now the busiest day simply rents what it needs and gives it back.
"Isn't That Just Web Hosting?"
Jake has seen hosting ads — $2.99 a month, free domain, smiling person with headset — so this was his first objection. Ethan's answer: it's the housing market, and EC2 is one very particular kind of tenancy.
Shared hosting is a furnished room with meals included. Cheap and managed — the landlord patches the software, and in exchange you follow house rules: their software versions, their limits, no strange installations. For a simple WordPress site this is honestly the right product, the same way Google Drive was the right product for syncing documents last time.
EC2 is an empty apartment with your name on the lock. Nobody tells you what to run — any database, any language, any background job, Windows if you want it. Rent is by the hour, and the apartment comes in every size from studio to banquet hall. The price of that freedom is that you are now the maintenance department: updates, security, backups — the landlord supplies electricity and walls, full stop. (The VPS you've seen advertised sits between the two — a small serviced apartment; EC2 is the same idea taken industrial.)
The comparison with the $1,000 tower is even simpler. Buying hardware means guessing today how much computer you'll need for the next five years, paying it all upfront, and hosting the guess next to the water purifier. Renting means changing your mind every Tuesday, for a cent an hour, in a building designed by people whose entire job is keeping machines alive. Own the shop; rent the server.
What It Costs, With the Traps Marked Honestly
EC2 pricing looks like a jungle, but it's three menus and two traps. The menus:
- On-Demand — the taxi meter. Billed per second while the machine runs, no commitment. The smallest everyday Linux machine is about one US cent per hour, which lands around $8 (roughly ₹700) a month if you never switch it off. Windows machines cost more per hour because the Microsoft licence rides along inside the price.
- Reserved / Savings Plans — the yearly lease. Promise AWS one or three years of usage and the rate drops by up to about 70%. Only sensible once you know a machine will genuinely run day and night — which is exactly the machine Jake will have eventually, not the one he's experimenting with today.
- Spot — the off-season wedding hall. Amazon rents its spare capacity at up to 90% off, with the catch written on the ticket: when a full-price customer books the hall, you get a two-minute warning and the machine is taken back mid-song. Brilliant for batch jobs, rendering and experiments that can resume; entirely wrong for Jake's booking page.
New AWS accounts also come with free credits for exactly this kind of experimenting (the old "750 free hours a month" scheme was retired for new sign-ups in 2025 — if an older tutorial promises it, that's why it looks different on your screen). Now the traps, because this blog marks them or it's not this blog:
- The meter runs while you're not looking. An instance you launched and forgot doesn't feel guilt. And here is the distinction that catches nearly every beginner: Stop is pause — the compute charge ends, but the machine's disk is kept for your return, and that disk bills a small storage rent while it waits. Terminate is return-the-keys — machine gone, disk gone (normally), charges gone. The classic surprise bill is a stopped instance whose forgotten disk quietly charged for six months. When an experiment ends, terminate; then glance at the region dropdown to make sure nothing is humming in a city you don't remember visiting.
- The checkout fee, again. Same rule as the warehouse: data flowing into AWS is free, data flowing out to the internet costs real money past a monthly allowance. A small booking page won't notice; a machine serving big video files will. Design so the big files sit in S3 and mostly stay there.
The Doors and the Keys
A computer on the internet gets door-knocks from strangers within minutes — automated scripts try every address, all day, forever. EC2's answer is refreshingly physical. Every instance sits behind a security group: a firewall where every door starts locked, and you open specific ones deliberately — the web doors (ports 80 and 443) for a public site, the admin door only to your own IP address if you can. The famous horror stories are, once again, people propping doors open — "open to the world" on the admin port is the EC2 equivalent of last post's public bucket with a chair against the fire exit.
Getting in yourself works with a key pair: AWS holds the lock, you download the only key — an actual file — when you create the machine. Lose it and even you aren't getting in the front door; guard it like the physical object it effectively is. Linux machines are driven over SSH (a remote terminal — less scary than it sounds, and the AWS console has a connect from the browser button that needs no software at all); Windows machines give you the full familiar desktop through the same Remote Desktop app that already ships with your Windows PC — a genuinely surreal moment the first time: a fresh Windows Server desktop, floating in a browser tab, living in Virginia.
One more honest line, because the furnished-room comparison cuts both ways: on EC2, Windows Update day is your day now. Nobody patches your rented apartment for you. If a machine faces the internet, keeping its software current is part of the rent you pay in attention rather than dollars.
Where Do the Files Go? (The Warehouse Line, Continued)
Remember the rule from last time — operating systems live on drives; files worth keeping live in the warehouse? An EC2 instance proves it. Its disk is a service called EBS (Elastic Block Store) — a fast virtual drive in the same one building as the instance. Quick and faithful, but it is a drive, not a warehouse: one building, one copy by default. The professional pattern is exactly Jake's pattern at the shop now: the machine works on its drive, and everything precious — backups, invoices, uploads — flows to S3, the triple-building warehouse, on a schedule. EBS has enough character — snapshots, sizes, speed grades — that it gets the next post in this series to itself.
And with that, the series map is drawing itself: S3 is the pantry, EC2 is the rented kitchen where you cook yourself, and SageMaker, where this series began, is the ready-made kitchen with the chefs included — under the hood it spins up machines from this very post to do its cooking. AWS has some two hundred services, and a startling number of them are EC2 wearing a costume.
What EC2 Will Not Do for You
Fair warnings, in the spirit of this series:
- It won't manage itself. Updates, security, backups, restarts — the freedom of the empty apartment is also the to-do list of the empty apartment. If you wanted "it just works," shared hosting or a managed product remains the honest recommendation.
- It won't be the cheapest way to host one small blog. A $3 shared plan beats an $8-a-month always-on instance for a simple site. EC2 wins when you need control, odd software, real muscle, or elasticity — not as a default.
- It won't scale by magic. The elastic story — machines multiplying for the Black Friday rush — happens when you set up Auto Scaling and load balancing, which are deliberate lego pieces, not factory settings. One instance is just one computer, and it can be busy like any computer.
- It won't keep your files safe by existing. One instance lives in one building. The drive is faithful, not immortal — the warehouse next door is where keepsakes go, which is why this series taught S3 first.
Try It Yourself in Fifteen Minutes
Nothing here needs to stay theoretical, and the test drive costs effectively nothing with new-account credits. In the AWS console: search EC2 → Launch instance. Name it anything, pick Ubuntu or Amazon Linux from the AMI list, leave the size on the smallest micro offered, create a key pair when asked (download lands in your Downloads folder — that file is the key to the apartment), leave the security group defaults for now, and click Launch instance. Wait for the state to say Running — under a minute — then use the Connect button's browser option, and you're looking at a terminal on a computer in an Amazon building. Type uname -a just to say hello. You have now launched, entered and driven a cloud server, which is more than most people who use the word "cloud" daily can claim — enjoy the legally required chai.
Then terminate it. Instance state → Terminate, confirm, and check the list is empty. That habit — experiment, then leave the room clean — is the entire difference between "AWS is cheap" and the horror stories. Jake's version of the story ends with the vendor's quote in the drawer (the safe one, away from the purifier), a micro instance running his booking page for less than the AMC alone would have cost, and Ethan already sketching next month's invoice-backup flow to the warehouse.
Questions People Actually Ask
What does EC2 stand for?
Elastic Compute Cloud — E, then C twice, so EC2, the same naming joke as S3. Launched in 2006; between the two of them, that one year quietly furnished most of the modern internet.
Is an EC2 instance a real computer?
It's a virtual slice of a bigger physical server, but from the inside it is indistinguishable from a real machine — its own processor share, memory, disk and operating system, with you as full administrator. The physical hardware underneath is Amazon's problem, which is rather the point.
Can I run Windows on EC2?
Yes — official Windows Server machines with the licence included in the hourly price, driven through the Remote Desktop app already on your PC. Costs more per hour than Linux because of that licence, which is also your answer for why the tutorials all seem to use Ubuntu.
How much does EC2 cost per month?
The smallest everyday Linux machine: about a cent an hour, so around $8 (roughly ₹700) a month if it never sleeps. Each size step up roughly doubles it; yearly commitment knocks up to ~70% off. Billing is per second, so a machine used two hours a week costs two hours a week.
Is EC2 free to try?
New AWS accounts come with free credits meant for exactly this experimenting — the old "750 free hours a month" scheme became a credit system for new sign-ups in 2025. The fifteen-minute test drive above costs effectively nothing, provided the story ends with Terminate.
Stop or Terminate — which one should I click?
Coming back tomorrow? Stop — compute billing pauses, though the kept disk charges a small rent. Done for good? Terminate — everything, including charges, ends. Forgotten stopped instances with billing disks are the single most common beginner bill surprise, so when in doubt, terminate and glance at the region list.
What is a Spot instance?
Amazon's spare capacity at up to 90% off, rented with the wedding-hall clause: a full-price booking gives you two minutes' notice to pack up. A gift for batch jobs and experiments that can resume; a trap for anything that must not die mid-task.
EC2 or S3 — which one do I need?
Wrong question, honestly — they're departments, not rivals. S3 stores files and cannot run programs; EC2 runs programs and shouldn't be trusted as the only home of precious files. Almost every real setup is both: the app on EC2, the keepsakes in the warehouse.
Do I need EC2 to learn AWS?
You need to understand it more than run it daily — EC2 is the vocabulary the rest of AWS is explained in. One launch-connect-terminate lap teaches regions, security groups, key pairs and billing in a single sitting, which is why it's the classic first hands-on exercise — including for the certification exams above.
What's next in this series?
The drive we kept gesturing at: EBS, the virtual disk attached to every instance — snapshots, speed grades, and why one building's faithful drive still isn't a warehouse. The pantry, the kitchen — next, the shelves inside the kitchen.
If You're Here for the Certification
A reminder of where this road leads, since this series began life as our AWS certification learning series: if the AWS Certified AI Practitioner or the AWS Certified Machine Learning Engineer – Associate exam is on your list, today was quietly one of the highest-yield stops. Instance families (that g/p graphics-card line), On-Demand versus Reserved versus Spot pricing, and the "training jobs are interruptible, endpoints are not" trade-off are exam staples — AWS certification questions love asking which pricing model fits which machine learning workload, and you can now answer from a story about a wedding hall instead of a memorised table. No paid AWS training course required for this layer of it: the pantry, the kitchen, and an afternoon of actually launching things cover more exam ground than most people expect.
Published August 2026. Part of the free AWS learning series — previous stop: What Is Amazon S3? Cloud Storage Explained in Plain English That's it for now, See you in next post.