Health check for Streamlit app running on ECS / Fargate

I’m running a streamlit app in a docker container using ECS / Fargate.

I want to configure health checks on the ELB, the default path is /ping. Currently there is no /ping url on my app, so the health check is failing and restarting my service.

How do I configure health checks for a streamlit app?

Hi @AditSanghvi94 -

Though I’ve never done it with Fargate, could you ping /healthz instead? That should return β€œok” as the content if the app is still running.

Best,
Randy

3 Likes

Thanks randy, i pinged / instead and that worked

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.