https://github.com/patheard/aws-ecs-zitadel
Zitadel in an AWS ECS Fargate cluster
https://github.com/patheard/aws-ecs-zitadel
fargate terraform zitadel
Last synced: 3 months ago
JSON representation
Zitadel in an AWS ECS Fargate cluster
- Host: GitHub
- URL: https://github.com/patheard/aws-ecs-zitadel
- Owner: patheard
- License: mit
- Created: 2024-06-23T16:34:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T18:20:36.000Z (7 months ago)
- Last Synced: 2024-11-12T13:32:59.916Z (5 months ago)
- Topics: fargate, terraform, zitadel
- Language: HCL
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS ECS Zitadel :key:
The Terraform and Dockerfile needed to run [Zitadel](https://zitadel.com/) in [Fargate](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html).## Setup
Easiest way to get started is with a [VS Code devcontainer](https://code.visualstudio.com/docs/devcontainers/tutorial) or [GitHub Codespace](https://github.com/features/codespaces) as it has the tools you'll need installed.1. Set values in `./terragrunt/env/dev/env_vars.hcl`.
1. Set your AWS account ID and region in the `Makefile`.
1. Run the following:
```bash
make setup
```## Architecture
1. This creates an ECS Fargate cluster with a `zitadel` service running.
1. The database is an Aurora Postgres Serverless V2 cluster with an RDS proxy to handle connection pooling.
1. This is fronted by an ALB.
1. The VPC has two public subnets (with the ALB) and two private subnets (with the ECS Fargate cluster and RDS cluster).## Add another environment
Copy the `./terragrunt/env/dev` directory and update `env_vars.hcl` file with new values.