Application
The Remix application is based on the Hono application server.
It integrates with:
- logging
- tracking cookie
- authentication for specific environments
- compression
- health checks
- application secrets
Health Check for Fargate
Health checks are used by load-balancers and deployment tools to identify if an application is in a healthy state and could be used to serve traffic.
[!NOTE] This is only used by Fargate. For lambda there is not sense in using health checks as the functions do not have the same understanding of instances.
It's possible to provide a health check from your Remix application. It has to
be created on your applications base path and have to be called __health (for
example /sso/__health).
In addition the health check has to send either the ELB user-agent or use the statista internal user-agent.
The route for the health check has to be exact like that to allow an exception for the CDN authentication header.