DevForth

How to create an AWS account and keep it safe

Create an AWS account the safe way. Protect the root user with MFA, set a budget alert and use a separate short-lived login for daily work.

Ivan Borshchov
Ivan Borshchov
CEO & System Architect @ DevForth
How to create an AWS account and keep it safe
How to create an AWS account and keep it safe

An AWS account is like the key to a huge warehouse full of computers. Whoever holds the key can rent anything in there, and you pay the bill. So the plan is simple: open the account, then guard the key.

1. Sign up

Go to aws.amazon.com and click "Create an AWS Account". You need an email, a phone number and a payment card. Use a team mailbox like aws@yourcompany.com instead of a personal one, so the account doesn't vanish when someone leaves.

2. Lock the master key

The email you signed up with is the root user. It can do everything, including closing the account. Turn on MFA for it right away (AWS now requires this for root), keep the password in a password manager, and then stop using root for everyday work.

3. Set a spending alarm

In Billing and Cost Management, open Budgets and create a small monthly budget with an email alert. A test server someone forgot to turn off is the most common surprise bill.

4. Create a daily login

Turn on IAM Identity Center and create a user for yourself with admin rights. Use its sign-in portal for the console. For the command line:

aws configure sso
aws sso login --profile my-admin

These credentials are short-lived and expire on their own.

5. Be careful with access keys

Older guides tell you to create an IAM user and download an access key CSV. Skip that when you can, because long-lived keys end up in git, logs and old laptops. If your CI supports OIDC, have it assume a role instead. If a tool really does need a key, give it only the permissions it uses (never AdministratorAccess), keep it in a secrets store and rotate it.

In short: one account, root locked with MFA, a budget alert, and short-lived logins for daily work.

Get your project quote

Free result within 48-72 hours

Related insights