How to Handle EC2 Credentials: Best Practices and Common Mistakes

Written by micogongob | Published 2021/02/10
Tech Story Tags: ec2 | aws-iam | aws | aws-services | amazon-web-services | how-to-build-aws-ec2-instance | aws-cli | amazon

TLDR An AWS credential is a personal credential and they are personal and should only be on your personal computer. If the EC2 is ever compromised, so would your personal account. Using the AWS CLI on an EC2 instance is a bad way of configuring the cli and it is insecure. Using IAM Roles is a better way to use IAM Credentials on EC2 instances is to use the IAM Role. The right way is to attach the minimum permissions to the role.via the TL;DR App

no story

Written by micogongob | Software Engineer from the Philippines
Published by HackerNoon on 2021/02/10