All Products
Search
Document Center

Data Management:Prepare resources for Airflow

Last Updated:Mar 28, 2026

Before creating an Airflow instance in Data Management Service (DMS), set up the cloud resources it depends on. This page explains what to prepare and how to configure Internet access if your workflows need it.

What you'll need

ResourcePurposeRequired
Object Storage Service (OSS) bucketStores Airflow logs, dependent Python libraries, and task output dataYes
Internet NAT gateway + Elastic IP Address (EIP)Routes outbound Internet traffic from the Airflow VPCOnly if your Airflow instance needs Internet access
All resources must be in the same region as your Airflow instance. For supported regions, see Supported regions and zones.

Create an OSS bucket

DMS automatically retrieves bucket information from the OSS console. No manual registration is needed.
  1. Go to the Buckets page and click Create Bucket.

  2. Enter a bucket name and select the same region as your Airflow instance.

  3. Scroll to the bottom and click Create. Follow the on-screen instructions to complete the process. For more information, see Quick Start.

  4. In the bucket, create a folder to store Airflow data.

Enable Internet access for Airflow (optional)

Skip this section if your Airflow instance does not need to access the Internet.

To route outbound traffic from the Airflow VPC to the Internet, create an Internet NAT gateway and associate it with an EIP. This involves two steps: getting the VPC ID of your workspace, then creating the NAT gateway in that VPC.

Get the VPC ID of your workspace

  1. Log on to the DMS console V5.0.

  2. Go to the Workspace page: click the 2023-01-28_15-57-17.png icon in the upper-left corner and choose All Features > Data+AI > Workspace.

    If you are not using the simplified console, choose Data+AI > Workspace from the top menu bar.

    screenshot_2025-08-28_10-26-34

  3. Click the name of the target workspace.

  4. In the lower-left corner, click the Settings image icon, select Workspace Management, and note the VPC ID.

    image

Create an Internet NAT gateway

  1. Log on to the VPC console.

  2. In the navigation pane, click NAT Gateway > Internet NAT Gateway.

  3. On the Internet NAT Gateway page, click Create Internet NAT Gateway.

  4. On the purchase page, set the following parameters and click Buy Now in the lower-right corner.

    ParameterDescription
    Instance NameName of the Internet NAT gateway instance
    RegionMust match the region of your workspace
    Network and ZoneMust match the VPC of your workspace
    Network TypeSelect Internet NAT Gateway
    EIPSelect Select EIP if you already have an EIP in the same region. Otherwise, click Purchase EIP
  5. On the Parameters page, verify the settings and click Activate Now.

  6. Wait for the purchase to complete. The Purchase succeeded! message confirms the gateway is ready.