> ## 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.

# GCP Cloud Run executor

> Execute block runs in separate jobs.

If your Mage app is deployed on GCP Cloud Run, you can choose to launch separate GCP Cloud Run jobs to execute blocks.

How to configure pipeline to use GCP cloud run executor:

1. Update Project's metadata.yaml

```yaml theme={"system"}
gcp_cloud_run_config:
  path_to_credentials_json_file: "/path/to/credentials_json_file"
  project_id: project_id
  timeout_seconds: 600
```

2. Update the `executor_type` of block to `gcp_cloud_run` in pipeline's metadata.yaml:

```yaml theme={"system"}
blocks:
- uuid: example_data_loader
  type: data_loader
  upstream_blocks: []
  downstream_blocks: []
  executor_type: gcp_cloud_run
  ...
```

Customizing compute resource for GCP Cloud Run executor is coming soon.

***

## Resource management

> [card] [Get started for free](https://cloud.mage.ai/sign-up?source=gcp-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=gcp-executor)


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