Your AWS account holds your money, your data and your servers. Anyone who gets in can run up a large bill or steal data. In this lesson you will create an account, lock the most powerful login (the root user), turn on a safe way to sign in every day, and set up alarms so a surprise bill never reaches you.
In simple words
- AWS account: a container for your AWS resources and bill, and a security boundary.
- Root user: the all-powerful login made with the account. Lock it with MFA and use it almost never.
- MFA: multi-factor authentication: a second proof, such as a phone code, on top of your password.
- IAM Identity Center: the recommended way for people to sign in to AWS with short-lived access.
- Budget / billing alarm: an alert when spending goes over an amount you set.
What an account is
An AWS account is a container. Everything you create (servers, buckets, users) lives inside one account. It is also the main wall between things: resources in one account cannot be reached from another unless you allow it.
Each account has:
- A 12-digit account ID, for example
123456789012. - A root user, created with the email you signed up with.
- A billing relationship (a payment card, or a parent organization that pays).
Real companies use many accounts (one for production, one for testing, and so on). You will see why in lesson 27. For now, one account is enough.
Create the account
- Go to the AWS sign-up page and choose Create an AWS account.
- Enter an email address and an account name. Use a shared mailbox such as
aws-root@yourcompany.comfor a company, not a personal address. People leave jobs, and the root email must keep working. - Choose a strong, long password and keep it in a password manager.
- Enter contact and payment details. AWS makes a small test charge to check the card.
- Verify your phone number.
- Choose a support plan. Basic (free) is fine for learning.
The free tier
AWS offers free usage for learning, in three kinds:
| Kind | Example | Limit |
|---|---|---|
| Always free | Lambda 1 million requests a month, DynamoDB 25 GB | No end date |
| 12 months free | Some small EC2 and RDS hours, S3 5 GB | First year only |
| Trials | Short free trials of some services | A few days or weeks |
Rules change, so check the current free tier page before you rely on it. Newer accounts may get credits instead of the older 12-month model. Whatever the plan, the safe habit is the same: know what you started, and delete it when done.
The root user: lock it away
The root user can do everything, including closing the account and changing billing. You cannot restrict it with normal permissions. So you protect it and then almost never use it.
Do these four things right away:
- Turn on MFA (multi-factor authentication) for the root user.
- Do not create access keys for root. Delete any that exist.
- Use a long unique password stored in a password manager.
- Keep the root email and phone safe. Anyone who controls the email can reset the password.
Turning on MFA
MFA means you need two things to sign in: something you know (a password) and something you have (a device). Even if a password leaks, an attacker cannot get in.
Types of MFA in AWS:
| Type | Example | Notes |
|---|---|---|
| Passkey or security key | Phone, laptop, YubiKey | Strongest. Resists phishing. |
| Authenticator app | Google Authenticator, Authy | Good. A time-based 6-digit code. |
| SMS text | Not available | AWS no longer supports SMS for MFA |
In the console: click your account name (top right), choose Security credentials, then Assign MFA device. Register two devices if you can, so losing a phone does not lock you out.
When you really need root
Only a few tasks need root, for example:
- Change the account name, email or root password.
- Close the account.
- Change or cancel a support plan.
- Restore permissions if you locked every user out.
For these, sign in as root, do the task, sign out.
Do not work as root: use IAM Identity Center
For daily work, you should sign in as a normal user with limited permissions. AWS has two ways:
| Way | Best for |
|---|---|
| IAM Identity Center (successor to AWS SSO) | Everyone. Single sign-on, short-lived credentials, works across many accounts. |
| IAM users | Older setups, or special cases. Long-lived passwords and keys. Harder to keep safe. |
AWS recommends Identity Center for people. You will learn IAM users and policies in lesson 04, and roles in lesson 07. Here is the quick setup for a single account.
- In the console, open IAM Identity Center and choose Enable. Pick one Home Region and keep it. This choice is hard to change later.
- Under Users, add yourself with your own email.
- Under Permission sets, create or choose one, such as
AdministratorAccessfor your learning account, orPowerUserAccess. - Under AWS accounts, assign your user and permission set to the account.
- Open the AWS access portal URL that Identity Center gives you, register MFA, and sign in.
You now sign in at the portal, pick the account and role, and get short-lived credentials. No long-lived key is sitting on your laptop.
Billing alarms and budgets
A mistake can cost money fast. Set alerts on day one.
Let IAM users and roles see billing
By default, only root can see billing. In Account settings, turn on IAM user and role access to Billing information, so you do not need root to check costs.
Create a budget
A budget sends an email when your costs reach a limit.
cat > budget.json <<'JSON'{ "BudgetName": "monthly-learning", "BudgetLimit": { "Amount": "10", "Unit": "USD" }, "TimeUnit": "MONTHLY", "BudgetType": "COST"}JSON cat > notifications.json <<'JSON'[{ "Notification": { "NotificationType": "ACTUAL", "ComparisonOperator": "GREATER_THAN", "Threshold": 80, "ThresholdType": "PERCENTAGE" }, "Subscribers": [{ "SubscriptionType": "EMAIL", "Address": "you@example.com" }]}]JSON aws budgets create-budget --account-id 123456789012 \ --budget file://budget.json \ --notifications-with-subscribers file://notifications.jsonThis emails you when actual spending passes 80% of $10. You can also add a FORECASTED notification that warns you before you reach the limit.
Look at your costs
aws ce get-cost-and-usage \ --time-period Start=2026-11-01,End=2026-11-30 \ --granularity MONTHLY --metrics UnblendedCost{ "ResultsByTime": [ { "TimePeriod": { "Start": "2026-11-01", "End": "2026-11-30" }, "Total": { "UnblendedCost": { "Amount": "3.4187402391", "Unit": "USD" } } } ]}Cost data can be up to a day old. Also open Cost Explorer in the console to see costs by service.
Contact details and security basics
- Fill in the alternate contacts (billing, operations, security) so AWS can reach the right person.
- Turn on CloudTrail (lesson 18) so you have a record of every action.
- Never put access keys in code, screenshots or Git.
- Check IAM Access Analyzer and Trusted Advisor security checks from time to time.
A safe-start checklist
| Done? | Task |
|---|---|
| Yes | Root user has MFA (two devices if possible) |
| Yes | No root access keys |
| Yes | Daily sign-in through Identity Center or a limited IAM user |
| Yes | Budget with email alert |
| Yes | Alternate contacts filled in |
| Yes | Home Region chosen and written down |
If something goes wrong
- Unexpected charge: open Billing and Cost Management, find the service in Cost Explorer, then find and delete the resource.
- Lost MFA device: use another registered device, or the "Troubleshoot MFA" sign-in link, which uses your email and phone.
- Leaked access key: disable it at once (
aws iam update-access-key --status Inactive ...), then check CloudTrail for what it did, and create a new key only if you must.
Common mistakes
- Using root every day. One leaked password then means total loss.
- Using a personal email for a company root account. When the person leaves, nobody can recover it.
- No budget. The first sign of a runaway bill is the bill.
- Leaving test resources running. Servers, NAT gateways and load balancers cost money by the hour.
- Choosing the Identity Center Region without thinking. Pick it once, carefully.
Summary
- An account is the main container and security wall in AWS.
- Protect the root user with MFA, no access keys and a strong password, then rarely use it.
- Use IAM Identity Center for daily sign-in, with short-lived credentials.
- Create a budget with email alerts on day one.
- Remember: the free tier has limits and end dates. Delete what you do not need.
Check yourself
- Why should you not use the root user for daily work?
- Name two things only root can do.
- What does a budget with a FORECASTED alert do that an ACTUAL alert cannot?
- Why is a shared mailbox a good choice for the root email?
CHECK YOUR UNDERSTANDING
3 quick questions
1. What should you do first to protect the root user?
2. Which task really requires the root user?
3. What does a FORECASTED budget alert do?
You've finished the free preview of AWS
Upgrade to Pro to unlock the remaining 33 lessons, every practice lab and a certificate when you finish.
See plans