Introducing Amazon Neptune Global Database

海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"Today, [Amazon Neptune](https://aws.amazon.com/neptune/) announced the general availability of [Amazon Neptune Global Database](https://aws.amazon.com/neptune/global-database). You can use Neptune Global Database to build graph applications across multiple Amazon Web Services Regions using the same graph database. Neptune Global Database is available in the US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Europe (Ireland), Europe (London), and Asia Pacific (Tokyo) Regions at launch.\n\nNeptune is a fast, reliable, and fully managed graph database service for building and running applications with highly connected datasets, such as knowledge graphs, fraud graphs, identity graphs, and security graphs. Neptune provides developers the most choice for building graph applications with three open graph query languages: [openCypher](https://github.com/opencypher/openCypher), [Apache TinkerPop](http://tinkerpop.apache.org/) Gremlin, and the World Wide Web Consortium’s (W3C) [SPARQL 1.1](https://www.w3.org/TR/sparql11-query/). Neptune Global Database is designed for globally distributed applications spanning multiple Regions. Neptune Global Database replicates your data with no impact on database performance, enables fast local reads with low latency in each Region, and provides disaster recovery from Region-wide outages.\n\nCustomers have told us that they want to deploy their Neptune clusters across multiple Regions in order to maintain business continuity for applications in the unlikely event of Region-wide outages as they expand their footprint to multiple Regions. We worked backward from this feedback to enable you to work with the same dataset in multiple Regions. You can now deploy a primary Neptune database cluster in one Region and replicate its data in up to five secondary read-only database clusters (with up to 16 read replicas each) in different Regions. This enables you to move your applications to one of the secondary clusters and minimize application downtime.\n\nA Neptune cluster can recover in minutes in case of unlikely Regional outages. This provides your applications with an effective Recovery Point Objective (RPO) of 1 second and a Recovery Time Objective (RTO) of 1 minute, providing a strong foundation for a global business continuity plan. For global applications, where you need to access data from multiple Regions, you can now use a global database to query your graphs from the Region closest to you, reducing query latency. You can create a global database with just a few clicks on the Neptune console or download the latest [Amazon Web Services SDK or CLI](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/neptune/index.html). In this post, we walk you through creating a global database using the Neptune console.\n\n### **Prerequisites**\n\nTo create a Neptune global database, you need a Neptune cluster to serve as primary. You can use an existing cluster or [create a new one](https://docs.aws.amazon.com/neptune/latest/userguide/get-started-create-cluster.html).\n\n### **Create a Neptune global database**\n\nTo create your Neptune global database, complete the following steps:\n\n1. On the Neptune console, choose **Clusters**.\n2. Select your Regional cluster.\n3. On the **Actions** menu, choose **Add Amazon Web Services Region**.\n\n![image.png](https://dev-media.amazoncloud.cn/167a91e2a856433abe80d6c984abf15f_image.png)\n\n4. For the secondary Region, provide the global database name, specify the Region you want your secondary cluster in, and choose the instance type for the secondary cluster.We recommend choosing the same instance type as the readers in the primary cluster to avoid performance discrepancies.\n5. You can accept all other options as default to create your cluster.\n\n![image.png](https://dev-media.amazoncloud.cn/d7855ccfddc74182a15e55c634af4678_image.png)\n\nThe Neptune cluster is now upgraded to a global database and data from the primary cluster is automatically replicated to the secondary clusters.\n\n![image.png](https://dev-media.amazoncloud.cn/a1374c06f42044e7892a2eac06678ae5_image.png)\n\n### **Failover of Neptune global database**\n\nNeptune Global Database offers two different failover approaches:\n\n- Detach-and-promote (manual unplanned recovery) – To recover from an unplanned outage, you can perform a cross-Region detach-and-promote on one of the secondary DB clusters in the global database. For instructions, refer to [Using failover in a Neptune global database](https://docs.aws.amazon.com/neptune/latest/userguide/neptune-gdb-disaster-recovery.html). In this scenario, you don’t have access to the primary database and you need to identify the secondary cluster you want to promote to primary.\n- **Managed planned failover** – This is intended for planned operational procedures such as relocating the primary DB cluster of the global database to one of the secondary Regions. This scenario is only applicable when the primary cluster is available (there are no outages).\n\nLet’s explore how to perform a managed failover from the Neptune console. Complete the following steps:\n\n1. On the Neptune console, choose **Databases**.\n2. Select the global database you want to failover.\n3. On the **Actions** menu, choose **Failover Global Database**.\n\n![image.png](https://dev-media.amazoncloud.cn/e1044c94c4774ca1ba689e966bce4325_image.png)\n\n4. Choose the secondary cluster you want to promote to primary.\n\n![image.png](https://dev-media.amazoncloud.cn/f1bd2303986a4acabaad95be0a57ff2f_image.png)\n\nThe workflow starts by stopping all writes and demoting the writer instance on the primary cluster to a read replica. Then it promotes the highest priority read replica in the target secondary cluster to a writer instance, and modifies the global cluster in order to promote the selected secondary database to primary. Please note that writes to the cluster aren’t possible during this failover.\n\n![image.png](https://dev-media.amazoncloud.cn/88d8386b28a843a8a40f3ec1220b5877_image.png)\n\nWhen the workflow finishes successfully, you can see that the secondary database has now been promoted to primary.\n\n![image.png](https://dev-media.amazoncloud.cn/d2b5f6e8db98439f9b77924db0e4c0c4_image.png)\n\n### **Pricing**\n\nFor Neptune Global Database, standard pricing will apply for the Neptune resources, such as instance, storage, and data transfer fees, that you use in all Regions. Additionally, you will be charged for replicated write I/Os, which capture writes, inserts, and deletes between the primary and secondary Neptune clusters. For full pricing, refer to [Amazon Neptune pricing](https://aws.amazon.com/neptune/pricing/).\n\n### **Summary**\n\nIn this post, we introduced Neptune Global Database, a feature that provides fast disaster recovery in the unlikely event of a Region-wide outage, and brings data closer to your customer applications in different global Regions. You can create a new Neptune cluster or upgrade an existing cluster to engine release 1.2.0.0 or higher to use Neptune Global Database. To learn more, see [Using global databases with Amazon Neptune](https://docs.aws.amazon.com/neptune/latest/userguide/neptune-global-database.html).\n\n#### **About the author**\n\n![image.png](https://dev-media.amazoncloud.cn/df32354efebb41f7a06d7ce85f5f86d0_image.png)\n\n**Navtanay Sinha** is a Senior Product Manager at Amazon Web Services. He works with graph technologies to help Amazon Neptune customers fully realize the potential of their graph database.","render":"<p>Today, <a href=\"https://aws.amazon.com/neptune/\" target=\"_blank\">Amazon Neptune</a> announced the general availability of <a href=\"https://aws.amazon.com/neptune/global-database\" target=\"_blank\">Amazon Neptune Global Database</a>. You can use Neptune Global Database to build graph applications across multiple Amazon Web Services Regions using the same graph database. Neptune Global Database is available in the US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Europe (Ireland), Europe (London), and Asia Pacific (Tokyo) Regions at launch.</p>\n<p>Neptune is a fast, reliable, and fully managed graph database service for building and running applications with highly connected datasets, such as knowledge graphs, fraud graphs, identity graphs, and security graphs. Neptune provides developers the most choice for building graph applications with three open graph query languages: <a href=\"https://github.com/opencypher/openCypher\" target=\"_blank\">openCypher</a>, <a href=\"http://tinkerpop.apache.org/\" target=\"_blank\">Apache TinkerPop</a> Gremlin, and the World Wide Web Consortium’s (W3C) <a href=\"https://www.w3.org/TR/sparql11-query/\" target=\"_blank\">SPARQL 1.1</a>. Neptune Global Database is designed for globally distributed applications spanning multiple Regions. Neptune Global Database replicates your data with no impact on database performance, enables fast local reads with low latency in each Region, and provides disaster recovery from Region-wide outages.</p>\n<p>Customers have told us that they want to deploy their Neptune clusters across multiple Regions in order to maintain business continuity for applications in the unlikely event of Region-wide outages as they expand their footprint to multiple Regions. We worked backward from this feedback to enable you to work with the same dataset in multiple Regions. You can now deploy a primary Neptune database cluster in one Region and replicate its data in up to five secondary read-only database clusters (with up to 16 read replicas each) in different Regions. This enables you to move your applications to one of the secondary clusters and minimize application downtime.</p>\n<p>A Neptune cluster can recover in minutes in case of unlikely Regional outages. This provides your applications with an effective Recovery Point Objective (RPO) of 1 second and a Recovery Time Objective (RTO) of 1 minute, providing a strong foundation for a global business continuity plan. For global applications, where you need to access data from multiple Regions, you can now use a global database to query your graphs from the Region closest to you, reducing query latency. You can create a global database with just a few clicks on the Neptune console or download the latest <a href=\"https://awscli.amazonaws.com/v2/documentation/api/latest/reference/neptune/index.html\" target=\"_blank\">Amazon Web Services SDK or CLI</a>. In this post, we walk you through creating a global database using the Neptune console.</p>\n<h3><a id=\"Prerequisites_8\"></a><strong>Prerequisites</strong></h3>\n<p>To create a Neptune global database, you need a Neptune cluster to serve as primary. You can use an existing cluster or <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/get-started-create-cluster.html\" target=\"_blank\">create a new one</a>.</p>\n<h3><a id=\"Create_a_Neptune_global_database_12\"></a><strong>Create a Neptune global database</strong></h3>\n<p>To create your Neptune global database, complete the following steps:</p>\n<ol>\n<li>On the Neptune console, choose <strong>Clusters</strong>.</li>\n<li>Select your Regional cluster.</li>\n<li>On the <strong>Actions</strong> menu, choose <strong>Add Amazon Web Services Region</strong>.</li>\n</ol>\n<p><img src=\"https://dev-media.amazoncloud.cn/167a91e2a856433abe80d6c984abf15f_image.png\" alt=\"image.png\" /></p>\n<ol start=\"4\">\n<li>For the secondary Region, provide the global database name, specify the Region you want your secondary cluster in, and choose the instance type for the secondary cluster.We recommend choosing the same instance type as the readers in the primary cluster to avoid performance discrepancies.</li>\n<li>You can accept all other options as default to create your cluster.</li>\n</ol>\n<p><img src=\"https://dev-media.amazoncloud.cn/d7855ccfddc74182a15e55c634af4678_image.png\" alt=\"image.png\" /></p>\n<p>The Neptune cluster is now upgraded to a global database and data from the primary cluster is automatically replicated to the secondary clusters.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/a1374c06f42044e7892a2eac06678ae5_image.png\" alt=\"image.png\" /></p>\n<h3><a id=\"Failover_of_Neptune_global_database_31\"></a><strong>Failover of Neptune global database</strong></h3>\n<p>Neptune Global Database offers two different failover approaches:</p>\n<ul>\n<li>Detach-and-promote (manual unplanned recovery) – To recover from an unplanned outage, you can perform a cross-Region detach-and-promote on one of the secondary DB clusters in the global database. For instructions, refer to <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/neptune-gdb-disaster-recovery.html\" target=\"_blank\">Using failover in a Neptune global database</a>. In this scenario, you don’t have access to the primary database and you need to identify the secondary cluster you want to promote to primary.</li>\n<li><strong>Managed planned failover</strong> – This is intended for planned operational procedures such as relocating the primary DB cluster of the global database to one of the secondary Regions. This scenario is only applicable when the primary cluster is available (there are no outages).</li>\n</ul>\n<p>Let’s explore how to perform a managed failover from the Neptune console. Complete the following steps:</p>\n<ol>\n<li>On the Neptune console, choose <strong>Databases</strong>.</li>\n<li>Select the global database you want to failover.</li>\n<li>On the <strong>Actions</strong> menu, choose <strong>Failover Global Database</strong>.</li>\n</ol>\n<p><img src=\"https://dev-media.amazoncloud.cn/e1044c94c4774ca1ba689e966bce4325_image.png\" alt=\"image.png\" /></p>\n<ol start=\"4\">\n<li>Choose the secondary cluster you want to promote to primary.</li>\n</ol>\n<p><img src=\"https://dev-media.amazoncloud.cn/f1bd2303986a4acabaad95be0a57ff2f_image.png\" alt=\"image.png\" /></p>\n<p>The workflow starts by stopping all writes and demoting the writer instance on the primary cluster to a read replica. Then it promotes the highest priority read replica in the target secondary cluster to a writer instance, and modifies the global cluster in order to promote the selected secondary database to primary. Please note that writes to the cluster aren’t possible during this failover.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/88d8386b28a843a8a40f3ec1220b5877_image.png\" alt=\"image.png\" /></p>\n<p>When the workflow finishes successfully, you can see that the secondary database has now been promoted to primary.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/d2b5f6e8db98439f9b77924db0e4c0c4_image.png\" alt=\"image.png\" /></p>\n<h3><a id=\"Pricing_58\"></a><strong>Pricing</strong></h3>\n<p>For Neptune Global Database, standard pricing will apply for the Neptune resources, such as instance, storage, and data transfer fees, that you use in all Regions. Additionally, you will be charged for replicated write I/Os, which capture writes, inserts, and deletes between the primary and secondary Neptune clusters. For full pricing, refer to <a href=\"https://aws.amazon.com/neptune/pricing/\" target=\"_blank\">Amazon Neptune pricing</a>.</p>\n<h3><a id=\"Summary_62\"></a><strong>Summary</strong></h3>\n<p>In this post, we introduced Neptune Global Database, a feature that provides fast disaster recovery in the unlikely event of a Region-wide outage, and brings data closer to your customer applications in different global Regions. You can create a new Neptune cluster or upgrade an existing cluster to engine release 1.2.0.0 or higher to use Neptune Global Database. To learn more, see <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/neptune-global-database.html\" target=\"_blank\">Using global databases with Amazon Neptune</a>.</p>\n<h4><a id=\"About_the_author_66\"></a><strong>About the author</strong></h4>\n<p><img src=\"https://dev-media.amazoncloud.cn/df32354efebb41f7a06d7ce85f5f86d0_image.png\" alt=\"image.png\" /></p>\n<p><strong>Navtanay Sinha</strong> is a Senior Product Manager at Amazon Web Services. He works with graph technologies to help Amazon Neptune customers fully realize the potential of their graph database.</p>\n"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭
contact-us