Updated: 10 November 2026 · Applies to: New AWS accounts (Free and Paid plans), AWS CLI version 2 (tested 2.39.7 on Ubuntu 24.04), Amazon EC2 and Amazon S3
The quickest way to start on AWS: create an account, lock down the root user with MFA, set a zero spend budget so you hear about any charge, install AWS CLI version 2 and sign in with aws login, then launch one small EC2 instance and create one S3 bucket. When you are done, terminate the instance and delete the bucket. The steps below take you through each part in that order, and they work the same whether you are a developer trying AWS for the first time or a beginner who has never used a cloud provider.
1. Create the account and secure the root user
The email address and password you sign up with belong to the root user, which has full access to everything in the account, billing included. According to AWS, you should use it only for the few tasks that need it, never for daily work.
- Sign up at aws.amazon.com/free. Use an email address you will always be able to reach, because it is also your recovery channel.
- Sign in to the console as Root user and turn on multi-factor authentication (MFA). AWS supports FIDO security keys, hardware TOTP tokens and authenticator apps, and you can register up to eight MFA devices for the root user. AWS now requires root MFA: if it is not on, you must register it within 14 days of your first sign-in.
- Do not create access keys for the root user. AWS strongly recommends against it.
- Create a separate identity for everyday work (next step).
2. Create an everyday admin identity
AWS recommends IAM Identity Center for people who sign in to many AWS accounts managed with AWS Organizations, and temporary credentials wherever possible. For a single new account, a simple and supported setup is:
- Open the IAM console, create a user for yourself with console access and a strong password, give it the AdministratorAccess permission (later, narrow this down), and turn on MFA for that user too.
- Also attach the AWS managed policy SignInLocalDevelopmentAccess, so that this user can sign in to the AWS CLI with
aws login(step 5) without any long-term access keys. - Sign out of the root user and use this user from now on.
If you plan to run several accounts (for example separate development and production accounts), set up AWS Organizations with IAM Identity Center instead. Note that, according to AWS, a Free plan account is upgraded to the Paid plan automatically when it joins AWS Organizations.
3. Understand the Free Tier and set a budget
AWS changed its Free Tier for accounts created on or after 15 July 2025. According to the AWS Free Tier page and the AWS Billing documentation (checked when this article was updated):
- New accounts get USD 100 in credits at sign-up and can earn up to USD 100 more by completing activities with key services, up to USD 200 in total.
- You choose a Free plan or a Paid plan. The Free plan never charges you, offers only selected services, and ends after six months or when the credits run out, whichever comes first. The account then closes; AWS keeps your content for 90 days, during which you can upgrade to the Paid plan to keep it.
- The Paid plan gives access to every service and charges normal pay-as-you-go prices once your credits are used.
- More than 30 services have "always free" monthly usage limits on both plans.
- For EC2, accounts created on or after 15 July 2025 can use t3.micro, t3.small, t4g.micro, t4g.small, c7i-flex.large and m7i-flex.large for six months or until the credits are used up. Older accounts (under 12 months old) keep the earlier t2.micro or t3.micro offer.
Set a budget before you build anything:
- Open Billing and Cost Management and choose Budgets, then Create budget.
- Choose Use a template (simplified) and pick Zero spend budget, which emails you as soon as your spending goes past the Free Tier limits. A Monthly cost budget with a small amount is a good second alert.
- Choose Create budget.
A budget only alerts you. It does not stop resources, so you still need to clean up (step 7).
4. Pick a Region
Every AWS service runs in a Region (a geographic area such as Asia Pacific (Mumbai) or Europe (Frankfurt)), and each Region is split into several isolated Availability Zones. Choose the Region closest to your users for lower latency, and check that the services you need are offered there. Resources you create are tied to the Region selected in the top bar of the console, which is the most common reason beginners "lose" an instance: it is still there, in another Region.
5. Install AWS CLI version 2 and sign in
On Linux (x86_64), download and run the official installer:
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
Check the version:
aws --version
Output (from our test container):
aws-cli/2.39.7 Python/3.14.8 Linux/5.14.0-503.16.1.el9_5.x86_64 exe/x86_64.ubuntu.24
For other systems and ARM servers, see How to install AWS command line interface (awscli) on Linux and the AWS installation guide.
Now sign in with your console user. aws login needs AWS CLI 2.32.0 or later. It opens a browser sign-in, asks for a default Region the first time, and then keeps temporary credentials that the CLI refreshes for up to 12 hours, so no access keys are stored on your computer:
aws login
On a server without a browser, add --remote: the CLI prints a URL to open on another device, and you paste back the code it shows.
aws login --remote
If you use IAM Identity Center instead, sign in with:
aws configure sso
Confirm who you are signed in as. According to AWS, this returns your account ID and the ARN of your user. Before you sign in, it fails with a clear message instead:
aws sts get-caller-identity
Output before signing in (from our test container):
aws: [ERROR]: An error occurred (NoCredentials): Unable to locate credentials. You can configure credentials by running "aws login".
When you are finished for the day, run:
aws logout
6. Your first resources: an EC2 instance and an S3 bucket
Launch a small EC2 instance
- Open the EC2 console, check the Region in the top bar, and choose Launch instance.
- Under Name and tags, give it a name such as
test-server. - Under Application and OS Images (Amazon Machine Image), choose Quick Start and an operating system, for example Amazon Linux or Ubuntu.
- Under Instance type, pick one labelled Free tier eligible.
- Under Key pair (login), create a new key pair and download the
.pemfile. AWS shows the private key only once, so keep it safe. - Under Network settings, allow SSH only from your own IP address, never from anywhere (0.0.0.0/0).
- Choose Launch instance and wait until its status checks pass.
On your computer, make the key readable only by you, then connect with the instance's public DNS name. The default user is ec2-user on Amazon Linux and ubuntu on Ubuntu (Amazon Linux Default User (ec2-user) vs IAM User for AWS CLI explains the difference between this login and your IAM user):
chmod 400 test-key.pem
ssh -i test-key.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com
To create key pairs from code instead of the console, see How to Create and Import an AWS EC2 Key Pair With Ansible.
Create an S3 bucket and upload a file
Bucket names must be unique across all AWS accounts, use only lowercase letters, numbers, dots and hyphens, and be 3 to 63 characters long, so add something of your own to the name. New buckets block public access by default; leave that on.
aws s3 mb s3://alice-test-bucket-20391 --region eu-central-1
echo "hello from my first bucket" > hello.txt
aws s3 cp hello.txt s3://alice-test-bucket-20391/
aws s3 ls s3://alice-test-bucket-20391/
According to AWS, mb prints make_bucket: with the bucket name, cp prints upload: with the source and target, and ls lists the file with its date and size. To give one IAM user access to just one folder in a bucket, see How to give access only to a folder inside s3 bucket for an AWS IAM user.
Where the other services fit
- AWS Lambda: run a function on demand without managing a server (APIs, scheduled jobs, file processing).
- AWS Elastic Beanstalk: upload your Go, Java, .NET, Node.js, PHP, Python or Ruby app (or a Docker image) and it builds the EC2 instances, load balancing, health checks and scaling for you. Beanstalk itself is free; you pay for the resources it creates.
- Amazon ECS Express Mode: deploy a container image with one command and get a service on Fargate with a load balancer and auto scaling. Note that AWS App Runner is closed to new customers, and AWS points new users to ECS Express Mode instead, so skip older tutorials that start with App Runner.
- Amazon RDS: managed MySQL, PostgreSQL and other databases, with backups and patching handled for you.
- Amazon CloudWatch: metrics, logs and alarms for everything above.
7. Clean up and avoid surprise bills
- Terminate test instances: in the EC2 console select the instance, choose Instance state, then Terminate instance. A stopped instance no longer bills for compute, but its disk (EBS volume) still costs money.
- Delete test buckets.
--forcedeletes the objects first, then the bucket (versioned objects must be deleted separately):
aws s3 rb s3://alice-test-bucket-20391 --force
- Check Billing and Cost Management in every Region you used, including the Free Tier usage and credit balance pages.
Common beginner mistakes:
- Leaving instances, databases, load balancers or NAT gateways running after a test.
- Forgetting that AWS charges by the hour for every public IPv4 address, in use or idle.
- Opening SSH or database ports to the whole internet.
- Making a bucket public to "fix" an access error, instead of granting access with IAM.
- Creating root access keys or committing any access key to a Git repository.
- Building in the wrong Region and paying for two copies.
Need a hand running AWS?
Once your project grows, the work moves from launching resources to watching them: security, backups, cost reviews and alerts at any hour. Ucartz offers managed AWS services with monitoring, cost optimisation, security hardening and 24/7 support, so you can keep building while we look after the account.
Official documentation: AWS Free Tier plans, root user best practices, aws login, EC2 launch instance wizard.