Creating an account and securing the root user

Beginner · 12 min

What an AWS account is a boundary for, the 2025 free plan, why the root user is different, MFA, recovery, and the budget alert to set on day one.

Before thisRegions, endpoints, ARNs and service scope

LearnCantrill · 12 min

Creating an account and securing the root user

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by LearnCantrillReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • An account is the hardest boundary AWS gives you: for permissions, for blast radius, for quotas and for billing. Using several accounts is normal, not advanced.
  • The root user is the email and password the account was created with. IAM policies in the account cannot limit it, so use it only for the few tasks that require it.
  • Secure root with a phishing-resistant MFA method, register a second device, create no root access keys, and use a group mailbox you control as the email.
  • Whoever controls the root email and phone number can recover the account, so protect those as carefully as the password.
  • Since July 2025 new accounts choose a free plan or a paid plan. The free plan lasts six months or until credits run out, then the account closes.
  • Budget alerts warn you, often hours late. They do not stop spending.

What an account is

It is tempting to think of an AWS account as a login. It is closer to a building you rent. Everything you create lives inside it, the bill arrives for the whole building, and nobody outside can walk in unless you deliberately cut a door.

That makes the account the strongest boundary you have:

  • Permissions. By default nothing outside the account can touch anything inside it.
  • Blast radius. A mistake or a stolen credential is contained to that account’s resources.
  • Quotas. Limits are mostly counted per account and Region.
  • Billing. Costs are easy to attribute when each workload has its own account.

So teams use many accounts, at least separating production from everything else. Joining them together is the job of AWS Organizations, later.

Signing up

You need an email address, a phone number and a payment method. Since 15 July 2025, new customers choose between two plans. As of November 2026:

Free plan Paid plan
Credits 100 USD at sign-up, up to 100 more the same
Charges none anything beyond credits
Services a restricted selection all
Ends after six months or when credits run out does not expire

When a free plan ends, the account closes. You have 90 days to upgrade before the content is deleted. Joining an organization also upgrades you to paid automatically. Older tutorials describing a “12 months free tier” are describing the previous scheme.

The root user

The email and password you sign up with form the root user. It is not an IAM user. It owns the account, and IAM policies inside the account cannot take anything away from it. That is why you need it rarely: for things like changing a standalone account’s email, closing it, restoring permissions after an administrator has locked themselves out, or removing a bucket policy that denies everyone.

The core problem is that a credential which cannot be limited is a credential which cannot be contained if stolen. So treat it like the master key in a sealed envelope.

  1. Turn on MFA. AWS requires it for root users; if you haven’t registered a device you are given a short window (the docs say 14 days from first sign-in). Prefer a passkey or security key, because they resist phishing in a way six-digit codes do not.
  2. Register more than one device. Up to eight are allowed. One lost phone should not mean a lost account.
  3. Create no root access keys. A key is a long-lived password that ends up in files. If you truly need root on the command line, aws login gives temporary credentials.
  4. Use a group mailbox on a domain you control, not one person’s address.
  5. Protect recovery. Whoever holds the email and phone can reset everything else. Fill in the alternate contacts for security and billing too.

In an organization you can go further: centralized root access lets you delete root credentials from member accounts altogether, and new member accounts are created without them. Privileged tasks are then done from the management side with short-lived sessions.

Then stop using it

Create an identity for daily work and sign out of root. The recommended route for people is IAM Identity Center, which hands out temporary credentials. An IAM user with a long-lived password is the fallback for small experiments.

A budget before anything else

Cloud bills surprise people because nothing asks “are you sure?” at the end of the month. Create a budget with an email alert on day one. Against a local emulator, the API call looks like this:

aws budgets create-budget --account-id 123456789012 \
  --budget '{"BudgetName":"monthly","BudgetType":"COST","TimeUnit":"MONTHLY",
             "BudgetLimit":{"Amount":"10","Unit":"USD"}}' \
  --notifications-with-subscribers '[{"Notification":{"NotificationType":"FORECASTED",
      "ComparisonOperator":"GREATER_THAN","Threshold":80},
    "Subscribers":[{"SubscriptionType":"EMAIL","Address":"alerts@example.com"}]}]'

This alerts when the forecast passes 80% of 10 USD. Understand what it is not. It is a smoke alarm, not a sprinkler: data refreshes a few times a day, so the warning can arrive well after the money is spent, and nothing gets switched off.

Check your work

One read-only call summarises the state of the account:

$ aws iam get-account-summary --query 'SummaryMap.{RootMFA:AccountMFAEnabled,RootKeys:AccountAccessKeysPresent}'
{ "RootMFA": 0, "RootKeys": 0 }

On a real account you want RootMFA to be 1 and RootKeys to stay 0. (The zeros above come from an emulator with no root user at all.)

About the video

The embed is Adrian Cantrill’s “AWS Accounts: what they are and how to use them”, July 2022, 12 minutes. Its chapters cover what accounts are and their security, as containers for identities and resources and as a boundary for containing damage, which is the mental model this lesson starts from. It predates the 2025 free plan and the newest root controls, so follow the text and current docs for those. I judged it from its description and chapters, since transcripts couldn’t be fetched. The AWS video in deeper shows centralized root access.

What was run: the budget and account-summary calls ran against moto, a local emulator, which checks the request shape and nothing about real billing or root. Plan terms, MFA rules, root-only tasks and budget latency are from AWS documentation, checked in November 2026. No account was created.

Where this fits

With an account secured, you need a safe way to reach it from your terminal and code: the AWS CLI, SDKs and credential profiles.

Check yourself

  1. 01An administrator attaches an IAM policy that denies everything to all users and roles. Does it stop the root user?

    No. Identity-based policies attach to users, groups and roles, and root is none of these. Only an Organizations service control policy can restrict root, and only in member accounts, not the management account.

  2. 02Your team registers the root user with one engineer's work email and their personal phone for MFA. What breaks when they leave?

    Nobody else can sign in or recover the account without a slow support process. Use a group mailbox, a company phone number for recovery, and two or more MFA devices held by different trusted people.

  3. 03You set a 10 dollar budget with an alert, then leave a large instance running over a weekend. Will the bill stop at 10 dollars?

    No. A budget only notifies, and billing data lags usage. AWS says budget information updates up to three times a day. Stopping resources needs your own action or a budget action you configured.

  4. 04What happens to a free plan account when its six months end?

    It closes and you lose access to its resources. AWS keeps the content for 90 days, during which you can upgrade to a paid plan to get the account back.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark