Setting Up The AWS CLI
curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update
- Verification of the succesful installation
aws --version - Create a new AWS IAM user: Add users -> User name -> Select AWS credential type -> Access key - Programmatic access -> Attach existing policies directly -> AdministratorAccess -> Default -> Create User -> Success -> Copy Access key ID & Secret access key
aws configureand fill in Access key ID and Secret access key, together with 'Default region name', 'Default output format'(None)- Testing with creating a new AWS s3 bucket
aws s3 mb "s3://a-bucket-just-for-testing-purpose"
Copied to clipboard
Share this post
Related Posts
The Evolution of Infrastructure Management
The evolution of infrastructure management goes from clicking in the cloud console to AI-assisted operations.
Deploy React to CloudFront with Custom Domain & SSL Certificate
Deploy React to CloudFront: build production bundle, S3 bucket upload, CloudFront distribution with custom domain.
AWS Certified Solutions Architect – Associate Certification Quiz 6
Cost-effective static website hosting on S3: CloudFront CDN for global users to minimize data transfer costs.
AWS Certified Solutions Architect – Associate Certification Quiz 5
Data lake value proposition: ingest and store data for future processing, supporting unstructured and structured data.