How to connect local system to AWS via CLI...?
Visit:
Install or update to the latest version of the AWS CLI - AWS Command Line Interface (amazon.com)
Then install AWS cli on your device as the instruction given.
Search for ‘IAM’ on AWS Management Console.
Click ‘Users‘. Then click ‘Create User’.
Name the user. Click ‘Next‘.
Give ‘AmazonS3FullAccess’ Permission policies.
By clicking next next make user.
Now go to user list and select the user you have created.
Now click on ‘Security credentionals‘.
Now create a Access key.
Select ’Command line interface(CLI)’. Then click ‘Create Access key’.
Now go to your VS code python terminal. Run command
aws configure
Copy paste your Access key from Aws to VS code.
Copy paste your Access Secret key from Aws to VS code. Press ‘enter‘ twice.
Now here’s your local System is connected to AWS via CLI.
Thank you
Subscribe to my newsletter
Read articles from Prem Choudhary directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Prem Choudhary
Prem Choudhary
DEVOPS ENGINEER || AWS || JAVA || PYTHON || SPRING BOOT || SPRING SECURITY || REACT.JS || MONGO DB || MYSQL