Endpoints
Endpoints
Deploy a workload that scales to zero and answers a call when one comes in.
An endpoint is a workload that stays behind a URL and answers calls, rather than running once to completion. Point it at an image and a port, and Aquanode routes calls to it, renting a machine when one is needed and releasing it when the queue is empty.
Endpoints live under Endpoints in the console sidebar, and are created there directly: nothing about creating one sends you to the Pods or Jobs page first.
What serves
Two starting points, both on the Endpoints create page itself:
- Your own image. Give it a public (or private, via a registry secret) image
reference and the port it listens on. The image's own
CMDis the server; there is no separate start command to fill in. - A saved pod version. Pick one of your team's pod versions inline, on the same page, without leaving it.
Either way you set:
| Field | What it is | Default |
|---|---|---|
| Port | The port your server listens on | 8000 |
| Path | The path a call is sent to | / |
| Method | The HTTP method a call uses | POST |
Next
- Scaling: queue-depth scaling, keeping one instance warm, and cold starts
- Calling an endpoint: tokens, the URL, and reading a result back