Persistent, pluggable storage

Learn about Cased's persistent storage layer and how to set it up.

Persistent Storage

Cased Shell comes with persistent/nonvolatile storage automatically when using our Cased Shell Terraform Module to deploy an instance. It automatically creates a private, encrypted S3 bucket and uses it to store application data related to your Cased Shell instance. All data is encrypted at rest and in transit using a per-instance Amazon KMS key.

Custom deployments

If you are not deploying Cased Shell with our Terraform Module all you have to do is set the following environment variables as follows.

  • STORAGE_BACKEND: set to s3 to store data on s3
  • STORAGE_S3_BUCKET: set to the name of a bucket dedicated for this purpose
  • STORAGE_S3_ACCESS_KEY_ID: set to the access key ID of a user that can read and write objects from the above bucket
  • STORAGE_S3_SECRET_ACCESS_KEY: set to the secret access key ID of a user that can read and write objects from the above bucket
  • STORAGE_S3_REGION: set to the region containing the bucket:
  • STORAGE_S3_ENDPOINT: (advanced) if using a custom s3 backend, set this value to its API endpoint (http://minio:9000)
  • STORAGE_S3_SIGNATURE_VERSION: (advanced) if using a custom s3 backend, set this value to the signature version in use (s3v4)

Questions? Contact us.
FAQ


Did this page help you?