AWS Account Setup, Free Tier, Billing Alerts, IAM Admin User, AWS CLI and CloudShell

AWS Solutions Architect 35 min min read Updated: Nov 17, 2026 Beginner
AWS Account Setup, Free Tier, Billing Alerts, IAM Admin User, AWS CLI and CloudShell
Beginner Topic 2 of 3

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

  1. Go to the AWS sign-up page and create an account
  2. Choose a support plan (the free Basic plan is enough for learning)
  3. Sign in as the root user (the email you registered)
  4. Open Security credentials and enable MFA (an authenticator app or a security key)
  5. Do not create access keys for the root user
Rules for the root user: The root user has unlimited power and cannot be restricted by IAM policies. Use it only for a few account tasks (change account settings, close the account, restore IAM access). Daily work must use an IAM or Identity Center 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.

OptionSteps (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

  1. Open Billing and Cost Management → Budgets → Create budget
  2. Choose Monthly cost budget, amount for example 10 USD
  3. Add alerts at 80 percent actual and 100 percent forecasted, with your email
  4. Optionally turn on Cost Anomaly Detection and Free Tier usage alerts in billing preferences
bash # The same budget created from the CLI aws budgets create-budget --account-id 123456789012 \ --budget '{"BudgetName":"monthly-10usd","BudgetLimit":{"Amount":"10","Unit":"USD"},"TimeUnit":"MONTHLY","BudgetType":"COST"}' \ --notifications-with-subscribers '[{"Notification":{"NotificationType":"ACTUAL","ComparisonOperator":"GREATER_THAN","Threshold":80,"ThresholdType":"PERCENTAGE"},"Subscribers":[{"SubscriptionType":"EMAIL","Address":"you@example.com"}]}]'

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.

TypeMeaningExample
Always freeFree every month, no end date, within limitsLambda has a monthly free request allowance, DynamoDB has a free storage amount
12 months freeFree for the first year after sign-up, within limitsSome EC2, S3, RDS usage (check current terms)
TrialsShort free trials for specific servicesVaries by service
CreditsA starting balance that is used before you payCheck your account's credit page for the amount and end date
Things that cost money even in a lab: NAT Gateways (hourly plus data), Elastic IPs that are not attached, running RDS or large EC2 instances, load balancers, and data transfer out. Delete resources when you finish and check the bill every few days.

Step 4: Install the AWS CLI

bash # Linux curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o awscliv2.zip unzip awscliv2.zip && sudo ./aws/install aws --version # macOS: brew install awscli # Windows: install the MSI from the AWS CLI page, or: winget install Amazon.AWSCLI

Step 5: Configure Credentials

bash # Recommended with Identity Center (short-lived, no keys on disk) aws configure sso --profile dev aws sso login --profile dev aws sts get-caller-identity --profile dev # Classic IAM user keys (lab only) aws configure --profile lab # AWS Access Key ID: AKIA................ # AWS Secret Access Key: **************** # Default region name: ap-south-1 # Default output format: jso
ini # ~/.aws/config [profile dev] sso_session = mycompany sso_account_id = 123456789012 sso_role_name = AdministratorAccess region = ap-south-1 output = json [sso-session mycompany] sso_start_url = https://mycompany.awsapps.com/start sso_region = ap-south-1 sso_registration_scopes = sso:account:access
  • Keep keys in ~/.aws/credentials, never in Git or code
  • Use named profiles and select with --profile dev or export 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

bash aws sts get-caller-identity # who am I? aws ec2 describe-regions --output table # list Regions aws s3 ls # list buckets aws ec2 describe-instances --query 'Reservations[].Instances[].[InstanceId,State.Name,InstanceType]' --output table aws iam list-account-aliases aws configure list # which credentials and Region are used
Useful optionPurpose
--region ap-south-1Override the Region for one command
--output json | table | text | yamlChoose format
--query '...'Filter output with JMESPath
--dry-run (EC2)Check permission without creating
aws help, aws s3 helpBuilt-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

  1. MFA on the root user and every human user
  2. No root access keys
  3. A budget alert before creating anything
  4. Tag every resource, for example Project=learning
  5. Delete lab resources the same day
  6. Use one Region for labs (for example ap-south-1) so you know where to look

Practice Tasks

  1. Create the account, enable MFA for root, and create an admin user
  2. Create a 10 USD budget with an email alert
  3. Install the CLI and run aws sts get-caller-identity
  4. Create two profiles and switch between them
  5. 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.

Quick Summary: root MFA; admin user; budgets CLI; free tier types + cost traps; CLI install/configure/sso profiles; first commands; CloudShell; habits.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators