Azure Resource Manager Templates
Learn how to use Azure Resource Manager (ARM) JSON and Bicep templates to manage NGINXaaS for Azure.
NGINXaaS deployments can be managed using the ARM API or the Azure CLI with ARM template deployments using JSON or Bicep formats. These deployments can be made locally or in a continuous integration pipeline. This document outlines common workflows using the ARM API. You can find example code to manage NGINXaaS deployments and related objects in the NGINXaaS GitHub repository, NGINXaaS Snippets.
- NGINXaaS Prerequisites
- Azure CLI Installation
- You need to be logged in to your Azure account through the CLI if you are using that for template deployment, see Azure CLI Authentication
- See NGINXaaS Snippets for an example template to create the prerequisite resources.
Create or update a deployment
See NGINXaaS Snippets for an example template to create or update deployment resources.
Create or update a certificate
Create or update a certificate under a deployment. This references an existing certificate in an Azure Key Vault and makes it available to the NGINX configuration. See NGINXaaS Snippets for an example template to create or update certificate resources.
Create or update a configuration
Create or update the default configuration for a deployment using a gzipped archive based on the NGINXaaS documentation below. See NGINXaaS Snippets for an example template to create or update configuration resources.
If you are new to Azure Resource Manager templates, see: