-
Notifications
You must be signed in to change notification settings - Fork 10
Labels
Description
Now that the check in endpoint is implemented in ECS thanks to ooni/backend#951 , we need a few more things to have it deployed in prod:
- Setup the clickhouse database to pull data from. This is done through this configuration:
devops/tf/environments/dev/main.tf
Line 352 in 59a607f
CLICKHOUSE_URL = data.aws_ssm_parameter.clickhouse_readonly_url.arn - Also note that we have to decide how to connect the clickhouse database to production, in dev we're just using a testing copy and in production is not connected at all
- Set up the clickhouse proxy configuration to read data from the right database
- Setup the load balancer to direct requests to
/check-in
to the ECS service:devops/tf/modules/ooniapi_frontend/main.tf
Lines 157 to 158 in e9ccea7
# Activate this when the DB is connected in prod # "/api/v1/check-in*"