MySQLの、PostgreSQLのRDS、オーロラはクロスリージョンリードレプリカをサポートしています。非同期レプリケーションは、ネットワーク遅延の読み取り専用のコピーが存在します

PostgreSQLのアマゾンRDSは現在、クロス領域読み取りレプリカをサポートしています

https://aws.amazon.com/cn/about-aws/whats-new/2016/06/amazon-rds-for-postgresql-now-supports-cross-region-read-replicas/

:に投稿されました  2016年6月15日

あなたは今すぐに、クロス領域は、あなたの暗号化されていないため、レプリカ読み取り、作成することができます  アマゾンRDS PostgreSQL用  AWS Management Consoleの上数回クリックするだけでデータベース・インスタンスを。あなたは、災害復旧のために、プライマリ・データベースのバックアップを作成するには、地理的に異なる場所であなたの顧客のための読み取り待ち時間を短縮、またはすぐに別のAWSリージョンにデータベースを移行するには、この機能を使用することができます。 

災害復旧:あなたは、クロス領域は、ディザスタリカバリソリューションを持っているあなたのプライマリ・データベース・インスタンスのレプリカを読んで作成することができます。あなたの主な領域が混乱に直面している場合は、マスターへの複製を促進し、運用あなたのビジネスを維持することができます。 

スケーリング:あなたは、クロス領域を使用することができ、様々な地理的位置間でワークロードからクエリを読みサポートするために、レプリカをお読みください。これは、彼らの近くにあるデータベースから顧客にサービスを提供することにより、待ち時間を短縮します。 

クロス領域の移行:あなたは別のAWS領域にすばやくデータベースインスタンスを移行したい場合は、クロス領域の複製を使用することによってそれを行うことができます。単にあなたのターゲット領域でレプリカを作成し、それが作成されると、それは習得し、それにアプリケーションを指すように促します。 

この機能は、バージョン9.5.2または9.4.7と高くなっているすべてのRDSのPostgreSQLデータベースのために利用可能です。古いバージョンで動作するデータベースインスタンスのクロス領域のレプリカを作成するには、でサポートされているバージョンにアップグレードすることができ  、データベースのバージョンアップを実行しますRDS PostgreSQLのクロス地域のレプリケーションの詳細については、を参照してください  RDSのドキュメント。 

 

新 - アマゾンオーロラためのクロスリージョンリードレプリカ

https://aws.amazon.com/cn/blogs/aws/new-cross-region-read-replicas-for-amazon-aurora/

ジェフ・バール  | 2016年6月1日に| で  アマゾンオーロラ、  アマゾンRDS、  起動、  ニュース  | 固定リンク  |  シェア

あなたはすでにあなたの読み取り能力拡張する力持っ  アマゾンオーロラ  既存のクラスタに追加の読み取りのレプリカを追加することによって、インスタンスを。今日、私たちはあなたに別の領域でのリードレプリカを作成する力を与えています。この新機能を使用すると、クロス地域の災害復旧をサポートし、読み込みスケールアウトすることができます。あなたはまた、別の領域から移行するか、別の領域では、新しいデータベース環境を作成するためにそれを使用することができます。

別の領域でリードレプリカを作成することも、地域でのオーロラのクラスタを作成します。このクラスタは、より多くの領域内で非常に低い複製遅延(20ミリ秒よりも典型的に少ない)(領域との間に、待ち時間は、ソースとターゲットとの間の距離に基づいて変化するであろう)と、レプリカを読み取る15まで含有することができます。あなたのクラスタを複製し、災害復旧のための地域間のレプリカの設定を読み取るために、このモデルを使用することができます。地域の混乱が発生した場合、あなたはマスターにクロス領域複製を促進することができます。これは、あなたのクロス地域アプリケーションのダウンタイムを最小限に抑えることができます。この機能は、暗号化されていないオーロラクラスタに適用されます。

あなたが実際に読んでレプリカを作成し得る前に、あなたは、前提条件の組の世話をする必要があります。あなたはVPCとデータベースサブネットグループは、対象領域に存在することを確認する必要があり、既存のクラスタ上のバイナリログを有効にする必要があります。

VPCの設定
オーロラは常にVPC内で実行されるため、VPCと希望データベースのサブネットグループは、対象領域に存在することを確認してください。ここでは鉱山があります:

バイナリログを有効にする
あなたは、クロスリージョンを作成する前にレプリカを読んで、あなたはあなたの既存のクラスタのバイナリログを有効にする必要があります。(すでにデフォルト以外のものを使用していない場合)、新規DBクラスタパラメータグループを作成します。

