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.

Prerequisites

Workflows

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.

Additional Docs

If you are new to Azure Resource Manager templates, see: