All hands-on labs

Free Hands-on labbeginnerAWS

Creating Buckets & Uploading Objects In S3 (CLI)

Learn how to create buckets, enumerate bucket configuration settings, upload objects to S3, enumerate object configuration settings, and download objects. All from the AWS CLI and without access to the AWS Console.

  • 10 guided tasks

Scenario

Welcome! In this lab, we'll cover creating an S3 bucket and uploading objects to it using only the AWS CLI. We have another similar lab that covers the same steps but using the AWS Console, so if you've completed that lab, this one will complete the same objectives, but programmatically. This is helpful for times when you don't have access to the console, or need to automate actions.

What you will learn

  • Configure the AWS CLI with a named profile and the access key the lab gives you.
  • Create an S3 bucket from the command line.
  • Read a bucket's ACL and encryption settings with the s3api commands.
  • Upload an object to the bucket, then download it again.
  • Read an object's attributes, such as its size and storage class.
Hands-on lab

Creating Buckets & Uploading Objects In S3 (CLI)

Free with a Cybr account.