You can connect to Alibaba Cloud services such as Object Storage Service (OSS), Data Lake Formation (DLF), Tablestore, and Hologres using MaxCompute SQL, user-defined functions (UDFs), Spark, MapReduce (MR), PyODPS/Mars, external tables, or a data lakehouse architecture. These connections use Alibaba Cloud's internal network endpoints for inter-service connectivity.
Usage notes
Supported top-level domains: aliyun.com, amap.com, dingtalk.com, alicloudapi.com, cainiao.com, alicdn.com, taobao.com, alibaba.com, alipaydev.com, and alibabadns.com.
IPv6 addresses are not supported. The number of public IP addresses is not limited.
If an external network address fails automatic verification, delete the address and resubmit it. If the address is still required, you can submit a ticket to request its configuration. For more information, see Network activation process.
Access OSS and Tablestore with external tables
When creating an external table for OSS or Tablestore, you can access the service using its internal endpoint.
-
For the OSS internal endpoint in each region, see the Internal Endpoint column in Regions and endpoints.
-
For the Tablestore internal endpoint in each region, see the Classic Network address in Service endpoints. A Tablestore instance provides service endpoints for four network types: the Classic Network endpoint format is
https://<InstanceName>.<Region>.ots-internal.aliyuncs.com, the Public network endpoint format ishttps://<InstanceName>.<Region>.ots.aliyuncs.com, the VPC endpoint format ishttps://<InstanceName>.<Region>.vpc.tablestore.aliyuncs.com, and the Public network (dual-line) endpoint format ishttps://<InstanceName>.<Region>.tablestore.aliyuncs.com. You can find the endpoint for your network type in the Instance Endpoints area on the instance details page.
For other examples of using external tables, see Hologres external tables.
Access OSS and Tablestore with UDFs
When using a UDF to access OSS or Tablestore, you must use a public endpoint. Before using the public endpoint, you must add it to the MaxCompute whitelist.
-
Add the public endpoint for the desired OSS or Tablestore service to the MaxCompute whitelist.
Submit a ticket to add the public endpoint for OSS or Tablestore to the MaxCompute whitelist.
You can find the public endpoints for each region as follows:
-
For the OSS public endpoint in each region, see the Public Endpoint column in Regions and endpoints.
-
For the Tablestore public endpoint in each region, see the Public network address in Service endpoints.
-
-
Use the public endpoint to access OSS or Tablestore.
For an example of a Spark on MaxCompute job, see Spark access to OSS.