
Amazon MemoryDB for Redis Developer Guide Amazon MemoryDB for Redis Developer Guide Amazon MemoryDB for Redis: Developer Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon MemoryDB for Redis Developer Guide Table of Contents What is MemoryDB for Redis? ............................................................................................................. 1 Features of MemoryDB ............................................................................................................... 1 MemoryDB core components ....................................................................................................... 2 Clusters ............................................................................................................................. 2 Nodes ............................................................................................................................... 3 Shards .............................................................................................................................. 3 Parameter groups .............................................................................................................. 3 Subnet groups ................................................................................................................... 4 Access control lists ............................................................................................................. 4 Users ................................................................................................................................ 4 Related services ......................................................................................................................... 4 Choosing Regions and Availability Zones ....................................................................................... 4 Locating your nodes ........................................................................................................... 6 Supported Regions & endpoints ........................................................................................... 7 Accessing MemoryDB .................................................................................................................. 7 MemoryDB security .................................................................................................................... 8 Before you begin ............................................................................................................................... 9 Sign up for AWS ........................................................................................................................ 9 Create an IAM user ..................................................................................................................... 9 Getting started with MemoryDB ......................................................................................................... 11 Setting up ............................................................................................................................... 11 Getting an AWS Access Key ............................................................................................... 11 Configuring Your Credentials ............................................................................................. 12 Downloading and Configuring the AWS CLI ......................................................................... 12 Set up your permissions (new MemoryDB users only) ............................................................ 12 Step 1: Create a cluster ............................................................................................................. 13 Creating a MemoryDB cluster ............................................................................................ 13 Step 2: Authorize access to the cluster ........................................................................................ 18 Step 3: Connect to the cluster ................................................................................................... 20 Find your cluster endpoint ................................................................................................ 20 Connect to a MemoryDB cluster (Linux) .............................................................................. 20 Step 4: Deleting a cluster .......................................................................................................... 21 Where do I go from here? ......................................................................................................... 22 Managing nodes ............................................................................................................................... 23 MemoryDB nodes and shards ..................................................................................................... 23 Supported node types .............................................................................................................. 24 Replacing nodes ....................................................................................................................... 25 Managing clusters ............................................................................................................................ 26 Preparing a cluster ................................................................................................................... 27 Determining your requirements .......................................................................................... 27 Viewing a cluster's details ......................................................................................................... 29 Modifying a cluster ................................................................................................................... 32 Adding / Removing nodes from a cluster ..................................................................................... 34 Accessing your cluster .............................................................................................................. 36 Grant access to your cluster ............................................................................................... 36 Accessing MemoryDB from outside AWS ............................................................................. 37 Finding connection endpoints .................................................................................................... 41 Shards .................................................................................................................................... 43 Finding a shard's name ..................................................................................................... 43 Managing your MemoryDB implementation ......................................................................................... 46 Engine versions and upgrading .................................................................................................. 46 Supported Redis versions .................................................................................................. 47 Upgrading engine versions ................................................................................................ 48 Tagging your MemoryDB resources ............................................................................................. 49 iii Amazon MemoryDB for Redis Developer Guide Monitoring costs with tags ................................................................................................ 52 Managing tags using the AWS CLI ...................................................................................... 53 Managing tags using the MemoryDB API ............................................................................. 55 Managing maintenance ............................................................................................................. 57 Best practices .......................................................................................................................... 58 Restricted Redis Commands ............................................................................................... 59 Resilience ........................................................................................................................ 60 Best practices: Online cluster resizing ................................................................................. 61 Understanding MemoryDB replication ......................................................................................... 61 Consistency ..................................................................................................................... 62 Replication in a cluster ...................................................................................................... 62 Minimizing downtime with Multi-AZ ................................................................................... 63 Changing the number of replicas ....................................................................................... 69 Snapshot and restore ...............................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages227 Page
-
File Size-