---
title: Alibaba Cloud
description: >-
  Alibaba Cloud, a subsidiary of Alibaba Group, provides cloud computing
  services.
breadcrumbs: Docs > Integrations > Alibaba Cloud
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Alibaba Cloud

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Use the [Alibaba Cloud integration](https://app.datadoghq.com/integrations?integrationId=alibaba-cloud) to collect metrics and logs from your Alibaba Cloud services.

*All use of Datadog Services in (or in connection with environments within) mainland China is subject to the disclaimer published in the [Restricted Service Locations](https://www.datadoghq.com/legal/restricted-service-locations/) section on our website.*

## Setup{% #setup %}

Fill out the following parameters to integrate Datadog with the Alibaba Cloud API.

#### Account name{% #account-name %}

Choose a name that helps you identify this Alibaba Cloud account in Datadog. The name is a label for the account in Datadog and does not need to match your Alibaba Cloud account ID.

#### AccessKey ID and AccessKey secret{% #accesskey-id-and-accesskey-secret %}

1. Enable [Resource Center](https://www.alibabacloud.com/help/resource-management/resource-center/product-overview/resource-center-overview) in your Alibaba Cloud account.

1. In **Resource Access Management (RAM)**, create a user with the following values:

   - **User Login Name**: `Datadog`
   - **Display Name**: `Datadog`

1. Select **Permanent AccessKey**.

1. Copy the **AccessKey ID** and **AccessKey secret**, and paste them in the corresponding Datadog account form fields.

1. For the new user, select **Add Permissions** and add the following system policy:

   ```text
   ReadOnlyAccess
   ```

To collect [Container Service for Kubernetes (ACK)](https://www.alibabacloud.com/product/kubernetes) metrics using [Managed Service for Prometheus](https://www.alibabacloud.com/product/prometheus?_p_lc=1), also attach a custom policy that allows Datadog to install the `ack-arms-prometheus` add-on on your clusters:

   ```json
   {
     "Version": "1",
     "Statement": [
       {
         "Effect": "Allow",
         "Action": "cs:InstallClusterAddons",
         "Resource": "*"
       }
     ]
   }
   ```

1. Select **Update**. After approximately 15 minutes, metrics appear in [Metric Explorer](https://app.datadoghq.com/metric/explorer). Metrics are tagged with custom tags on your resources and with tags returned by the following APIs:

   - [kvstore/redis DescribeInstances](https://www.alibabacloud.com/help/doc-detail/60933.htm)
   - [ECS DescribeInstances](https://www.alibabacloud.com/help/doc-detail/25506.htm)
   - [DescribeDBInstances](https://www.alibabacloud.com/help/doc-detail/26232.htm)
   - [DescribeLoadBalancers](https://www.alibabacloud.com/help/doc-detail/27582.htm)

#### Account tags{% #account-tags %}

**Account tags** are a list of `key:value` tags applied to all metrics and logs collected from the Alibaba Cloud account.

**Note**: The filters below evaluate tags assigned in your **Alibaba Cloud environment**.

#### Collect metrics{% #collect-metrics %}

Metric collection is enabled by default. To limit the metrics Datadog collects, set the following filters:

- **Host filters**: Limit metric collection to hosts matching these Alibaba Cloud tag filters. Datadog imports only hosts that match at least one tag.
- **Cluster filters**: Limit metric collection to clusters matching these Alibaba Cloud tag filters.

#### Collect logs{% #collect-logs %}

Toggle **Collect logs** to collect logs from [Alibaba Cloud Simple Log Service (SLS)](https://www.alibabacloud.com/help/sls/). Logs from SLS appear in the [Log Explorer](https://app.datadoghq.com/logs) with the source `alibaba-cloud`.

By default, Datadog ingests all available logs from SLS. To limit collection, use one or both of the filter fields:

- **Project tag filters**: Limit log collection to SLS projects with specified tags.
- **Logstore tag filters**: Limit log collection to logstores with specified tags.

**Note**: Datadog applies project tag filters first, then logstore tag filters. If a project is excluded by its tag filter, all of its logstores are excluded as well.

#### Collect service quota metrics{% #collect-service-quota-metrics %}

Alibaba Cloud applies quotas to the resources you can use in each account, region, and zone. When you reach a quota, provisioning requests fail. To monitor quota usage in Datadog:

1. On the [Alibaba Cloud integration tile](https://app.datadoghq.com/integrations?integrationId=alibaba-cloud), toggle **Collect service quota usage** for your account.
1. Install the [Alibaba Cloud Service Quota integration](https://docs.datadoghq.com/integrations/alibaba-cloud-service-quota.md).

Datadog then collects `alibabacloud.servicequota.*` metrics, which report each quota alongside your current usage, broken down by service, account, region, and zone. Use these metrics to create monitors that alert you when a quota approaches its limit.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

{% collapsible-section %}
#### See the full list of metric namespaces

| Integration                                                                                                     | Metric namespace                                                                                                                                              |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Application Load Balancer (ALB)](https://docs.datadoghq.com/integrations/alibaba-cloud-alb.md)                 | [`alibabacloud.alb`](https://www.alibabacloud.com/help/slb/application-load-balancer/product-overview/what-is-alb)                                            |
| [AnalyticDB for MySQL](https://docs.datadoghq.com/integrations/alibaba-cloud-analyticdb-for-mysql.md)           | [`alibabacloud.analyticdb_for_mysql`](https://www.alibabacloud.com/help/analyticdb/analyticdb-for-mysql/product-overview/what-is-analyticdb-for-mysql)        |
| [AnalyticDB for PostgreSQL](https://docs.datadoghq.com/integrations/alibaba-cloud-analyticdb-for-postgresql.md) | [`alibabacloud.analyticdb_for_postgresql`](https://www.alibabacloud.com/help/analyticdb/analyticdb-for-postgresql/product-overview/overview-product-overview) |
| [Content Delivery Network (CDN)](https://docs.datadoghq.com/integrations/alibaba-cloud-cdn.md)                  | [`alibabacloud.cdn`](https://www.alibabacloud.com/help/cdn/product-overview/what-is-alibaba-cloud-cdn)                                                        |
| [ApsaraDB for ClickHouse](https://docs.datadoghq.com/integrations/alibaba-cloud-clickhouse.md)                  | [`alibabacloud.clickhouse`](https://www.alibabacloud.com/help/clickhouse/product-overview/what-is-apsaradb-for-clickhouse)                                    |
| [Container Service](https://docs.datadoghq.com/integrations/alibaba-cloud-container-service.md)                 | [`alibabacloud.container_service`](https://www.alibabacloud.com/product/kubernetes)                                                                           |
| [Cloud Parallel File Storage (CPFS)](https://docs.datadoghq.com/integrations/alibaba-cloud-cpfs.md)             | [`alibabacloud.cpfs`](https://www.alibabacloud.com/help/cpfs/product-overview/what-is-cpfs)                                                                   |
| [DataHub](https://docs.datadoghq.com/integrations/alibaba-cloud-datahub.md)                                     | [`alibabacloud.datahub`](https://www.alibabacloud.com/help/datahub/product-overview/what-is-datahub)                                                          |
| [DataWorks](https://docs.datadoghq.com/integrations/alibaba-cloud-dataworks.md)                                 | [`alibabacloud.dataworks`](https://www.alibabacloud.com/help/dataworks/user-guide/what-is-dataworks)                                                          |
| [Dynamic Content Delivery Network (DCDN)](https://docs.datadoghq.com/integrations/alibaba-cloud-dcdn.md)        | [`alibabacloud.dcdn`](https://www.alibabacloud.com/help/dcdn/product-overview/what-is-dcdn)                                                                   |
| [Data Transmission Service (DTS)](https://docs.datadoghq.com/integrations/alibaba-cloud-dts.md)                 | [`alibabacloud.dts`](https://www.alibabacloud.com/help/dts/product-overview/what-is-dts)                                                                      |
| [Elastic Block Storage (EBS)](https://docs.datadoghq.com/integrations/alibaba-cloud-ebs.md)                     | [`alibabacloud.ebs`](https://www.alibabacloud.com/help/ecs/user-guide/elastic-block-storage-devices)                                                          |
| [Elastic Container Instance (ECI)](https://docs.datadoghq.com/integrations/alibaba-cloud-eci.md)                | [`alibabacloud.eci`](https://www.alibabacloud.com/help/eci/product-overview/what-is-elastic-container-instance)                                               |
| [Elastic Compute Service (ECS)](https://docs.datadoghq.com/integrations/alibaba-cloud-ecs.md)                   | [`alibabacloud.ecs`](https://www.alibabacloud.com/help/ecs/user-guide/what-is-ecs)                                                                            |
| [Elastic High Performance Computing (E-HPC)](https://docs.datadoghq.com/integrations/alibaba-cloud-ehpc.md)     | [`alibabacloud.ehpc`](https://www.alibabacloud.com/help/e-hpc/product-overview/what-is-e-hpc)                                                                 |
| [Elastic IP Address (EIP)](https://docs.datadoghq.com/integrations/alibaba-cloud-eip.md)                        | [`alibabacloud.eip`](https://www.alibabacloud.com/help/eip/product-overview/what-is-eip)                                                                      |
| [Elasticsearch](https://docs.datadoghq.com/integrations/alibaba-cloud-elasticsearch.md)                         | [`alibabacloud.elasticsearch`](https://www.alibabacloud.com/help/es/product-overview/what-is-alibaba-cloud-elasticsearch)                                     |
| [E-MapReduce (EMR)](https://docs.datadoghq.com/integrations/alibaba-cloud-emr.md)                               | [`alibabacloud.emr`](https://www.alibabacloud.com/help/emr)                                                                                                   |
| [Edge Security Acceleration (ESA)](https://docs.datadoghq.com/integrations/alibaba-cloud-esa.md)                | [`alibabacloud.esa`](https://www.alibabacloud.com/help/edge-security-acceleration/esa/product-overview/what-is-esa)                                           |
| [Auto Scaling (ESS)](https://docs.datadoghq.com/integrations/alibaba-cloud-ess.md)                              | [`alibabacloud.ess`](https://www.alibabacloud.com/help/auto-scaling/product-overview/what-is-auto-scaling)                                                    |
| [EventBridge](https://docs.datadoghq.com/integrations/alibaba-cloud-eventbridge.md)                             | [`alibabacloud.eventbridge`](https://www.alibabacloud.com/help/eventbridge/product-overview/what-is-eventbridge)                                              |
| [Express Connect](https://docs.datadoghq.com/integrations/alibaba-cloud-express-connect.md)                     | [`alibabacloud.express_connect`](https://www.alibabacloud.com/help/express-connect/product-overview/what-is-express-connect)                                  |
| [Realtime Compute for Apache Flink](https://docs.datadoghq.com/integrations/alibaba-cloud-flink.md)             | [`alibabacloud.flink`](https://www.alibabacloud.com/help/flink/realtime-flink/product-overview/what-is-alibaba-cloud-realtime-compute-for-apache-flink)       |
| [Function Compute](https://docs.datadoghq.com/integrations/alibaba-cloud-function-compute.md)                   | [`alibabacloud.function_compute`](https://www.alibabacloud.com/help/functioncompute/fc-3-0/product-overview/what-is-function-compute)                         |
| [Graph Database (GDB)](https://docs.datadoghq.com/integrations/alibaba-cloud-graph-database.md)                 | `alibabacloud.graph_database`                                                                                                                                 |
| [ApsaraDB for HBase](https://docs.datadoghq.com/integrations/alibaba-cloud-hbase.md)                            | [`alibabacloud.hbase`](https://www.alibabacloud.com/help/hbase/product-overview/what-is-apsaradb-for-hbase)                                                   |
| [Hologres](https://docs.datadoghq.com/integrations/alibaba-cloud-hologres.md)                                   | [`alibabacloud.hologres`](https://www.alibabacloud.com/help/hologres/product-overview/what-is-hologres)                                                       |
| [Intelligent Media Management (IMM)](https://docs.datadoghq.com/integrations/alibaba-cloud-imm.md)              | [`alibabacloud.imm`](https://www.alibabacloud.com/help/imm/product-overview/what-is-imm)                                                                      |
| [IP Address Manager (IPAM)](https://docs.datadoghq.com/integrations/alibaba-cloud-ipam.md)                      | [`alibabacloud.ipam`](https://www.alibabacloud.com/help/vpc/ip-address-management-ipam/)                                                                      |
| [ApsaraMQ for Kafka](https://docs.datadoghq.com/integrations/alibaba-cloud-kafka.md)                            | [`alibabacloud.kafka`](https://www.alibabacloud.com/help/apsaramq-for-kafka/cloud-message-queue-for-kafka/product-overview/what-is-apsaramq-for-kafka-1)      |
| [Key Management Service (KMS)](https://docs.datadoghq.com/integrations/alibaba-cloud-kms.md)                    | [`alibabacloud.kms`](https://www.alibabacloud.com/help/kms/key-management-service/product-overview/what-is-key-management-service-1)                          |
| [Log Service](https://docs.datadoghq.com/integrations/alibaba-cloud-log-service.md)                             | [`alibabacloud.log_service`](https://www.alibabacloud.com/help/sls/what-is-log-service)                                                                       |
| [Lindorm](https://docs.datadoghq.com/integrations/alibaba-cloud-lindorm.md)                                     | [`alibabacloud.lindorm`](https://www.alibabacloud.com/help/lindorm/product-overview/product-introduction)                                                     |
| [ApsaraDB for Memcache](https://docs.datadoghq.com/integrations/alibaba-cloud-memcache.md)                      | [`alibabacloud.memcache`](https://www.alibabacloud.com/help/memcache/product-overview/product-introduction)                                                   |
| [Vector Retrieval Service for Milvus](https://docs.datadoghq.com/integrations/alibaba-cloud-milvus.md)          | [`alibabacloud.milvus`](https://www.alibabacloud.com/help/milvus/product-overview/what-is-the-vector-retrieval-milvus-version)                                |
| [ApsaraDB for MongoDB](https://docs.datadoghq.com/integrations/alibaba-cloud-mongodb.md)                        | [`alibabacloud.mongodb`](https://www.alibabacloud.com/help/mongodb/product-overview/what-is-apsaradb-for-mongodb)                                             |
| [File Storage NAS](https://docs.datadoghq.com/integrations/alibaba-cloud-nas.md)                                | [`alibabacloud.nas`](https://www.alibabacloud.com/help/nas/product-overview/what-is-nas)                                                                      |
| [NAT Gateway](https://docs.datadoghq.com/integrations/alibaba-cloud-nat-gateway.md)                             | [`alibabacloud.nat_gateway`](https://www.alibabacloud.com/help/nat-gateway/product-overview/what-is-nat-gateway)                                              |
| [Network Load Balancer (NLB)](https://docs.datadoghq.com/integrations/alibaba-cloud-nlb.md)                     | [`alibabacloud.nlb`](https://www.alibabacloud.com/help/slb/network-load-balancer/product-overview/what-is-nlb)                                                |
| [ApsaraDB for OceanBase](https://docs.datadoghq.com/integrations/alibaba-cloud-oceanbase.md)                    | [`alibabacloud.oceanbase`](https://www.alibabacloud.com/help/apsaradb-for-oceanbase/latest/what-is-oceanbase-database)                                        |
| [OpenSearch](https://docs.datadoghq.com/integrations/alibaba-cloud-opensearch.md)                               | [`alibabacloud.opensearch`](https://www.alibabacloud.com/help/open-search/)                                                                                   |
| [Object Storage Service (OSS)](https://docs.datadoghq.com/integrations/alibaba-cloud-oss.md)                    | [`alibabacloud.oss`](https://www.alibabacloud.com/help/oss/product-overview/what-is-oss)                                                                      |
| [Platform for AI (PAI)](https://docs.datadoghq.com/integrations/alibaba-cloud-pai.md)                           | [`alibabacloud.pai`](https://www.alibabacloud.com/help/pai/product-overview/what-is-pai)                                                                      |
| [PolarDB](https://docs.datadoghq.com/integrations/alibaba-cloud-polardb.md)                                     | [`alibabacloud.polardb`](https://www.alibabacloud.com/help/polardb/product-introduction)                                                                      |
| [PolarDB-X](https://docs.datadoghq.com/integrations/alibaba-cloud-polardb-x.md)                                 | [`alibabacloud.polardb_x`](https://www.alibabacloud.com/help/polardb/polardb-for-xscale/what-is-polardb-for-xscale)                                           |
| [ApsaraDB RDS](https://docs.datadoghq.com/integrations/alibaba-cloud-rds.md)                                    | [`alibabacloud.rds`](https://www.alibabacloud.com/help/rds/product-overview/what-is-apsaradb-rds-what-is-apsaradb-rds)                                        |
| [Tair (Redis OSS-Compatible)](https://docs.datadoghq.com/integrations/alibaba-cloud-redis.md)                   | [`alibabacloud.redis`](https://www.alibabacloud.com/help/redis/product-overview/product-introduction)                                                         |
| [ApsaraMQ for RocketMQ](https://docs.datadoghq.com/integrations/alibaba-cloud-rocketmq.md)                      | [`alibabacloud.rocketmq`](https://www.alibabacloud.com/help/apsaramq-for-rocketmq/product-overview/what-is-apsaramq-for-rocketmq)                             |
| [ApsaraDB for SelectDB](https://docs.datadoghq.com/integrations/alibaba-cloud-selectdb.md)                      | [`alibabacloud.selectdb`](https://www.alibabacloud.com/help/selectdb/product-overview/product-introduction/)                                                  |
| [Service Quota](https://docs.datadoghq.com/integrations/alibaba-cloud-service-quota.md)                         | [`alibabacloud.servicequota`](https://www.alibabacloud.com/help/quota-center/product-overview/what-is-quota-center)                                           |
| [Server Load Balancer (SLB)](https://docs.datadoghq.com/integrations/alibaba-cloud-slb.md)                      | [`alibabacloud.slb`](https://www.alibabacloud.com/help/slb/product-overview/slb-overview)                                                                     |
| [Simple Message Queue (SMQ)](https://docs.datadoghq.com/integrations/alibaba-cloud-smq.md)                      | [`alibabacloud.smq`](https://www.alibabacloud.com/help/mns/product-overview/what-is-mns)                                                                      |
| [Tablestore](https://docs.datadoghq.com/integrations/alibaba-cloud-tablestore.md)                               | [`alibabacloud.tablestore`](https://www.alibabacloud.com/help/tablestore/table-store-service/product-overview/what-is-tablestore)                             |
| [Tair](https://docs.datadoghq.com/integrations/alibaba-cloud-tair.md)                                           | [`alibabacloud.tair`](https://www.alibabacloud.com/help/tair/product-overview/what-is-tair)                                                                   |
| [Virtual Private Cloud (VPC)](https://docs.datadoghq.com/integrations/alibaba-cloud-vpc.md)                     | [`alibabacloud.vpc`](https://www.alibabacloud.com/help/vpc/product-overview/virtual-private-cloud-overview/)                                                  |
| [VPN Gateway](https://docs.datadoghq.com/integrations/alibaba-cloud-vpn-gateway.md)                             | [`alibabacloud.vpn_gateway`](https://www.alibabacloud.com/help/doc-detail/64960.htm)                                                                          |
| [Web Application Firewall (WAF)](https://docs.datadoghq.com/integrations/alibaba-cloud-waf.md)                  | [`alibabacloud.waf`](https://www.alibabacloud.com/help/waf/web-application-firewall-3-0/product-overview/what-is-waf)                                         |

{% /collapsible-section %}

### Events{% #events %}

Events from Alibaba Cloud are collected on a per Alibaba Cloud-service basis.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).

## Further Reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Unified observability for Alibaba Cloud with Datadog](https://www.datadoghq.com/blog/monitor-alibaba-cloud-with-datadog/)
