Tuesday, 16 April 2024

The goal of this lab is to illustrate how to create an S3 bucket and access it from a client computer via AWS CLI (command-line interface).

 

Architecture Diagram

lab-013-arch-01

Overview

Amazon S3 (Simple Storage Service) is an object-based storage service. An object is a file with attributes like name, value, access control info, etc. Access to objects in S3 is done through an API. Amazon S3 use containers called buckets to store objects. Bucket names are globally unique.

Step 1 - Create an S3 Bucket

After naming your bucket you can accept all of the default options.

lab-013-scrn-01 lab-013-scrn-02

Step 2 - Download and Install AWS CLI

Available here.

Step 3 - Create and Download an Access Key

Go to IAM - Users and then select your user. Then go to Security credentials and create an access key. Download the key you created (a csv file) and use it on the next step.

Step 4 - Configure AWS CLI

Open a terminal and configure your access key and default region on AWS CLI using:

aws configure

When prompted, enter your access key ID, access key secrete, and region (short) name.

No comments:

Post a Comment