Ben Simpson
04/26/2024, 1:49 AMaws_service_discovery_private_dns_namespace
- Create aws_service_discovery_service
using the namespace with a low TTL. We're using 10s at the moment.
- Attach service discovery to aws_ecs_service
using service_registries
- Set SPICEDB_DISPATCH_UPSTREAM_ADDR
to dns:///spicedb.your_namespace:50053
- Set up an ALB and a target group configured to use GRPC
protocol and a health check like
healthcheck = {
path = "/grpc.health.v1.Health/Check"
timeout = 5
interval = 10
matcher = 0
}
vroldanbet
04/26/2024, 9:10 AMvroldanbet
04/26/2024, 9:10 AMBen Simpson
04/26/2024, 9:12 AMBen Simpson
04/26/2024, 9:13 AMvroldanbet
04/26/2024, 9:18 AMvroldanbet
04/26/2024, 9:19 AMvroldanbet
04/26/2024, 9:22 AMBen Simpson
04/26/2024, 9:47 AMBen Simpson
04/26/2024, 9:52 AMvroldanbet
04/26/2024, 9:53 AMBen Simpson
04/26/2024, 9:55 AMvroldanbet
04/26/2024, 9:55 AMvroldanbet
04/26/2024, 9:56 AMvroldanbet
04/26/2024, 9:56 AMBen Simpson
04/26/2024, 9:57 AMvroldanbet
04/26/2024, 9:58 AMBen Simpson
04/26/2024, 10:00 AMvroldanbet
04/26/2024, 10:01 AMvroldanbet
04/26/2024, 10:01 AMvroldanbet
04/26/2024, 10:02 AMvroldanbet
04/26/2024, 10:02 AMyetitwo
04/26/2024, 4:23 PM