Skip to main content

Alibaba Cloud

Alibaba Cloud is a comprehensive cloud computing platform and data integration service that provides access to infrastructure, security, monitoring, and container orchestration resources across Alibaba's global cloud ecosystem. This integration enables querying and monitoring of cloud resources, security configurations, compute instances, storage systems, networking components, and operational metrics within Alibaba Cloud environments.

CategoryCloud
DirectionQuery source
Sign-inStatic Credentials, Named Profile
Query languagesSQLite
Tables68
Query templates262
Websitehttp://alibabacloud.com

Before you start​

Huntbase can sign in to Alibaba Cloud with any of these methods: Static Credentials, Named Profile. Pick one, create the credential in Alibaba Cloud, then keep it to hand for the Connect step.

Static Credentials​

Static Alibaba Cloud access key and secret key (optionally a session token).

  1. In the RAM console, go to Identities › Users and click Create User. Under Access Mode, select Permanent AccessKey.
  2. To add a key to an existing RAM user instead, open the user, go to the Credential tab, and click Create AccessKey in the AccessKey section.
  3. Copy the AccessKey ID and AccessKey secret. The secret is shown only once.
  4. In Identities › Users, click Attach Policy in the user's Actions column, choose read-only system policies for the services you want to query, and click Confirm.

Permissions:

  • AliyunOSSReadOnlyAccess (minimum)
Watch out for
  • Alibaba Cloud strongly recommends that you don't create an AccessKey pair for your Alibaba Cloud account. Use a RAM user.
  • Each connection covers one Alibaba Cloud account.

For the vendor's own instructions, see Alibaba Cloud AccessKey pair documentation.

tip

Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.

Connect Alibaba Cloud​

  1. Go to Connections and click New connection, or click New connection on the Alibaba Cloud product page.
  2. On Product, pick Alibaba Cloud and choose the Owner.
  3. On Details, give the connection a Name and, optionally, a Description.
  4. On Connect, fill in the settings and credentials described below.
  5. On Verify, review the summary and click Create & check.

For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.

Settings​

Where your Alibaba Cloud lives:

FieldRequiredNotes
RegionsNoThe regions to query. If you leave this blank, only a single default region is queried.
ProfileNo
Auto RetryNo
Max Retry TimeNo
Timeout (seconds)No
Ignore Error CodesNo

Credentials​

Choose a Method, enter a Credential label (for example Production), then fill in the fields for that method.

Static Credentials​

FieldRequiredNotes
Access KeyYesThe AccessKey ID of a RAM user. Secret — not shown again after you save it.
Secret KeyYesThe AccessKey secret that was shown when you created the key. Secret — not shown again after you save it.
Session TokenNoSecret — not shown again after you save it.

Named Profile​

No fields — choose this method to connect without credentials.

Query it​

Once connected, Alibaba Cloud can serve these languages in a query tab, and Scout can use it when you ask in Auto:

LanguageUse it for
SQLiteSQL over the 68 tables listed below, alongside every other connected source.

Example: SQLite​

Get the login session duration of users — Retrieve the configured login session duration from Alicloud RAM security preferences to understand activity patterns and potential security risks.

select
login_session_duration
from
alicloud_ram_security_preference;

Alibaba Cloud ships with 262 query templates. Find them in Library › Queries — see Query templates.

Tables​

Alibaba Cloud adds 68 tables. Browse their columns from Schema in the query bar's ⋯ menu.

