gpt4 book ai didi

amazon-web-services - RDS 端点名称格式

转载 作者:行者123 更新时间:2023-12-03 00:53:59 24 4
gpt4 key购买 nike

在 AWS 中,RDS 端点名称具有以下格式

my-db-name.aaaaaaaaaaaa.eu-west-1.rds.amazonaws.com

标识符的第二部分是一系列看似随机的字符。这是如何生成的?同一帐户和区域中的所有 rds 实例似乎都是一致的。是否还有其他因素会导致其发生变化。

我浏览了 AWS 文档,但找不到任何相关信息。

最佳答案

文档中似乎没有明确说明这一点,但有 AWS 员工撰写的 AWS 支持论坛帖子,如下所示。

总而言之,它是一个不透明的标识符,由未公开披露的算法内部生成,并且对于给定的区域+帐户组合,它不应更改。重用旧名称的新实例应具有与旧实例相同的端点。

此处的术语“hexchars”是指您所询问的端点主机名的组成部分:

1. Is there some way to "predict" or otherwise determine what the hexchars will be?

You can't predict it, but once you create at least one instance in a region you will know what it is for your account in that region (and it will be the same for all RDS instances belonging to the same account in that region).

2. Is there a way to set this?

No. The "hexchars" component is generated internally and is unique to your AWS account in each region (cannot be changed). The "hexchars" will be different for the same account in a different region.

3. Is the hexchars consistent if the instance ID is consistent?

Yes. You can delete an instance and if you create another with the same name, it will have the same endpoint address as the original instance (for the same AWS account in the same region). Also, if you rename an instance from "myinst1" to "myinst2", the first component is the only that changes and the "hexchars.region.rds.amazonaws.com" remains the same.

https://forums.aws.amazon.com/thread.jspa?messageID=486170&#486199

关于amazon-web-services - RDS 端点名称格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34990104/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com