Forrest logo
back to the aws tool

aws-s3-mb:tldr:b5bcb

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

This command is using the AWS Command Line Interface (CLI) to create a new S3 bucket in AWS.

  • "aws s3 mb" is the command to create a new S3 bucket.
  • "s3://${bucket_name}" is the bucket's unique name and is specified using a placeholder ${bucket_name}. You need to replace this with your desired bucket name.
  • "--region ${region}" specifies the AWS region where the bucket will be created. Again, ${region} is a placeholder that needs to be replaced with the desired AWS region.

When you run this command, the AWS CLI will create a new S3 bucket with the specified name and in the specified region.

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