Azure Resources - APIs
Nitric APIs are deployed to Azure using Azure API Management.
The following resources are created when deploying APIs to Azure:
- API Management Service
- Container Apps
- ACR Images
- Azure Resource Group
The resource group stores metadata about the resources. All metadata is stored in the region nominated by the region which you have configured.
Azure Container Apps are currently in preview in the US East 2 region.
During deployment the Nitric CLI builds your API's routes, methods and handlers will be built as follows:
- Files referenced by the
handlerskey in the
nitric.yamlfile are built into container images
- Built container images are pushed to the Azure Container Registry as private images
- Container Apps are setup to run the containers
- All route/handler mappings are built into an Open API v3 definition file
- The API definition and Resource Group is deployed as an API Management hosted API