An open API service indexing awesome lists of open source software.

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

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.