What Is Amazon Elasticache?

Total Page:16

File Type:pdf, Size:1020Kb

What Is Amazon Elasticache? Amazon ElastiCache User Guide API Version 2015-02-02 Amazon ElastiCache User Guide Amazon ElastiCache: User Guide Copyright © 2015 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region. The following are trademarks of Amazon Web Services, Inc.: Amazon, Amazon Web Services Design, AWS, Amazon CloudFront, AWS CloudTrail, AWS CodeDeploy, Amazon Cognito, Amazon DevPay, DynamoDB, ElastiCache, Amazon EC2, Amazon Elastic Compute Cloud, Amazon Glacier, Amazon Kinesis, Kindle, Kindle Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC, and Amazon WorkDocs. In addition, Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or other countries. 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. AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region. Amazon ElastiCache User Guide Table of Contents What Is Amazon ElastiCache? ......................................................................................................... 1 Amazon ElastiCache Videos .................................................................................................... 2 Introductory Videos ........................................................................................................ 2 Advanced Videos .......................................................................................................... 2 Are You a First-Time ElastiCache User? .................................................................................... 3 Data Model .......................................................................................................................... 4 Cache Nodes ................................................................................................................ 4 Cache Cluster ............................................................................................................... 4 Cache Parameter Groups ............................................................................................... 4 Cache Replication Groups .............................................................................................. 4 Security ....................................................................................................................... 5 Supported Operations ............................................................................................................ 5 Cache Cluster Operations ............................................................................................... 5 Cache Node Parameter Operations .................................................................................. 5 Cache Replication Group Operations (Redis only) ............................................................... 6 Accessing Amazon ElastiCache ............................................................................................... 6 Regions and Endpoints .................................................................................................. 6 Supported Regions ................................................................................................................ 6 Getting Started with Amazon ElastiCache .......................................................................................... 8 Step 1: Before You Begin ........................................................................................................ 8 Step 2: Launch a Cluster ........................................................................................................ 8 Step 2: Launch a Memcached Cluster ............................................................................... 9 Step 2: Launch a Redis Cluster ...................................................................................... 12 Step 3: Authorize Access ...................................................................................................... 15 You Launched Your Cluster into EC2-VPC ........................................................................ 16 You Launched Your Cluster into EC2-Classic .................................................................... 17 Step 4: Connect to a Cluster Node .......................................................................................... 17 Step 4: Connect to a Memcached Node ........................................................................... 18 Step 4: Connect to a Redis Cluster ................................................................................. 19 Step 5: Delete Your Cache Cluster .......................................................................................... 21 Where Do I Go From Here? ................................................................................................... 21 Best Practices for Implementing Amazon ElastiCache ........................................................................ 22 Ensuring That You Have Sufficient Memory to Create a Redis Snapshot ........................................ 22 BGSAVE Process and Memory Usage ............................................................................ 22 Avoiding Running Out of Memory When Executing BGSAVE ............................................... 23 Fault Tolerance: AOF or Multi-AZ? .......................................................................................... 24 Enabling Redis AOF for Fault Tolerance ........................................................................... 24 Enabling Redis Multi-AZ as a Better Approach to Fault Tolerance ......................................... 24 Configuring Your ElastiCache Client for Efficient Load Balancing .................................................. 24 Consistent Hashing Using Java ...................................................................................... 25 Consistent Hashing Using PHP ...................................................................................... 25 Consistent Hashing Using .NET ..................................................................................... 25 ElastiCache Terminology and Concepts ........................................................................................... 26 Nodes ................................................................................................................................ 26 Node Considerations for Memcached .............................................................................. 27 Node Considerations for Redis ....................................................................................... 29 Reserved Nodes .......................................................................................................... 29 Replication Groups and Read Replicas (Redis) ......................................................................... 30 Primary Endpoint ......................................................................................................... 31 Creating a Replication Group ......................................................................................... 31 Adding a Redis Cache Cluster to a Replication Group ........................................................ 32 Multi-AZ with Redis Replication Groups ................................................................................... 32 Notes on Multi-AZ with Redis Replication Groups .............................................................. 32 Failure Scenarios and Multi-AZ Responses ...................................................................... 33 Enabling Redis Multi-AZ ................................................................................................ 35 API Version 2015-02-02 iii Amazon ElastiCache User Guide Backup and Restore for Redis Clusters .................................................................................... 38 Constraints ................................................................................................................. 39 Costs ......................................................................................................................... 39 Automatic Snapshots ................................................................................................... 39 Manual Snapshots ....................................................................................................... 39 Performance Impact of Snapshots .................................................................................. 40 Restoring From a Snapshot ........................................................................................... 40 Deleting Snapshots ...................................................................................................... 41 Clusters ............................................................................................................................. 41 Memcached
Recommended publications
  • Timeline 1994 July Company Incorporated 1995 July Amazon
    Timeline 1994 July Company Incorporated 1995 July Amazon.com Sells First Book, “Fluid Concepts & Creative Analogies: Computer Models of the Fundamental Mechanisms of Thought” 1996 July Launches Amazon.com Associates Program 1997 May Announces IPO, Begins Trading on NASDAQ Under “AMZN” September Introduces 1-ClickTM Shopping November Opens Fulfillment Center in New Castle, Delaware 1998 February Launches Amazon.com Advantage Program April Acquires Internet Movie Database June Opens Music Store October Launches First International Sites, Amazon.co.uk (UK) and Amazon.de (Germany) November Opens DVD/Video Store 1999 January Opens Fulfillment Center in Fernley, Nevada March Launches Amazon.com Auctions April Opens Fulfillment Center in Coffeyville, Kansas May Opens Fulfillment Centers in Campbellsville and Lexington, Kentucky June Acquires Alexa Internet July Opens Consumer Electronics, and Toys & Games Stores September Launches zShops October Opens Customer Service Center in Tacoma, Washington Acquires Tool Crib of the North’s Online and Catalog Sales Division November Opens Home Improvement, Software, Video Games and Gift Ideas Stores December Jeff Bezos Named TIME Magazine “Person Of The Year” 2000 January Opens Customer Service Center in Huntington, West Virginia May Opens Kitchen Store August Announces Toys “R” Us Alliance Launches Amazon.fr (France) October Opens Camera & Photo Store November Launches Amazon.co.jp (Japan) Launches Marketplace Introduces First Free Super Saver Shipping Offer (Orders Over $100) 2001 April Announces Borders Group Alliance August Introduces In-Store Pick Up September Announces Target Stores Alliance October Introduces Look Inside The BookTM 2002 June Launches Amazon.ca (Canada) July Launches Amazon Web Services August Lowers Free Super Saver Shipping Threshold to $25 September Opens Office Products Store November Opens Apparel & Accessories Store 2003 April Announces National Basketball Association Alliance June Launches Amazon Services, Inc.
    [Show full text]
  • Performance at Scale with Amazon Elasticache
    Performance at Scale with Amazon ElastiCache July 2019 Notices Customers are responsible for making their own independent assessment of the information in this document. This document: (a) is for informational purposes only, (b) represents current AWS product offerings and practices, which are subject to change without notice, and (c) does not create any commitments or assurances from AWS and its affiliates, suppliers or licensors. AWS products or services are provided “as is” without warranties, representations, or conditions of any kind, whether express or implied. The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers. © 2019 Amazon Web Services, Inc. or its affiliates. All rights reserved. Contents Introduction .......................................................................................................................... 1 ElastiCache Overview ......................................................................................................... 2 Alternatives to ElastiCache ................................................................................................. 2 Memcached vs. Redis ......................................................................................................... 3 ElastiCache for Memcached ............................................................................................... 5 Architecture with ElastiCache for Memcached ...............................................................
    [Show full text]
  • Database Software Market: Billy Fitzsimmons +1 312 364 5112
    Equity Research Technology, Media, & Communications | Enterprise and Cloud Infrastructure March 22, 2019 Industry Report Jason Ader +1 617 235 7519 [email protected] Database Software Market: Billy Fitzsimmons +1 312 364 5112 The Long-Awaited Shake-up [email protected] Naji +1 212 245 6508 [email protected] Please refer to important disclosures on pages 70 and 71. Analyst certification is on page 70. William Blair or an affiliate does and seeks to do business with companies covered in its research reports. As a result, investors should be aware that the firm may have a conflict of interest that could affect the objectivity of this report. This report is not intended to provide personal investment advice. The opinions and recommendations here- in do not take into account individual client circumstances, objectives, or needs and are not intended as recommen- dations of particular securities, financial instruments, or strategies to particular clients. The recipient of this report must make its own independent decisions regarding any securities or financial instruments mentioned herein. William Blair Contents Key Findings ......................................................................................................................3 Introduction .......................................................................................................................5 Database Market History ...................................................................................................7 Market Definitions
    [Show full text]
  • Amazon Elasticache Deep Dive Powering Modern Applications with Low Latency and High Throughput
    Amazon ElastiCache Deep Dive Powering modern applications with low latency and high throughput Michael Labib Sr. Manager, Non-Relational Databases © 2020, Amazon Web Services, Inc. or its Affiliates. Agenda • Introduction to Amazon ElastiCache • Redis Topologies & Features • ElastiCache Use Cases • Monitoring, Sizing & Best Practices © 2020, Amazon Web Services, Inc. or its Affiliates. Introduction to Amazon ElastiCache © 2020, Amazon Web Services, Inc. or its Affiliates. Purpose-built databases © 2020, Amazon Web Services, Inc. or its Affiliates. Purpose-built databases © 2020, Amazon Web Services, Inc. or its Affiliates. Modern real-time applications require Performance, Scale & Availability Users 1M+ Data volume Terabytes—petabytes Locality Global Performance Microsecond latency Request rate Millions per second Access Mobile, IoT, devices Scale Up-out-in E-Commerce Media Social Online Shared economy Economics Pay-as-you-go streaming media gaming Developer access Open API © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon ElastiCache – Fully Managed Service Redis & Extreme Secure Easily scales to Memcached compatible performance and reliable massive workloads Fully compatible with In-memory data store Network isolation, encryption Scale writes and open source Redis and cache for microsecond at rest/transit, HIPAA, PCI, reads with sharding and Memcached response times FedRAMP, multi AZ, and and replicas automatic failover © 2020, Amazon Web Services, Inc. or its Affiliates. What is Redis? Initially released in 2009, Redis provides: • Complex data structures: Strings, Lists, Sets, Sorted Sets, Hash Maps, HyperLogLog, Geospatial, and Streams • High-availability through replication • Scalability through online sharding • Persistence via snapshot / restore • Multi-key atomic operations A high-speed, in-memory, non-Relational data store. • LUA scripting Customers love that Redis is easy to use.
    [Show full text]
  • Amazon Mechanical Turk Developer Guide API Version 2017-01-17 Amazon Mechanical Turk Developer Guide
    Amazon Mechanical Turk Developer Guide API Version 2017-01-17 Amazon Mechanical Turk Developer Guide Amazon Mechanical Turk: 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 Mechanical Turk Developer Guide Table of Contents What is Amazon Mechanical Turk? ........................................................................................................ 1 Mechanical Turk marketplace ....................................................................................................... 1 Marketplace rules ............................................................................................................... 2 The sandbox marketplace .................................................................................................... 2 Tasks that work well on Mechanical Turk ...................................................................................... 3 Tasks can be completed within a web browser ....................................................................... 3 Work can be broken into distinct, bite-sized tasks .................................................................
    [Show full text]
  • Web Application Hosting in the AWS Cloud AWS Whitepaper Web Application Hosting in the AWS Cloud AWS Whitepaper
    Web Application Hosting in the AWS Cloud AWS Whitepaper Web Application Hosting in the AWS Cloud AWS Whitepaper Web Application Hosting in the AWS Cloud: AWS Whitepaper 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. Web Application Hosting in the AWS Cloud AWS Whitepaper Table of Contents Abstract ............................................................................................................................................ 1 Abstract .................................................................................................................................... 1 An overview of traditional web hosting ................................................................................................ 2 Web application hosting in the cloud using AWS .................................................................................... 3 How AWS can solve common web application hosting issues ........................................................... 3 A cost-effective alternative to oversized fleets needed to handle peaks ..................................... 3 A scalable solution to handling unexpected traffic
    [Show full text]
  • Integration with Amazon S3
    Integration with Amazon S3 YourDataConnect has developed a solution to ingest metadata from the AWS S3 file system into YourDataConnect. Amazon S3 can store multiple object types which enables storage for Internet applications, backup and recovery, disaster recovery, data archives, data lakes for analytics, and hybrid cloud storage. Figure 1 shows an AWS S3 bucket and folders. Figure 1: AWS S3 bucket and folders. Figure 2 shows a preview of the csv file in AWS S3. Figure 2: Preview of data in AWS Copyright © 2020, YourDataConnect. All rights reserved. Integration of Amazon S3 with YourDataConnect has developed a solution to import the file system, S3 bucket, directory, filegroup, file, and field metadata from Amazon S3 intoYourDataConnect while maintaining the hierarchy between S3 objects (see Figure 3). Figure 3: End-to-end traceability of Amazon S3 objects in YourDataConnect To learn more about this solution, please request a demo by contacting [email protected] or visit our website at yourdataconnect.com. Copyright © 2020, YourDataConnect. All rights reserved. This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor is it subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contrac tual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission..
    [Show full text]
  • Amazon Dossier
    Fluch und Segen für Markenhersteller Markus Fost Inhalt des Dossiers amazon – Fluch und Segen für Markenhersteller 1 Facts & Figures von Amazon 2 Das Amazon Geschäftsmodell – ein komplexes Ökosystem 3 Technische Infrastruktur von Amazon 4 Relevanz von Amazon im Herstellerumfeld 5 Das Amazon Ranking – Entscheidend für die Sichtbarkeit von Markenhersteller 6 Ausblick und Thesen Seite . 2 Dossier | amazon – Fluch und Segen für Markenhersteller | © FOSTEC Commerce Consultants Vorstellung Leistungsspektrum FOSTEC Commerce Consultants ANALYSE . Pragmatische Analyse von Strategie, USP, Geschäftsmodell und Prozessen mit dem Fokus auf die digitale Welt mittels einer Umfeld- und Customer Journey Analyse . Ergebnis: Status quo, Handlungsoptionen und Optimierungsansätze ZIELDEFINITION . Auf Basis Ihrer Ziele mit unserem Know-How gemeinsames Entwickeln eines Best-in-Class Digitalstrategie . Ergebnis: Blueprint Ihrer Digitalstrategie inklusive (E-Commerce) Distributionsstrategie, Quick-wins, Systemevaluation UMSETZUNG . Mit Projekterfahrung und Methodenkompetenz unterstützen wir Ihre Umsetzung zur digitalen Transformation . Ergebnis: Nachhaltig erfolgreiches Geschäftsmodell Seite . 3 Dossier | amazon – Fluch und Segen für Markenhersteller | © FOSTEC Commerce Consultants Vorstellung Warum FOSTEC der richtige Diskussionspartner ist . Erfahrene Experten beraten Sie individuell und auf Augenhöhe . Persönliche Betreuung durch ein inhabergeführtes Beratungsunternehmen . Wir wählen effiziente Methoden, um Sie schnellstmöglich an das Ziel zu bringen . Hohe
    [Show full text]
  • Labeling Parts of Speech Using Untrained Annotators on Mechanical Turk THESIS Presented in Partial Fulfillment of the Requiremen
    Labeling Parts of Speech Using Untrained Annotators on Mechanical Turk THESIS Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University By Jacob Emil Mainzer Graduate Program in Computer Science and Engineering The Ohio State University 2011 Master's Examination Committee: Professor Eric Fosler-Lussier, Advisor Professor Mikhail Belkin Copyright by Jacob Emil Mainzer 2011 Abstract Supervised learning algorithms often require large amounts of labeled data. Creating this data can be time consuming and expensive. Recent work has used untrained annotators on Mechanical Turk to quickly and cheaply create data for NLP tasks, such as word sense disambiguation, word similarity, machine translation, and PP attachment. In this experiment, we test whether untrained annotators can accurately perform the task of POS tagging. We design a Java Applet, called the Interactive Tagging Guide (ITG) to assist untrained annotators in accurately and quickly POS tagging words using the Penn Treebank tagset. We test this Applet on a small corpus using Mechanical Turk, an online marketplace where users earn small payments for the completion of short tasks. Our results demonstrate that, given the proper assistance, untrained annotators are able to tag parts of speech with approximately 90% accuracy. Furthermore, we analyze the performance of expert annotators using the ITG and discover nearly identical levels of performance as compared to the untrained annotators. ii Vita 2009................................................................B.S. Physics, University of Rochester September 2009 – August 2010 .....................Distinguished University Fellowship, The Ohio State University September 2010 – June 2011 .........................Graduate Teaching Assistant, The Ohio State University Fields of Study Major Field: Computer Science and Engineering iii Table of Contents Abstract ..............................................................................................................................
    [Show full text]
  • Analytics Lens AWS Well-Architected Framework Analytics Lens AWS Well-Architected Framework
    Analytics Lens AWS Well-Architected Framework Analytics Lens AWS Well-Architected Framework Analytics Lens: AWS Well-Architected Framework 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. Analytics Lens AWS Well-Architected Framework Table of Contents Abstract ............................................................................................................................................ 1 Abstract .................................................................................................................................... 1 Introduction ...................................................................................................................................... 2 Definitions ................................................................................................................................. 2 Data Ingestion Layer ........................................................................................................... 2 Data Access and Security Layer ............................................................................................ 3 Catalog and Search Layer ...................................................................................................
    [Show full text]
  • Amazon Mechanical Turk Requester UI Guide Amazon Mechanical Turk Requester UI Guide
    Amazon Mechanical Turk Requester UI Guide Amazon Mechanical Turk Requester UI Guide Amazon Mechanical Turk: Requester UI Guide Copyright © 2014 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. The following are trademarks of Amazon Web Services, Inc.: Amazon, Amazon Web Services Design, AWS, Amazon CloudFront, Cloudfront, Amazon DevPay, DynamoDB, ElastiCache, Amazon EC2, Amazon Elastic Compute Cloud, Amazon Glacier, Kindle, Kindle Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC. In addition, Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or other countries. 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 Mechanical Turk Requester UI Guide Table of Contents Welcome ..................................................................................................................................... 1 How Do I...? ......................................................................................................................... 1 Introduction to Mechanical Turk .......................................................................................................
    [Show full text]
  • Enter the Purpose-Built Database Era: Finding the Right Database Type for the Right Job
    Enter the Purpose-Built Database Era: Finding the right database type for the right job 1 INTRODUCTION Stepping into the purpose-built era Data is a strategic asset for every organization. As data continues to exponentially grow, databases are becoming increasingly crucial to understanding data and converting it to valuable insights. IT leaders need to look for ways to get more value from their data. If you’re running legacy databases on-premises, you’re likely finding that provisioning, operating, scaling, and managing databases is tedious, time-consuming, and expensive. You need modernized database solutions that allow you to spend time innovating and building new applications—not managing infrastructure. Moving on-premises data to managed databases built for the cloud can help you reduce time and costs. Once your databases are in the cloud, you can innovate and build new applications faster—all while getting deeper and more valuable insights. Migrating to the cloud is the first step toward entering the era of purpose-built databases. But once in the cloud, how do you know which types of databases to use for which functions? Read on to learn more about purpose-built database types—and how you can ensure a smooth transition into an era of innovation, performance, and business success. 2 WHY CHANGE? Going beyond relational only Before we begin discussing purpose-built databases, let’s examine the status quo—using relational databases for just about every use case. Relational databases were designed for tabular data with consistent structure and fixed schema. They work for problems that are well defined at the onset.
    [Show full text]