Skip to main content

Deploying Endatix on Azure

Endatix consists of two primary bounded contexts: the Endatix API (.NET 10 backend) and the Endatix Hub (Next.js frontend). Both can be natively deployed to Azure using our included Infrastructure as Code (Bicep) templates.

Whether you are looking to spin up a quick sandbox, or you are looking to plan and provision a production-ready environment, this guide covers the core architecture and the right deployment path for you.

Before you continue

Do you prefer a containerized local sandbox? Check out our Docker Setup Guide.


🏗️ Azure Solution Architecture

The Endatix Azure deployment utilizes a modern, scalable, and secure architecture. Using our Bicep templates and parameter files, the following core resources are provisioned:

Login flow diagramLogin flow diagram
  • Endatix API: Deployed as an App Service (Linux Web App) running on a shared App Service Plan. It handles core business logic, form submissions, and data management.
  • Endatix Hub: The Next.js management frontend. Depending on your configuration (hubDeploymentMode), this is deployed either as an Azure Static Web App (default, highly cost-effective) or as a dedicated App Service Web App (Node.js runtime).
  • Database (PostgreSQL or Azure SQL): Endatix supports both Azure Database for PostgreSQL Flexible Server and Azure SQL Database (MS SQL Server) for reliable, scalable relational data storage for the Endatix API.
  • Storage Account: Manages form submission files and assets. Includes specific containers and blob configurations. Blobs can be configured as public or private by toggling the storageIsPrivate parameter.
  • Application Insights: Integrated with a Log Analytics workspace, this provides out-of-the-box distributed tracing, application performance monitoring, and OpenTelemetry (OTel) compatibility.
  • Virtual Network (VNet) [Optional]: For production-ready environments, you can set enablePostgresqlPrivateNetwork to true. This provisions a managed VNet (or integrates with your own), securing the PostgreSQL database by removing public internet access and ensuring traffic only flows securely from the Endatix API.

🚀 Deployment Paths

We provide a comprehensive, interactive deployment guide and scripts within the Endatix repository.

Choose the path that matches your current goal:

Use this path when you want to evaluate Endatix quickly on Azure without setting up CI/CD first.

  1. Interactive setup: Run the generate-quickstart-secrets CLI. The script generates secure secrets, creates your parameters.production.bicepparam file, and provisions infrastructure via Azure CLI.
  2. Local build and deploy: Build the .NET API and Next.js Hub locally, then deploy artifacts to Azure App Service and Static Web App using az webapp deployment and swa cli.
node generate-quickstart-secrets.mjs