All 68 tables
TableContains
alicloud_accountAlicloud Account
alicloud_action_trailAlicloud Action Trail
alicloud_alidns_domainAlicloud Alidns Domain
alicloud_cas_certificateAlicloud CAS Certificate
alicloud_cms_monitor_hostAlicloud Cloud Monitor Host
alicloud_cs_kubernetes_clusterAlicloud Container Service Kubernetes Cluster
alicloud_cs_kubernetes_cluster_nodeAlicloud Container Service Kubernetes Cluster Node
alicloud_ecs_auto_provisioning_groupAlicloud ECS Auto Provisioning Group
alicloud_ecs_autoscaling_groupElastic Compute Autoscaling Group
alicloud_ecs_diskElastic Compute Disk
alicloud_ecs_disk_metric_read_iopsAlicloud ECS Disk Cloud Monitor Metrics - Read IOPS
alicloud_ecs_disk_metric_read_iops_dailyAlicloud ECS Disk Cloud Monitor Metrics - Read IOPS (Daily)
alicloud_ecs_disk_metric_read_iops_hourlyAlicloud ECS Disk Cloud Monitor Metrics - Read IOPS (Hourly)
alicloud_ecs_disk_metric_write_iopsAlicloud ECS Disk Cloud Monitor Metrics - Write IOPS
alicloud_ecs_disk_metric_write_iops_dailyAlicloud ECS Disk Cloud Monitor Metrics - Write IOPS (Daily)
alicloud_ecs_disk_metric_write_iops_hourlyAlicloud ECS Disk Cloud Monitor Metrics - Write IOPS (Hourly)
alicloud_ecs_imageAliCloud ECS Image.
alicloud_ecs_instanceAlicloud Elastic Compute Instance
alicloud_ecs_instance_metric_cpu_utilization_dailyAlicloud ECS Instance Cloud Monitor Metrics - CPU Utilization (Daily)
alicloud_ecs_instance_metric_cpu_utilization_hourlyAlicloud ECS Instance Cloud Monitor Metrics - CPU Utilization (Hourly)
alicloud_ecs_key_pairAn SSH key pair is a secure and convenient authentication method provided by Alibaba Cloud for instance logon. An SSH key pair consists of a public key and a private key. You can use SSH key pairs to log on to only Linux instances.
alicloud_ecs_launch_templateAlicloud ECS Launch Template
alicloud_ecs_network_interfaceAlicloud ECS Network Interface.
alicloud_ecs_regionElastic Compute Region
alicloud_ecs_security_groupECS Security Group
alicloud_ecs_snapshotECS Disk Snapshot.
alicloud_ecs_zoneElastic Compute Zone
alicloud_kms_keyAlicloud KMS Key
alicloud_kms_secretAlicloud KMS Secret
alicloud_log_projectAlicloud Log Service (SLS) Project.
alicloud_log_storeAlicloud Log Service (SLS) Logstore.
alicloud_oss_bucketObject Storage Bucket
alicloud_ram_access_keyAlibaba Cloud RAM User Access Key.
alicloud_ram_credential_reportAlicloud RAM Credential Report
alicloud_ram_groupResource Access Management groups who can login via the console or access keys.
alicloud_ram_password_policyAlibaba Cloud RAM Password Policy
alicloud_ram_policyAlibaba Cloud RAM Policy
alicloud_ram_roleResource Access Management roles who can login via the console or access keys.
alicloud_ram_security_preferenceAlibaba Cloud RAM Security Preference
alicloud_ram_userResource Access Management users who can login via the console or access keys.
alicloud_rds_backupApsaraDB RDS Backup is a policy expression that defines when and how you want to back up your DB Instances.
alicloud_rds_databaseAlibaba Cloud ApsaraDB for RDS (Relational Database Service) is a stable and reliable online database service that scales elastically.
alicloud_rds_instanceProvides an RDS instance resource. A DB instance is an isolated database environment in the cloud. A DB instance can contain multiple user-created databases.
alicloud_rds_instance_metric_connectionsAlicloud RDS Instance Cloud Monitor Metrics - Connections
alicloud_rds_instance_metric_connections_dailyAlicloud RDS Instance Cloud Monitor Metrics - Connections (Daily)
alicloud_rds_instance_metric_cpu_utilizationAlicloud RDS Instance Cloud Monitor Metrics - CPU Utilization
alicloud_rds_instance_metric_cpu_utilization_dailyAlicloud RDS Instance Cloud Monitor Metrics - CPU Utilization (Daily)
alicloud_rds_instance_metric_cpu_utilization_hourlyAlicloud RDS Instance Cloud Monitor Metrics - CPU Utilization (Hourly)
alicloud_security_center_assetAlicloud Security Center Assets (ECS instances with Security Center agent status)
alicloud_security_center_field_statisticsAlicloud Security Center Field Statistics
alicloud_security_center_versionAlicloud Security Center Version
alicloud_security_center_vulnerabilityAlicloud Security Center Vulnerabilities
alicloud_slb_load_balancerAlicloud Server Load Balancer
alicloud_sls_alertAlicloud Log Service (SLS) Alert.
alicloud_vpcA virtual private cloud service that provides an isolated cloud network to operate resources in a secure environment.
alicloud_vpc_dhcp_options_setAliclod VPC DHCP Options Set
alicloud_vpc_eipAn independent public IP resource that decouples ECS and public IP resources, allowing you to flexibly manage public IP resources.
alicloud_vpc_flow_logAlicloud VPC Flow Log
alicloud_vpc_nat_gatewayAliclod VPC NAT Gateway
alicloud_vpc_network_aclAlicloud VPC Network ACL
alicloud_vpc_route_entryAlicloud VPC Route Entry
alicloud_vpc_route_tableAlicloud VPC Route Table
alicloud_vpc_ssl_vpn_client_certSSL Client is responsible for managing client certificates. The client needs to first complete certificate verification in order to connect to the SSL Server.
alicloud_vpc_ssl_vpn_serverSSL Server refers to the SSL-VPN server within the VPC. It authenticates clients and manages configurations.
alicloud_vpc_vpn_connectionVPN Connection is an Internet-based tunnel between VPN Gateway and User Gateway.
alicloud_vpc_vpn_customer_gatewayAlicloud VPC VPN Customer Gateway.
alicloud_vpc_vpn_gatewayAlicloud VPC VPN Gateway.
alicloud_vpc_vswitchVSwitches to divide the VPC network into one or more subnets.

Next steps​