Skip to content

Latest commit

 

History

History
65 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

65 lines (28 loc) · 1.32 KB

Board Status

Prerequisites

ubuntu or whatever linux distro

  1. aws-cli
  2. aws-sdk
  3. ansible

Preparing a Local Environment

For ubuntu

  • sudo apt update
  • sudo apt install python3-pip
  • pip3 install awscli
  • pip3 install boto boto3 botocore
  • pip3 install ansible

AWS CLI Links

configure aws credentials with aws-cli

  • aws configure
  • cat .aws/credentials

You can get keys from the Your Security Credentials page in the AWS Management

AccessKeyId: example_key

SecretAccessKey: example_secret_key

Testing your aws credentials is working or not

aws sts get-caller-identity

to use aws credentials in ansible use environment variables

modify your bash_rc or bash_profile

export AWS_ACCESS_KEY_ID='your access key id'

export AWS_SECRET_ACCESS_KEY='your secret access key'

export AWS_REGION='your region'

AWS and Ansible