Support Documents
No data found.

Generate S3 presign URL using CloudShell

Lab Details

  1. This lab walks you through the steps to create an S3 pre-sign URL. Here you will be creating an S3 bucket, uploading objects, and using CloudShell you will create a short-lived URL i.e. pre sign URL.

  2. Duration: 45 minutes

  3. AWS Region: US East (N. Virginia) us-east-1


What is S3?

  • S3 stands for Simple Storage Service.

  • It provides object storage through a web service interface.

  • Each object is stored as a file with its metadata included and is given an ID number.

  • Objects uploaded to S3 are stored in containers called “Buckets”, whose names are globally unique. They organize the Amazon S3 namespace at the highest level.

  • These buckets are region-specific.

  • You can assign permissions to these buckets to provide or restrict data transactions.

  • Applications use this ID number to access an object.

  • Developers can access an object via a REST API.

  • S3 supports the upload of objects.

  • It uses the same scalable storage infrastructure that uses to run its global e-commerce network.

  • It's designed for storing online backup and archiving of data and applications on AWS.

  • Storage classes provided are:

  1. Standard

  2. Standard_IA i.e., Standard Infrequent Access

  3. Intelligent_Tiering

  4. OneZone_IA

  5. Glacier

  6. Deep_Archive

  7. RRS i.e., Reduced Redundancy Storage (Not recommended by AWS)

  • Data access is provided through the S3 Console.

  • Data stored can be either Public or Private based on user requirements.

  • Data stored can be encrypted.

  • We can define life-cycle policies which can help in the automation of data transfer, retention, and deletion.

  • Amazon Athena can be used to "query" S3 data.

What is AWS Cloud Shell?

AWS CloudShell is a browser-based shell that makes it easy to manage, explore, and interact securely with your AWS resources. With CloudShell, you can quickly run scripts with the AWS Command Line Interface (AWS CLI), experiment with AWS service APIs using the AWS SDKs, or use a range of other tools

Advantages :

  1. CloudShell inherits the credentials of the user signed in to the AWS Management Console.

  2. A fully managed Amazon Linux 2 environment that has the latest versions of popular tools already installed and updated.

  3. With 1 GB of persistent storage per Region, you can store scripts, files, configuration preferences, etc in your home directory.

Architecture Diagram

Task Details

  1. Log in to the AWS Management Console.

  2. Create an S3 bucket.

  3. Upload a file to an S3 Bucket.

  4. Change an Environment in CloudShell

  5. Run the S3 pre-sign command and test the output

  6. Validation of the lab