---
title: Azure Integration Services L2 Container Diagram Example
description: Azure Integration Services L2 Container diagram example with copy-paste Mermaid markup. Shows core and supporting Azure services, such as Logic Apps, Service Bus, API Management, and Azure Functions, with common enterprise message flows for Order-to-Cash.
---

# :fa-container-storage: Azure Integration Services L2 Container Diagram Example

This Azure container diagram is the L2 view of the [Azure Integration Services example set][Azure Overview]. It zooms into the integration platform from the [L1 Context example][L1 Example] and presents a practical Azure Integration Services architecture that enterprise teams commonly deploy.

It includes request/response, publish/subscribe, event-driven integration, file processing, and scheduled synchronization patterns. Copy the `C4Container` markup below and follow [Import Your First C4 Diagram][] to import it into a [C4 Diagram Set][What is a C4 Diagram Set?]. See [C4 Diagrams][] for the concepts.

:new7.12: An L2 shows the inside of one [System][Systems], its Architectural Scope:

* The `System_Boundary` named *Azure Integration Services* is the diagram's subject boundary. The import wizard takes the scope from it when its name matches a System, and its row in Review & Resolve shows *Follows the scope*. The L1's import creates that System ([Before you import][Azure Overview#before-you-import]); on a Repository without it, the Scope step offers **Use the System this import creates: Azure Integration Services**. In the Designer its binding is derived from the scope and read-only.
* `Container` nodes bind to a [Service][Services] or a [Contract][Contracts] in your [Repository Model][], never to a System. **Resolve All** creates a Service for each Container without a match, such as *Storage Account*, *Key Vault*, and *Application Insights* here, and a Container drawn inside the `System_Boundary` gives a Service of *Azure Integration Services*. To keep one unbound, open its row and choose **Leave unbound**; [Diagram Assistance][] then flags it with the hint *Unbound element*.
* Other Systems, such as Portal and ERP, are drawn outside the boundary as `System_Ext` and bind to their Systems. A `Container` named after a System is imported as an unbound placeholder with the note to draw it as a System shape.
* The generic `Boundary(…, "Domain")` groupings inside are allowed on an L2. **Resolve All** creates a [Domain][Domains] for each one that matches none; to keep one an unbound grouping, choose **Leave unbound** on its row.

![Azure Integration Services L2 Container diagram: the Azure Integration Services System Boundary with three Domain groupings and ten Containers bound to Services, the external Systems above (7.12)][1]  
*The L2 Container diagram after importing the Mermaid markup on this page, showing workflow, messaging, API, function, storage, security, and monitoring containers.*  

## Example Diagram

<table>
<tr>
<th>:fa-eye: Preview</th>
<th>:fa-code: Mermaid Code</th>
</tr>
<tr>
<td>

```mermaid
C4Container
    title Azure Integration Services Runtime - Container View
    System_Boundary(azure_integration_services, "Azure Integration Services") {
        Boundary(ais_experience, "Experience and API Edge", "Domain") {
            Container(api_management, "API Management", "REST API Gateway", "Publish and secure enterprise APIs")
        }
        Boundary(ais_workflow, "Workflow and Processing", "Domain") {
            Container(order_workflow, "INT1337-RCV-Order-Incoming", "Logic Apps", "Order intake and validation orchestration")
            Container(invoice_workflow, "INT1337-INV-Order-Invoiced", "Logic Apps", "Invoice processing and posting orchestration")
            Container(sync_workflow, "INT1337-PLN-Order-Scheduled", "Logic Apps", "Scheduled production and master data synchronization")
            Container(function_worker, "Azure Functions - Enrichment", "Azure Functions", "Custom validation and transformation")
        }
        Boundary(ais_messaging, "Messaging and Platform Services", "Domain") {
            ContainerQueue(order_topic, "Service Bus Topic - Order Events", "Service Bus", "Publish/subscribe order event backbone")
            ContainerQueue(invoice_queue, "Service Bus Queue - Invoice Requests", "Service Bus", "Reliable asynchronous invoice processing")
            Container(storage_account, "Storage Account", "Blob Storage", "File landing zone and archive")
            Container(key_vault, "Key Vault", "Secrets Management", "Secret and certificate store")
            Container(app_insights, "Application Insights", "Monitoring", "Telemetry, traces, and alert signals")
        }
    }
    System_Ext(portal, "Portal", "Customer-facing order capture and confirmation")
    System_Ext(erp, "ERP", "Order and inventory system")
    System_Ext(erp_finance, "ERP-Finance", "Invoice and payment system")
    System_Ext(wms, "Warehouse Management System", "Fulfillment system")
    System_Ext(payment_gateway, "Payment Gateway", "Processes customer credit card payments")
    SystemDb_Ext(carrier_tracking, "Carrier Tracking DB", "Provides delivery confirmation status")
    SystemQueue_Ext(edi_gateway, "EDI Gateway", "B2B document exchange")
    Rel(portal, api_management, "Submit order", "HTTPS, JSON")
    Rel(api_management, order_workflow, "Order API request/response", "HTTPS")
    Rel(order_workflow, order_topic, "Publish order events", "AMQP")
    Rel(order_topic, function_worker, "Subscribe and enrich", "AMQP")
    Rel(function_worker, erp, "Create or update order", "REST, SOAP")
    Rel(order_workflow, wms, "Create fulfillment request", "REST")
    Rel(invoice_workflow, invoice_queue, "Enqueue invoice request", "AMQP")
    Rel(invoice_queue, erp_finance, "Post invoice", "REST")
    Rel(sync_workflow, erp_finance, "Publish schedule and finance status", "REST")
    Rel(order_workflow, storage_account, "Write inbound/outbound documents", "Blob")
    Rel(order_workflow, payment_gateway, "Authorize payment", "REST")
    Rel(sync_workflow, carrier_tracking, "Read delivery status", "REST")
    BiRel(invoice_workflow, edi_gateway, "Exchange order and invoice documents", "AS2")
    Rel(order_workflow, key_vault, "Read secrets", "Managed Identity")
    Rel(invoice_workflow, key_vault, "Read secrets", "Managed Identity")
    Rel(sync_workflow, key_vault, "Read secrets", "Managed Identity")
    Rel(order_workflow, app_insights, "Write telemetry", "Telemetry")
    Rel(invoice_workflow, app_insights, "Write telemetry", "Telemetry")
    Rel(sync_workflow, app_insights, "Write telemetry", "Telemetry")
```

</td>
<td>

```text
C4Container
    title Azure Integration Services Runtime - Container View
    System_Boundary(azure_integration_services, "Azure Integration Services") {
        Boundary(ais_experience, "Experience and API Edge", "Domain") {
            Container(api_management, "API Management", "REST API Gateway", "Publish and secure enterprise APIs")
        }
        Boundary(ais_workflow, "Workflow and Processing", "Domain") {
            Container(order_workflow, "INT1337-RCV-Order-Incoming", "Logic Apps", "Order intake and validation orchestration")
            Container(invoice_workflow, "INT1337-INV-Order-Invoiced", "Logic Apps", "Invoice processing and posting orchestration")
            Container(sync_workflow, "INT1337-PLN-Order-Scheduled", "Logic Apps", "Scheduled production and master data synchronization")
            Container(function_worker, "Azure Functions - Enrichment", "Azure Functions", "Custom validation and transformation")
        }
        Boundary(ais_messaging, "Messaging and Platform Services", "Domain") {
            ContainerQueue(order_topic, "Service Bus Topic - Order Events", "Service Bus", "Publish/subscribe order event backbone")
            ContainerQueue(invoice_queue, "Service Bus Queue - Invoice Requests", "Service Bus", "Reliable asynchronous invoice processing")
            Container(storage_account, "Storage Account", "Blob Storage", "File landing zone and archive")
            Container(key_vault, "Key Vault", "Secrets Management", "Secret and certificate store")
            Container(app_insights, "Application Insights", "Monitoring", "Telemetry, traces, and alert signals")
        }
    }
    System_Ext(portal, "Portal", "Customer-facing order capture and confirmation")
    System_Ext(erp, "ERP", "Order and inventory system")
    System_Ext(erp_finance, "ERP-Finance", "Invoice and payment system")
    System_Ext(wms, "Warehouse Management System", "Fulfillment system")
    System_Ext(payment_gateway, "Payment Gateway", "Processes customer credit card payments")
    SystemDb_Ext(carrier_tracking, "Carrier Tracking DB", "Provides delivery confirmation status")
    SystemQueue_Ext(edi_gateway, "EDI Gateway", "B2B document exchange")
    Rel(portal, api_management, "Submit order", "HTTPS, JSON")
    Rel(api_management, order_workflow, "Order API request/response", "HTTPS")
    Rel(order_workflow, order_topic, "Publish order events", "AMQP")
    Rel(order_topic, function_worker, "Subscribe and enrich", "AMQP")
    Rel(function_worker, erp, "Create or update order", "REST, SOAP")
    Rel(order_workflow, wms, "Create fulfillment request", "REST")
    Rel(invoice_workflow, invoice_queue, "Enqueue invoice request", "AMQP")
    Rel(invoice_queue, erp_finance, "Post invoice", "REST")
    Rel(sync_workflow, erp_finance, "Publish schedule and finance status", "REST")
    Rel(order_workflow, storage_account, "Write inbound/outbound documents", "Blob")
    Rel(order_workflow, payment_gateway, "Authorize payment", "REST")
    Rel(sync_workflow, carrier_tracking, "Read delivery status", "REST")
    BiRel(invoice_workflow, edi_gateway, "Exchange order and invoice documents", "AS2")
    Rel(order_workflow, key_vault, "Read secrets", "Managed Identity")
    Rel(invoice_workflow, key_vault, "Read secrets", "Managed Identity")
    Rel(sync_workflow, key_vault, "Read secrets", "Managed Identity")
    Rel(order_workflow, app_insights, "Write telemetry", "Telemetry")
    Rel(invoice_workflow, app_insights, "Write telemetry", "Telemetry")
    Rel(sync_workflow, app_insights, "Write telemetry", "Telemetry")
```

</td>
</tr>
</table>

## Component Type Highlights

* :fa-gears: Workflow components: Logic Apps
* :fa-envelope: Messaging components: Service Bus Queue and Topic
* :fa-link: API component: API Management
* :fa-bolt: Function component: Azure Functions
* :fa-database: Storage component: Storage Account
* :fa-key: Security component: Key Vault
* :fa-chart-line: Monitoring component: Application Insights

## Import-Friendly Notes

* `ContainerQueue` is used for Service Bus queue/topic elements to drive queue/messaging type hints.
* Technology labels include strong inference terms such as `Service Bus`, `Blob Storage`, and `Azure Functions`.
* Container names match the Services exactly (no suffix such as *(Logic App)*), because the import matches names exactly, ignoring case.
* :new7.12: Relationship technologies list protocols with commas. The import reads the text after ` / ` as a [Message Type][Message Types] by exact name.

## :fa-arrows-rotate: What a Round Trip Keeps {#round-trip}

:new7.12: Import this example, open the diagram's **Mermaid** view, and click **Copy Mermaid source**. The copied markup keeps the level, the title, every element with its alias, name, technology, and description, every boundary, and every relationship with its label and technology. Three things change:

* Each bound element gets a `%% nodinite:node alias=…;kind=…;repoType=…;repoId=…` comment line. Mermaid ignores it, and a re-import reads it back as the binding.
* An element with a [Component Type][Component Types] gets `| Component type: <name>` at the end of its description.
* The order: the external Systems come first, then the `System_Boundary` with its groupings, then the relationships.

![The imported Azure L2, its Mermaid view, Copy Mermaid source, and a comparison of the example on this page with the copied source, the changed lines marked, animated walkthrough (7.12)][RoundTrip]  
*Animated walkthrough: the last frame is a plain comparison page made for this walkthrough, not a :Nodinite: screen: the example on the left, the copied source on the right.*  

## :fa-hand-point-right: Next Steps

* :fa-cube: [L3 Component Diagram Example][L3 Example]  
* :fa-cloud: [Azure Integration Services Example Set][Azure Overview]  
* :fa-upload: [Import Your First C4 Diagram][]  

## :fa-link-horizontal: Related Topics

* :fa-sitemap: [L1 Context Diagram Example][L1 Example]  
* :fa-server: [BizTalk L2 Container Diagram Example][BizTalk L2]  
* :fa-route: [Migration L2 Container Diagram Example][Migration L2]  
* :fa-book: [C4 Example Library Overview][Examples Overview]  
* :fa-table: [C4 Model vs Nodinite Concept Mapping][]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Examples/Azure/Container.png

[Azure Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Azure/Overview.md
[Azure Overview#before-you-import]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Azure/Overview.md#before-you-import
[BizTalk L2]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/BizTalk/L2%20Container%20Diagram%20Example.md
[C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[C4 Model vs Nodinite Concept Mapping]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/C4%20Model%20vs%20Nodinite%20Concept%20Mapping.md
[Component Types]:{ndr}/Repository%20Model/Component%20Types/Overview.md
[Contracts]:{ndr}/Getting%20Started/4.%20Repository/Contracts/Overview.md
[Diagram Assistance]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Assistance.md
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Examples Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Overview.md
[Import Your First C4 Diagram]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Import%20Your%20First%20C4%20Diagram.md
[L1 Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Azure/L1%20Context%20Diagram%20Example.md
[L3 Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Azure/L3%20Component%20Diagram%20Example.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Migration L2]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Migration/L2%20Container%20Diagram%20Example.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[RoundTrip]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Examples/C4Example_ExampleToMermaidRoundTrip.gif
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[What is a C4 Diagram Set?]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20a%20C4%20Diagram%20Set.md