Connect to AWS SSO and SSH into EC2 Instance
This how-to article explains steps required to configure AWS account with and without need of AWS SSO and then SSH into an EC2 instance. The steps are generic in nature and can be customized to apply to any environment or any project. Prerequisites AWS CLI v2 AWS SSO access Terminal AWS IAM user credentials (Access Key ID and Secret Access Key) Directory structure ~/ ├── .aws/ │ ├── config │ └── credentials └── .ssh/ ├── ec2-key.pem └── config Setup .aws config without SSO Create .aws folder if it doesn’t exist. ...