create bucket
Spin up an S3 bucket that isn't publicly wide open by accident.
bash
awsutopia create bucket <name> [--public-site] [--yes] [--dry-run] [--json] [--profile] [--region]What you'll get
A bucket with sane defaults:
- Private (Block Public Access on)
- SSE-S3 encryption (AES256)
- Versioning enabled
- Tags:
utopia:project,utopia:env
Plus a static storage cost hint in the output — rough order of magnitude, not live Cost Explorer. See Costs.
bash
awsutopia create bucket my-app-dev-assets
awsutopia listIdempotency
Re-running for a bucket already tagged for the current project re-applies the safety config and succeeds. Untagged or other-project buckets are refused (exit 5).
Public escape hatch
Need a public static site bucket? Be explicit:
bash
awsutopia create bucket my-site --public-site --yesRequires confirmation unless --yes. Decline → no-op, exit 5.
Next
Upload an object, then bucket share for a temporary URL. When you're done: destroy bucket.