How to connect local system to AWS via CLI...?

Prem ChoudharyPrem Choudhary
1 min read
  1. Visit: Install or update to the latest version of the AWS CLI - AWS Command Line Interface (amazon.com)

  2. Then install AWS cli on your device as the instruction given.

  3. Search for ‘IAM’ on AWS Management Console.

  4. Click ‘Users‘. Then click ‘Create User’.

  5. Name the user. Click ‘Next‘.

  6. Give ‘AmazonS3FullAccess’ Permission policies.

  7. By clicking next next make user.

  8. Now go to user list and select the user you have created.

  9. Now click on ‘Security credentionals‘.

  10. Now create a Access key.

  11. Select ’Command line interface(CLI)’. Then click ‘Create Access key’.

  12. Now go to your VS code python terminal. Run command aws configure

  13. Copy paste your Access key from Aws to VS code.

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

0
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