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.


1 Like

Thanks randy, i pinged / instead and that worked

1 Like