Introduction
In this blog post, we will walk through deploying a Boomi Atom in Azure Container Apps using Azure DevOps. This is part of our video series on implementing Boomi in Azure DevOps, where we use Azure Verified Modules (AVM) Bicep templates to automate the provisioning of our infrastructure.
We will focus on deploying to two different environments using YAML pipelines, variable groups, environments, and service connections. Our approach follows DevOps best practices, using a feature branch for development before promoting changes to production via the main branch.
By the end of this guide, you will have:
✅ A structured repository for managing Bicep deployments
✅ A secure and automated pipeline in Azure DevOps
✅ A deployment strategy leveraging service connections, variable groups, and environments
It is recommended to read or watc my first episode on this subject .
High Level Design
Before diving into the setup, let’s take a look at our high-level design. The architecture consists of:
- Azure DevOps Pipelines: Automates the deployment of Boomi Atom within Azure Container Apps.
- Two Environments:
- Development (Deployed using feature branches)
- Production (Deployed via the main branch)
- Azure DevOps Variable Groups: Stores configuration settings for each environment.
- Azure DevOps Environments: Used to define the approval process and security policies.
- Service Connections: Securely connects Azure DevOps to Azure for deployment.
- Bicep Templates: Infrastructure-as-Code (IaC) to deploy Boomi in Azure.
This structured approach ensures repeatable, consistent, and secure deployments.

Setting Up the Repository and Branch Policies
Before diving into the setup, let’s take a look at our high-level design. The architecture consists of:- Azure DevOps Pipelines: Automates the deployment of Boomi Atom within Azure Container Apps.
- Two Environments:
- Development (Deployed using feature branches)
- Production (Deployed via the main branch)
- Azure DevOps Variable Groups: Stores configuration settings for each environment.
- Azure DevOps Environments: Used to define the approval process and security policies.
- Service Connections: Securely connects Azure DevOps to Azure for deployment.
- Bicep Templates: Infrastructure-as-Code (IaC) to deploy Boomi in Azure.
Azure DevOps Setup
1️⃣ Service Connections
Service Connections allow secure authentication between Azure DevOps and Azure.- Create an Azure Service Connection in DevOps (
Azure Resource Manager→Service Principal). - Grant Owner access to the target subscription.
- Use this connection in the pipeline to deploy infrastructure.
2️⃣ Variable Groups
Variable Groups store environment-specific values like resource names.- Create two variable groups in DevOps:
Boomi-Dev-Variables(for Development)Boomi-Prod-Variables(for Production)
| Variable | Value | Comments |
|---|---|---|
| `AZURERESOURCEREGION` | `westeurope` | Azure region for resource deployment. |
| `AZURESERVICECONNECTION` | `serviceConnection-Development` | Service connection for Azure subscription. |
| `BICEPPARAMETERFILE` | `main.parameters.dev.json` | Parameter file for Bicep deployment. |
| `BOOMIENVIRONMENTID` | `{yourBoomiEnvId}` | Leave blank if not available upfront. |
| `AZURESERVICECONNECTION` | `********` | Service Connection from Devops to your subscription. |
| `BICEPPARAMETERFILE` | `main.parameters.dev.json` | Parameter file of your main.bicep |
3️⃣ Azure DevOps Environments
Environments in DevOps allow gated approvals and security policies.- Create two environments:
Development(automatic deployment)- Production (requires approval before deployment)
The Deployment Pipeline
We use YAML-based pipelines in Azure DevOps to automate the deployment.
1️⃣ Build Stage (Bicep Compilation & Artifact Publishing)
Located in build-stage-bicep.yml, this job validates and compiles the Bicep templates before deploying.
📌 What this does:
✅ Validates the Bicep file before deployment.
✅ Publishes the compiled Bicep template as an artifact.
2️⃣ Release Stage (Deploy to Azure using Bicep)
Located in release-stage-bicep.yml, this job deploys the Boomi Atom infrastructure in Azure.
📌 What this does:
✅ Uses Azure CLI to deploy Bicep templates.
✅ Deploys to the configured environment (Dev or Prod).
✅ Pulls parameters from variable groups.
3️⃣ CI/CD Pipeline (Orchestrating the Deployment Process)
Located in azure-pipelines.yml, this pipeline defines the complete CI/CD workflow for deploying a Boomi Atom in Azure Container Apps. It ensures that infrastructure changes follow a structured, automated, and controlled deployment process across Development and Production environments.
📌 What this does:
✅ Triggers automatically on changes to main or feature/* branches.
✅ Builds the Bicep template and publishes it as an artifact.
✅ Deploys to Development for feature branches.
✅ Deploys to Production when changes are merged into main.
✅ Uses Variable Groups to manage environment-specific configurations.
✅ Implements gating & approvals for Production deployments.
🔑 Key Takeaways from This Pipeline
| Feature | Description |
|---|---|
| Triggers | Runs on main and feature/* branches. |
| Build Stage | Compiles Bicep and stores it as an artifact. |
| Development Deployment | Runs on feature branches for testing. |
| Production Deployment | Runs only on main, enforcing controlled releases. |
| Service Connection | Securely connects DevOps with Azure for deployments. |
| Variable Groups | Manages environment-specific configurations. |
| Environments | Gates production deployments for approval. |
Deployment Workflow
1️⃣ Developer creates a feature branch and updates Bicep files.
2️⃣ Build pipeline (build-stage-bicep.yml) compiles Bicep and stores it in DevOps artifacts.
3️⃣ Release pipeline (release-stage-bicep.yml) deploys to Dev (automated).
4️⃣ Once validated, the developer merges into main.
5️⃣ Production deployment requires manual approval.




0 Comments