ftheophile / wc-lab-terraform-repo

Wirfon Cloud lab exercise repository
0 stars 0 forks source link

AWS CLI on local machine and create S3 bucket #8

Open ftheophile opened 4 months ago

ftheophile commented 4 months ago

Install AWS CLI on local machine Configure with programmatic user credentials Create S3 bucket using command from the CLI Enable versioning on bucket using command

Document steps and commands in the ticket

Yaaki-Ju commented 4 months ago
Yaaki-Ju commented 4 months ago

Steps and commands I used to execute task Step 1: I installed version 2 of the AWS CLI on my local machine

Step 3: I created an IAM User called adminjuliet and configured the CLI with programmatic user credentials

Step 3: Created an S3 bucket named "yaaki1bucket" in the "us-east-1" region.

Command: aws s3api create-bucket --bucket yaaki1bucket --region us-east-1 Step 4: Enable versioning on the "yaaki1bucket" bucket.

Command: aws s3api put-bucket-versioning --bucket yaaki1bucket --versioning-configuration Status=Enabled