Before You Start
- You need an email, a phone number and a payment card (AWS verifies the card)
- Use a company or dedicated email for the root user, not a personal one you may lose
- Plan to use the Free Tier and set a budget alert on day one so you never get a surprise bill
Step 1: Create the Account and Protect the Root User
- Go to the AWS sign-up page and create an account
- Choose a support plan (the free Basic plan is enough for learning)
- Sign in as the root user (the email you registered)
- Open Security credentials and enable MFA (an authenticator app or a security key)
- Do not create access keys for the root user
Step 2: Create an Admin User for Daily Work
There are two ways. For new setups IAM Identity Center is recommended, it gives short-lived credentials and works for many accounts. For a quick lab, an IAM user is fine.
| Option | Steps (short) |
|---|---|
| IAM Identity Center (recommended) | Enable IAM Identity Center, create a user, create a permission set AdministratorAccess, assign the user to your account, sign in using the access portal URL |
| IAM user (lab) | IAM → Users → Create user, enable console access, attach policy AdministratorAccess (or better PowerUserAccess plus IAM read), enable MFA |
Step 3: Set a Budget and Billing Alerts
- Open Billing and Cost Management → Budgets → Create budget
- Choose Monthly cost budget, amount for example 10 USD
- Add alerts at 80 percent actual and 100 percent forecasted, with your email
- Optionally turn on Cost Anomaly Detection and Free Tier usage alerts in billing preferences
Understand the Free Tier
AWS offers a free usage allowance for new accounts. Rules change over time, so always read the current Free Tier page and check your Billing → Free Tier dashboard.
| Type | Meaning | Example |
|---|---|---|
| Always free | Free every month, no end date, within limits | Lambda has a monthly free request allowance, DynamoDB has a free storage amount |
| 12 months free | Free for the first year after sign-up, within limits | Some EC2, S3, RDS usage (check current terms) |
| Trials | Short free trials for specific services | Varies by service |
| Credits | A starting balance that is used before you pay | Check your account's credit page for the amount and end date |
Step 4: Install the AWS CLI
Step 5: Configure Credentials
- Keep keys in
~/.aws/credentials, never in Git or code - Use named profiles and select with
--profile devorexport AWS_PROFILE=dev - On EC2, ECS or Lambda use an IAM role instead of keys (you will learn this in the IAM lessons)
Step 6: First Commands
| Useful option | Purpose |
|---|---|
--region ap-south-1 | Override the Region for one command |
--output json | table | text | yaml | Choose format |
--query '...' | Filter output with JMESPath |
--dry-run (EC2) | Check permission without creating |
aws help, aws s3 help | Built-in documentation |
AWS CloudShell
CloudShell is a browser-based terminal started from the console icon. It already has the AWS CLI, Python, Git and your console credentials. It is great for quick tasks and learning because you install nothing.
- Each Region has its own CloudShell environment
- You get a small persistent home directory (limits apply)
- Files and tools you install in it are for you, not shared with others
Good Habits From Day One
- MFA on the root user and every human user
- No root access keys
- A budget alert before creating anything
- Tag every resource, for example
Project=learning - Delete lab resources the same day
- Use one Region for labs (for example
ap-south-1) so you know where to look
Practice Tasks
- Create the account, enable MFA for root, and create an admin user
- Create a 10 USD budget with an email alert
- Install the CLI and run
aws sts get-caller-identity - Create two profiles and switch between them
- Open CloudShell and list S3 buckets and Regions
Conclusion
Protect the root user with MFA, do daily work with an admin identity (Identity Center or IAM), set a budget alert first, use the CLI with named profiles and short-lived credentials, and delete lab resources to avoid costs.

