Configure Object Storage

Configure Amazon S3 storage, CDN access, permissions, metrics, and retention.

Storage components create Amazon S3 buckets. They can remain private, allow public reads, or expose content through a CDN and custom domain.

Create Storage

  1. Open an infrastructure configuration and select Add component > Storage.
  2. Enter a descriptive name.
  3. Keep Public read access disabled unless every stored object is intended to be public.
  4. Enable CDN when the application needs a public URL backed by CloudFront.
  5. If a CDN is enabled, select a configured domain where appropriate.
  6. Select quick metrics and operational metrics.
  7. Grant services only the read or write access they need.
  8. Configure event handlers or alternate routes if required.
  9. Choose the removal policy for every environment and save.

Private and Public Content

Private buckets are the default choice for uploads, backups, reports, and application data. Public reads or a CDN are appropriate only for assets meant for anonymous consumption.

Service Permissions

Grant read to services that retrieve objects and write to services that create or update them. Use the storage-derived bucket name in environment variables rather than hard-coding the generated AWS name.

Removal Policy

Use Keep for persistent data. S3 buckets may also resist deletion while objects remain, so plan explicit retention and cleanup rather than relying on infrastructure removal as a data-lifecycle mechanism.