Andrea Cavagna Profile picture
Sep 6 13 tweets 4 min read
Do you secure your @awscloud access?

11 secrets hackers don't want you to know 📈.

Number 7 will blow your mind 🤯

A thread 🔽🔽🔽
#AWSCommunity
0.❌Never use the root access keys; remove those and create restricted users as soon as possible.

Protect the root account with MFA immediately.
1.🛑 Disable all the AWS regions that you don't need to use.

docs.aws.amazon.com/IAM/latest/Use…
2.🛑 Do NOT use permanent programmatic access keys.

Force rotation with the shortest period.
3.👥 Use AWS SSO with federated identity to your company identity provider.

Or use the IAM role federated with your identity provider, and generate short-lived credentials for programmatic access.

Start using Leapp for this:

4.🔊 Set billing alerts for first aid

docs.aws.amazon.com/AmazonCloudWat…
5.🚫Restrict the instance sizes and types that can be used by the accounts.

Use SCP to achieve this:
docs.aws.amazon.com/organizations/…
6. ‼️ Always use STS to get short-lived access tokens.

This can be hard for developers, rely on a tool to do that

github.com/Noovolari/leapp
7. 🔐 Always have MFA; use "leapp" or something similar.
docs.leapp.cloud/0.14.2/configu…
8. 🫰 Restrict all the expensive services your account doesn't need, like machine learning services, if you just use basic workloads.
9.🤯 Use AWS access analyzer to ensure you have the least privilege properly set up.

Don't miss this session by @bjohnso5y for this!

10.🚫 Never use credentials inside a repository, even if it is local.
11. 🧐 Start following @elrowan for security IAM tips and articles:

aws.amazon.com/it/blogs/apn/i…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Andrea Cavagna

Andrea Cavagna Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(