バイナリログを有効(MIXED選択)して、[Save Changesをクリックしてください:

Next, Modify the DB Instance, select the new DB Cluster Parameter Group, check Apply Immediately, and click on Continue. Confirm your modifications, and then click on Modify DB Instance to proceed:

Select the instance and reboot it, then wait until it is ready.

Create Read Replica
With the prerequisites out of the way it is time to create the read replica! From within the AWS Management Console, select the source cluster and choose Create Cross Region Read Replica from the Instance Actions menu:

Name the new cluster and the new instance, and then pick the target region. Choose the DB Subnet Group and set the other options as desired, then click Create:

Aurora will create the cluster and the instance. The state of both items will remain at creating until the items have been created and the data has been replicated (this could take some time, depending on amount of data stored in the existing cluster.

This feature is available now and you can start using it today!

— Jeff;

 

Cross-Region Read Replicas for Amazon RDS for MySQL

https://aws.amazon.com/cn/blogs/aws/cross-region-read-replicas-for-amazon-rds-for-mysql/

by Jeff Barr | on 26 NOV 2013 | in Amazon RDSAmazon Redshift | Permalink |  Share

You can now create cross-region read replicas for Amazon RDS database instances!

This feature builds upon our existing support for read replicas that reside within the same region as the source database instance. You can now create up to five in-region and cross-region replicas per source with a single API call or a couple of clicks in the AWS Management Console. We are launching with support for version 5.6 of MySQL.

Use Cases
You can use this feature to implement a cross-region disaster recovery model, scale out globally, or migrate an existing database to a new region:

Improve Disaster Recovery – You can operate a read replica in a region different from your master database region. In case of a regional disruption, you can promote the replica to be the new master and keep your business in operation.

Scale Out Globally – If your application has a user base that is spread out all over the planet, you can use Cross Region Read Replicas to serve read queries from an AWS region that is close to the user.

Migration Between Regions – Cross Region Read Replicas make it easy for you to migrate your application from one AWS region to another.  Simply create the replica, ensure that it is current, promote it to be a master database instance, and point your application at it.

You will want to pay attention to replication lag when you implement any of these use cases. You can use Amazon CloudWatch to monitor this important metric, and to raise an alert if it reaches a level that is unacceptably high for your application:

As an example of what you can do with Cross Region Replicas, here’s a global scale-out model. All database updates (green lines) are directed to the database instance in the US East (Northern Virginia) region. All database queries (black lines) are directed to in-region or cross-region read replicas, as appropriate:

Creating Cross-Region Read Replicas
The cross-region replicas are very easy to create. You simply select the desired region (and optional availability zone) in the AWS Management Console:

You can also track the status of each of your read replicas using RDS Database Events.

All data transfers between regions are encrypted using public key encryption. You pay the usual AWS charges for the database instance, the associated storage, and the data transfer between the regions.

Reports from the Field
I know that our users have been looking forward to this feature. Here’s some of the feedback that they have already sent our way:

Isaac Wong is VP of Platform Architecture at Medidata. He told us:

Medidata provides a cloud platform for life science companies to design and run clinical trials faster, cheaper, safer, and smarter. We use Amazon RDS to store mission critical clinical development data and tested many data migration scenarios between Asia and USA with the cross region snapshot feature and found it very simple and cost effective to use and an important step in our business continuity efforts. Our clinical platform is global in scope.  The ability provided by the new Cross Region Read Replica feature to move data closer to the doctors and nurses participating in a trial anywhere in the world to shorten read latencies is awesome. It allows health professionals to focus on patients and not technology. Most importantly, using these cross region replication features, for life critical services in our platform we can insure that we are not affected by regional failure. Using AWS’s simple API’s we can very easily bake configuration and management into our deployment and monitoring systems at Medidata.

Joel Callaway is IT Operations Manager at Zoopla Property Group Ltd. This is what he had to say:

Amazon RDS cross region functionality gives us the ability to copy our data between regions and keep it up to date for disaster recovery purposes with a few automated steps on the AWS Management Console. Our property and housing prices website attracts over 20 million visitors per month and we use Amazon RDS to store business critical data of these visitors. Using the cross region snapshot feature, we already transfer hundreds of GB of data from our primary US-East region to the EU-West every week. Before this feature, it used to take us several days and manual steps to do this on our own. We now look forward to the Cross Region Read Replica feature, which would make it even easier to replicate our data along with our application stack across multiple regions in AWS.

複製するための時間
この機能が利用可能になりましたし、今日はそれを使用して起動することができます!

あなたも含め、当社の他のクロス領域の機能のいくつかを調査することをお勧めします  EC2 AMIコピー、  RDSスナップショットのコピー、  DynamoDBのデータをコピーし、そして  赤方偏移スナップショットコピーを

おすすめ

転載: www.cnblogs.com/cloudrivers/p/11246065.html
おすすめ