AWS & Cloud Engineering
Roles and STS AssumeRole, including cross-account
A CI job needs production access for twenty minutes. Instead of a key that lives for years, it borrows a role: how the two halves of the handshake work and where they break.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AWS & Cloud Engineering
- Launch templates: repeatable instancesBeginner · 5 min
Six servers launched by hand over a year, no two the same. A launch template turns the click-through into a named, versioned object that a scaling group can reuse.
- IAM policy evaluation: identity, resource, boundary and explicit denyBeginner · 6 min
The role allows s3:GetObject and the request is still denied. Six policy types get a vote, and the error message tells you which one said no.
- Least privilege: from AdministratorAccess to a scoped policyBeginner · 5 min
A role made for a one-day migration still holds AdministratorAccess six months on. A repeatable way to replace it with the permissions the job really uses, without…
- IAM permissions boundaryBeginner · 4 min
IAM permissions boundary sets maximum permitted identity permissions.
- Lambda: triggers, limits and concurrencyBeginner · 5 min
Lambda has no servers to size, so its limits show up as throttling instead. One busy function can use the whole Region's concurrency and make an unrelated payment…
- ECS services: keeping N tasks runningBeginner · 6 min
An ECS service is a promise that four copies of your container stay up, through crashes and deploys. Most outages with it are a broken promise you can read in two…