Hey there! πŸ‘‹

I’m Bastab and I enjoy technology, ☁️ specifically. I write and maintain this blog as a note to self. I work on these technologies daily and need a space and soundboard to keep track of and remind myself of TIL daily. If you resonate, are in the same boat or in a similar space and want to be a part of this journey, hop on! Read more.

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. ...

March 17, 2025 Β· 2 min Β· 403 words Β· Bastab Chakraborty