Module 04 · DevOps · One machine, one proxy, one bucket · about 20 min to read
Continue where you left off ×
EC2 & Instances, what you are actually renting
EC2 & Security Groups · Open board
The board this lesson explains: an instance, its security group, and the room you are actually renting.
Boards: VMs, Bare Metal & SSH · EC2 & Security Groups
Companion: the firewall half of this board is Security Groups vs Network ACLs : this note stays on the instance itself.
Before you start. A virtual machine is a slice of a real computer that answers every
command as if it owned the whole thing. This lesson is about how thin that illusion
actually is, what happens the moment you forget it is a slice, and nothing more is assumed
than that.
The idea in 30 seconds
An instance is a rented slice of somebody else’s computer, lifecycle not fully yours.
The hypervisor is the software front desk deciding who gets how much of the real machine.
A vCPU is not a dedicated worker, on most families, two are one core doing two shifts.
A reboot keeps your room. A stop and start can move you to a different one, disk and all.
The metadata service hands a role’s credentials to anything asking from inside the room -
including your own buggy code, tricked into asking on an attacker’s behalf.
Session Manager removes the lock instead of guarding it harder: no port, no key, no
offboarding list kept by hand.
Read the story
Lesson 32 of 70 in DevOps
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year .
See plans Already a member? Sign in
Or start free : a free account opens lessons 2 and 3 of every track.
In this lesson The room that isn’t yours 2003: the hypervisor, a front desk built out of software 2006: the room you rent, and the worker that isn’t quite a worker The night your room changes floors The intercom nobody has to sign for The key under the mat, or a call to the front desk The boundary: tenancy and the escape hatches Families are a shape choice, size is an amount choice T instances: earn, spend, and the bill or the cliff Lifecycle, exactly IMDSv2, precisely Getting in, precisely Terms it explains: hypervisor, instance, vCPUs, Reboot, instance store, metadata service, Session Manager, (general purpose),, (generation),, 2xlarge, baseline, Standard mode, throttled to baseline, Unlimited mode, never throttled, billed for them, `CPUCreditBalance`, Kept, Stop / start, No, Lost, Changes, Hibernate / start, Restored, Terminate, Hibernate, `PUT`, custom request header, IP hop limit, unlimited, surplus credits, same physical room, `.metal`, custom header, hop limit, out, tenancy, Metadata options, Connect → Session Manager.
Review DevOps
Mark as read Saved in this browser, and to your account when you sign in.