简体   繁体   English

将 RDS Aurora 实例从私有迁移到公共 su.net

[英]Move RDS Aurora Instance from private to public subnet

I currently have the typical setup of an RDS cluster with 1 instance running in a private su.net.我目前有一个 RDS 集群的典型设置,其中有 1 个实例在私有su.net 中运行。 I am migrating our application out of AWS and into Heroku (while leaving the DB as is), but I need to be able to connect to the DB from the Heroku dynos.我正在将我们的应用程序从 AWS 迁移到 Heroku(同时保留数据库原样),但我需要能够从 Heroku dynos 连接到数据库。

What I can't figure out is how to move the DB out of the private su.net and into a public one.我想不通的是如何将数据库从私有 su.net 移到公共 su.net 中。

The AWS docs have instructions for moving from public to private, and I thought I could just follow them for the opposite direction too. AWS 文档有从公共转移到私有的说明,我想我也可以按照相反的方向进行操作。 But the process involves standing up a new secondary in the desired su.net using Multi-AZ configuration and a failover.但该过程涉及使用多可用区配置和故障转移在所需的 su.net 中建立一个新的辅助节点。 But when I go to Modify my instance, there is no option for configuring Multi-AZ:但是当我 go 修改我的实例时,没有配置多可用区的选项:

无多可用区

It seems like Aurora instances in particular do not support Multi-AZ?似乎 Aurora 实例特别不支持多可用区? "Multi-AZ DB clusters are in preview for RDS for MySQL and RDS for PostgreSQL" Leaving me somewhat stuck. “针对 MySQL 的 RDS 和针对 PostgreSQL 的 RDS,多可用区数据库集群正在预览中”让我有些卡住了。

Edit I did just see this message elsewhere: "You have no Aurora Replicas in your DB cluster."编辑我刚刚在别处看到这条消息:“您的数据库集群中没有 Aurora 副本。” which might be why Multi-AZ is not available.这可能是多可用区不可用的原因。 But I'm not seeing any options to spin up a replica anywhere.但是我没有看到任何可以在任何地方启动副本的选项。

Again my goal is to get my Aurora DB into a public su.net (or otherwise make it accessible from the inte.net, but not through an SSH tunnel)同样,我的目标是让我的 Aurora 数据库进入公共 su.net(或者以其他方式使其可以从 inte.net 访问,但不能通过 SSH 隧道访问)

The Availability Zone options are in the "Availability & durability" section above "Connectivity" FYI可用区选项位于“连接性”上方的“可用性和耐用性”部分,仅供参考

I just had your same issue but with a Postgres DB, though I have the option to change its "Su.net group" in the Connectivity section , which you don't have it seems, but it only appears for me if the DB is NOT currently multi-AZ.我刚刚遇到了与您相同的问题,但使用的是 Postgres 数据库,尽管我可以选择在“连接”部分更改其“Su.net 组” ,但您似乎没有,但只有当数据库是目前不是多可用区。 AWS will prevent you from moving the DB between su.net groups* in the same VPC, but you can just move the DB to a su.net group in a different VPC and then move it back to the su.net group that you actually want it in (configured with the appropriate public su.nets). AWS 会阻止您在同一 VPC 中的 su.net 组* 之间移动数据库,但您可以将数据库移动到不同 VPC 中的 su.net 组,然后将其移回您实际使用的 su.net 组想要它(用适当的公共 su.nets 配置)。

*You can create su.net groups in the RDS service, left side menu. *您可以在 RDS 服务左侧菜单中创建 su.net 组。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从公共 su.net 连接到私有 su.net - Connecting from public subnet to private subnet ETL 实例应该在私有的还是公共的 su.net 中? - Is an ETL instance supposed to be in private or public subnet? AWS:SSH 通过 NAT 网关从公共 su.net EC2 实例到私有 su.net EC2 实例没有发生 - AWS : SSH to private subnet EC2 instance from public subnet EC2 instance via NAT GATEWAY is not happening 在 AWS 中,为什么我们将 RDS 实例保留在 Private su.net 中? - In AWS, why do we keep RDS instance in Private subnet? AWS - vpc:从公有子网访问私有子网 - AWS - vpc: private subnet access from public subnet AWS 如何从私有 su.net 中的 EC2 实例打开网站 - AWS how to open a website from an EC2 instance in the private subnet 使用自定义实例类型的 AWS RDS Aurora 自动缩放 - AWS RDS Aurora autoscaling with custom instance type AWS Quicksight 无法连接到私有子网中的 Aurora PostgreSQL - AWS Quicksight cannot connect to Aurora PostgreSQL in a private subnet 我们可以将私有 su.net lambda 连接到公共 su.net 中的资源吗? - Can we connect private subnet lambda to resources in public subnet? AWS VPC 识别私有和公共 su.net - AWS VPC identify private and public subnet
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM