Skip to content

create site

Upload a folder, get a HTTPS URL. Private S3 origin + CloudFront in front.

bash
awsutopia create site <name> --src <dir> [--dry-run] [--json] [--yes]

deploy site is an alias for the same thing.

What you'll get

  • Private S3 bucket utopia-{project}-{env}-site-{name} (encryption, versioning, public access blocked)
  • CloudFront distribution with the default *.cloudfront.net certificate (HTTPS from day one)
  • Utopia tags on the bucket + distribution so list / destroy can find it
  • A printed URL + a rough static cost hint (or COST_UNAVAILABLE on list)
bash
awsutopia create site www --src ./dist
# you'll get something like:
#   url: https://d1234abcd.cloudfront.net

awsutopia list
awsutopia destroy site www --yes
FlagDefaultNotes
--srcrequiredDirectory of static files to upload
--dry-runoffPrint the plan; no AWS mutations
--jsonoffMachine-readable success / error envelope

Custom domains (ACM + Route53) are a separate step: create domain.

HTTPS note

Sprint 6 ships HTTPS via CloudFront's default certificate first. That gets you a real URL without waiting on DNS. Attach your own name later with create domain.

Next

Point a custom name with create domain, tear down with destroy site.

Working name — your AWS account, your bill.