简体   繁体   中英

SQL Server Express Fargate health check

How do you add a Healthcheck that will pass for a AWS TargetGroup to sit in front of an SQL Server Express container running in ECS/Fargate?

Do I need to have a ghetto side car service hosting "OK" on a port that I can use to verify it's working?

You would need to use a Network Load Balancer for this, not an ALB. For the target group you would configure a TCP health check, not HTTP/HTTPS. A TCP health check just verifies that a TCP connection can be established. You would configure the TCP health check to connect to the SQL Server port.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM