exo Verified current stable Not installed? Cloud Infrastructure

Exo / Create New Sos Bucket

Create New Sos Bucket

Create a new storage bucket using the Exo CLI.

$
Terminal
exo storage mb <bucket_name>

When To Use

When provisioning new storage to accommodate growing application data requirements.

Pro Tip

Consider implementing lifecycle rules to manage objects within the bucket effectively for cost optimization.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
exo storage mb <bucket_name>

Anatomy of Output

Understanding the result

Bucket created successfully: bucket-name-123 Creation Status

Confirms successful creation of the storage bucket.

Region: us-east-1 Region Info

Indicates where the bucket is provisioned.

Access Control: Private Access Level

Displays the default access permissions set for the bucket.

Troubleshooting

Common pitfalls

Error: Bucket name already exists.

Solution: Choose a unique bucket name, as names must be globally unique.

Error: Invalid bucket name format.

Solution: Ensure that the bucket name meets the required naming conventions.

Error: Insufficient IAM permissions to create bucket.

Solution: Verify permissions granting 's3:CreateBucket' for the executing user.

Command Breakdown

What each part is doing

exo
Base Command
The executable that performs this operation. Here it runs Exo before the shell applies any redirect operators.
<bucket_name>
bucket name
The value supplied for bucket name.

Alternative Approaches

Comparable commands in other tools

Alternative cloud infrastructure tools for the same job.