Forrest logo
back to the aws tool

aws-s3-mb:tldr:794a3

aws-s3-mb: Create an S3 bucket.
$ aws s3 mb s3://${bucket_name}
try on your machine

This command is used to create a new S3 bucket in Amazon Web Services (AWS) using the AWS command-line interface (CLI).

  • aws: This is the CLI command to interact with various AWS services.
  • s3: This refers to the Amazon S3 (Simple Storage Service) in AWS.
  • mb: This is short for "make bucket" and is the command to create a new S3 bucket.
  • s3://${bucket_name}: Here ${bucket_name} is a placeholder that should be replaced with the desired name for your bucket. This provides the name and location for the new S3 bucket. The s3:// prefix indicates that the resource is an S3 bucket.

When you replace ${bucket_name} with your desired bucket name and run this command, it will create a new S3 bucket with the specified name in your AWS account.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the aws tool