

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Amazon Keyspaces 的服务端点
<a name="programmatic.endpoints"></a>

**Topics**
+ [端口和协议](#ports)
+ [全球终端节点](#global_endpoints)
+ [AWS GovCloud (US) Region FIPS 终端节点](#fips_endpoints)
+ [中国区域端点](#china_endpoints)
+ [直播终端节点](#streams_endpoints)
+ [连接到双堆栈端点](dualstack_endpoints.md)

## 端口和协议
<a name="ports"></a>

您可以通过运行`cqlsh`客户端、使用 Apache 2.0 许可的 Cassandra 驱动程序或使用和软件开发工具包以编程方式访问 Amazon Keyspaces。 AWS CLI AWS 

下表显示了不同访问机制使用的端口和协议。


| 以编程方式访问 | 端口： | 协议 | 
| --- | --- | --- | 
| CQLSH | 9142 | TLS | 
| Cassandra 驱动程序 | 9142 | TLS | 
| AWS CLI | 443 | HTTPS | 
| AWS SDK | 443 | HTTPS | 

 对于 TLS 连接，Amazon Keyspaces 使用在亚马逊信任服务（Amazon Root CAs 1—4）下颁发的证书对服务器进行身份验证。有关更多信息，请参阅[如何为 TLS 手动配置 `cqlsh` 连接](programmatic.cqlsh.md#encrypt_using_tls)，或者参阅[使用 Cassandra 客户端驱动程序以编程方式访问 Amazon Keyspaces](programmatic.drivers.md)中的[开始前的准备工作](using_java_driver.md#using_java_driver.BeforeYouBegin)部分。

## 全球终端节点
<a name="global_endpoints"></a>

 Amazon Keyspaces 同时支持 IPv6 公共终 IPv4 端节点。您可以在 IPv4端点和双堆栈端点之间进行选择。端点使用以下命名约定，您可以将其*us-east-1*替换为表 AWS 区域 中可用的其他端点。
+ **IPv4 端点** — `cassandra.us-east-1.amazonaws.com`
+ **双栈端点 —** `cassandra.us-east-1.api.aws`

有关双栈端点以及如何配置连接的更多信息，请参阅[连接到双堆栈端点](dualstack_endpoints.md)。

Amazon Keyspaces 在以下区域可用。

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/keyspaces/latest/devguide/programmatic.endpoints.html)

## AWS GovCloud (US) Region FIPS 终端节点
<a name="fips_endpoints"></a>

 AWS GovCloud (US) Region中可用的 FIPS 端点。Amazon Keyspaces 同时支持 IPv6 FIPS 终 IPv4 端节点。您可以在 IPv4端点和双堆栈端点之间进行选择。有关更多信息，请参阅 [*AWS GovCloud (US) 用户指南*中的 Amazon Keyspaces](https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-keyspaces.html)。

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/keyspaces/latest/devguide/programmatic.endpoints.html)

## 中国区域端点
<a name="china_endpoints"></a>

Amazon Keyspaces 支持中国区域的 IPv4 终端节点 AWS 。

要访问这些端点，您必须注册一组中国区域独有的单独账户凭证。有关更多信息，请参阅[中国注册、账户和凭证](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html)。

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/keyspaces/latest/devguide/programmatic.endpoints.html)

## 直播终端节点
<a name="streams_endpoints"></a>

Amazon Keyspaces CDC streams 可在以下版本中找到 AWS 区域。下表显示了每个区域可用的双栈服务终端节点。有关的更多信息 Amazon Keyspaces CDC streams，请参阅[如何在 Amazon Keyspaces 中访问 CDC 直播终端节点](CDC_access-endpoints.md)。

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/keyspaces/latest/devguide/programmatic.endpoints.html)