> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mage.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure Container Instance executor

> Execute block runs in separate container instances.

If your Mage app is deployed on Microsoft Azure with Mage’s [Terraform](https://github.com/mage-ai/mage-ai-terraform-templates/tree/master/azure)
scripts, you can choose to launch separate Azure container instances to execute blocks.

How to configure pipeline to use Azure Container Instance executor:

1. Update Project's metadata.yaml

```yaml theme={"system"}
azure_container_instance_config:
  cpu: 1
  memory: 2
```

2. Update the `executor_type` of the block to `azure_container_instance` in pipeline's metadata.yaml and specify `executor_config` optionally.
   The block level executor\_config will override the global executor\_config.

```yaml theme={"system"}
blocks:
- uuid: example_data_loader
  type: data_loader
  upstream_blocks: []
  downstream_blocks: []
  executor_type: azure_container_instance
  executor_config:
    cpu: 1
    memory: 2
  ...
```

***

## Resource management

> [card] [Get started for free](https://cloud.mage.ai/sign-up?source=azure-executor)
>
> ![](https://mage-ai.github.io/assets/pro/banner-dark.png)
>
> A fully managed service, where we maintain the infrastructure, guarantee uptime,
> automatically scale your workloads to handle any volume of pipeline runs,
> automatically upgrade new versions of Mage Pro only features,
> monitor your production pipelines, and provide enterprise level support.

[Get started with Mage Pro for free](https://cloud.mage.ai/sign-up?source=azure-executor)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.