Skip to content

Deploy ECS check-in to prod #227

@LDiazN

Description

@LDiazN

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:
    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:
    # Activate this when the DB is connected in prod
    # "/api/v1/check-in*"

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions