# Built in HTTP Health Check | Cycle.io

Canonical URL: https://cycle.io/community/threads/681d02087df43abf579442c9/built-in-http-health-check

## Built in HTTP Health Check

[feature-request](https://cycle.io/community/categories/feature-request)

Our containers are generally built with minimal dependencies so as to minimize the attack surface. This means they don't normally have curl/wget/netcat. There is a funky shell trick, but it's .... ugly. Would it be possible to add a cycle-native HTTP/HTTPS health check?

Ugly Script

Copy

```plain
exec 3<>/dev/tcp/localhost/5000 && \
  echo -e "GET /_ah HTTP/1.1\r\nHost: localhost\r\nConnection: close\r\n" >&3 && \
  cat <&3 | grep 200
```

-   Christopher Aubuchon...
    
    Hi Michael! Thanks for bringing this up. We've built but are continuing to expand our external monitoring service, but right now it only pings to check if a service is reachable. I can see us expanding this to include making http requests and looking for a 200 or something for availability, controlled from the portal/api.
    
-   Michael Third...
    
    This would be for the container setup itself (is it ready? is it still working?)
    
    ![45cd4e34dd2fa8e1b2bd983b71d15b80.png](https://cycle.io/community/_cdn/community-06c667e2-45cd4e34dd2fa8e1b2bd983b71d15b80-918x835-webp.webp)
    
-   Jeff Klink...
    
    k8s implements a 'is it ready' for health\_checks which is often important if running db migrations or other before the container is ready. If you hit a larger db and are migrating columns or other makes these pre-checks necessary.
    
    A general 'tcp/http' health check would be uber beneficial as many folks are probably just hacking it in as above. I'm a +1 for this feature suggestion.
    
-   Alexander Mattoni...
    
    Thanks for the feedback everyone - as Chris mentioned we're going to be heavily expanding our monitoring/alerting offering over the next few months. I think this feature would slot nicely into that work. We'll keep everyone updated on what we end up doing here.
    
-   Jake Warner...
    
    Hey Michael and Jeff, work is beginning on this today. :)
    

#### Join the conversation

Sign in with your Cycle account to reply to this thread.

Sign in

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
