https://github.com/the-strategy-unit/nhp_api
https://github.com/the-strategy-unit/nhp_api
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/the-strategy-unit/nhp_api
- Owner: The-Strategy-Unit
- License: mit
- Created: 2023-04-03T09:45:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T15:14:02.000Z (over 1 year ago)
- Last Synced: 2025-03-12T16:26:07.583Z (over 1 year ago)
- Language: Python
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# nhp_api
This repository is a set of [Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview?pivots=programming-language-python) for managing [Azure Container Instances](https://azure.microsoft.com/en-gb/products/container-instances) (ACI).
Specifically, when we want to start a model run, our Posit Connect server needs to be able to start a container instance.
However, because the connect server is public, giving the ability to directly start containers from this server is a security risk.
These functions are intended to sit between the connect server and ACI; the connect server will make a request to one of the Function endpoints, which in turn will manage container instances.
# deployment
Functions are deployed to Azure Functions via GitHub actions - commiting to the `main` branch will trigger a deployment.