问题描述
还原MySQL快照时,可以选择将新实例设置为多可用区.但是由于某些原因,当我还原到Aurora时,多可用区部署"选择被禁用.
When I restore a MySQL snapshot, I'm given the option to make the new instance Multi-AZ. However for some reason when I restore to Aurora, the "Multi-AZ Deployment" selection is disabled.
我认为这可能意味着它已自动启用.但是,当我转到正在运行的实例详细信息时,它特别列出了多可用区:否".
I thought possibly this meant it was automatically enabled. However when I go to the running instance details, it specifically lists Multi-AZ: "No".
有什么我想念的吗?要制作Aurora多可用区,我还需要执行其他步骤吗?
Is there something I'm missing? Is there some other step I need to do to make Aurora Multi-AZ?
推荐答案
Multi-AZ在Aurora中的含义与对MySQL和MariaDB的含义不同.借助Aurora,群集中的任何副本都可以在发生故障时接替主服务器(尽管选择是基于优先级的,因此,如果有多个副本,它不仅是随机选择的副本),而且存储已经/始终在Aurora中使用多可用区,因为这是Aurora设计的核心部分.因此,Aurora可以转换"为多可用区.
Multi-AZ doesn't mean the same thing in Aurora as it does for MySQL and MariaDB. With Aurora, any replica in the cluster can take over for the master on failure (though the selection is based on priority, so it isn't just a randomly selected replica, if there is more than one replica), and the storage is already/always multi-AZ in Aurora because that's a core part of the Aurora design. So, Aurora can be "converted" to Multi-AZ.
显然,这是基于快照从快照创建Aurora实例时唯一的方法:
Apparently, that's the only way it is done when creating an Aurora instance from a snapshot, based on this:
...
您可以迁移手动或自动数据库快照.创建数据库集群后,您可以创建可选的Aurora副本.
You can migrate either a manual or automated DB snapshot. After the DB cluster is created, you can then create optional Aurora Replicas.
http://docs.aws.amazon. com/AmazonRDS/latest/UserGuide/Aurora.Migrate.RDSMySQL.html
如果您创建没有快照的多可用区Aurora群集,则仅此而已-创建了一个主数据库和一个副本数据库.在这种情况下,您实际上可以删除副本并将其设为非多可用区,这是与MySQL或MariaDB所涉及的过程不同的过程.
If you create a multi-AZ Aurora cluster without a snapshot, that's all that happens -- a master and a replica are created. In that case, you can actually delete the replica and make it non-multi-AZ, which is a different process than what's involved with MySQL or MariaDB.
创建集群"(在上面的引用中使用)是一个可能引起混淆的术语,因为您自然会认为集群意味着两个或多个,但是实际上Aurora集群从技术上讲可以是集群"仅一个实例.每个Aurora实例都是一个群集的一部分.一个实例是主实例(主实例),其他实例是副本实例.
"Create a cluster" -- as used in the quote, above -- is a potentially confusing term, since you would naturally assume a cluster means two or more, but in fact an Aurora cluster can technically be a "cluster" of just one instance. Every Aurora instance is part of exactly one cluster. One instance is the primary (master) and any additional instances are replicas.
这篇关于无法创建多可用区Aurora RDS实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!