Terraform Modules For Conventional Storacha Service Deployments
This is a collection of resuable and interoperable terraform modules that standardize AWS deployments on Storacha
They're designed to:
- save you tons of time on writing terraform deployments
- use sensible defaults
- keep things secure and using best practices (uniformity = less chances to mess it up)
- deploy things in a cost effective way, without compromising ease of use
Things you can setup with Storoku:
- PostgreSQL databases
- Redis caches
- SQS Queues
- DynamoDB tables
- SNS Topics
- Your application running in a scalable ECS cluster, connected to the services you expect.
First, install OpenTofu (OpenTofu is a fork of Terraform that retains a full open source license -- please use OpenTofu when deploying Storacha services in order to avoid licensing issues).
brew update
brew install opentofu
tofu -u version
The best way to get started with Storoku is to use the Storoku starter example.
Generally, Storoku deployments are seperated into an app deployment that is specific to the deployment environment (i.e. 'staging', 'prod' or an individual developer deployment) and a shared deployment that covers resources that are shared across environments including several 'dev' resources that would be expensive to replicate for each individual developer.
In general, you will want to copy the files in the starter example to your project, and follow the README for the example to setup your deployment. Most deployment commands are run with make
. Yes, that make
get used to Makefiles again (but hopefully you will not have to edit)