AWS Terraform deployment
Information specific to CiviForm Terraform deploy scripts for AWS.

AWS System Diagram
Created for CiviForm app:
- VPC
- Load balancer
- Internet Gateway
- NAT Gateway
- Fargate ECS cluster
- RDS with Postgres
- S3 bucket
Connected services
- SES
- Secrets Manager
Supporting Infrastructure:
- S3 bucket for Terraform backend state
- Cloudwatch export for logs
After running the
setup
or deploy
script, you can login to the AWS ECS console to check the status of CiviForm. Make sure to select correct region in the top right corner.You should see Cluster with app_preffix-civiform name. Click on it and go to Tasks tab. If everything is going well you should see a task in the Running state.

You can see the task configuration by clicking on the Task definition tab, finding the latest revision, and opening the JSON tab.

You can see the logs on the task page by clicking into the specific task and selecting Logs.

Logs are also available in Cloudwatch. Search for app_prefix-civiformlogs group.

Last modified 6mo ago