Amazon ElastiCache for Redis and Memcached - - AWS Certification


Let’s get a quick overview of Amazon ElastiCache for Redis and Memcached from an AWS certification perspective. We will look at important certification questions regarding Amazon ElastiCache for Redis and Memcached.

You will learn

  • What is Amazon ElastiCache?
  • What are the options that Amazon ElastiCache offers?
  • When do we use Amazon ElastiCache for Redis vs Amazon ElastiCache for Memcached?
  • How is Amazon ElastiCache for Redis different from Amazon ElastiCache for Memcached?

AWS Certification - 25 PDF Cheat Sheets + Free Course

Each cheat sheet contains:

  • FAQs and Tutorials with 5-20 slides
  • Notes to quickly review and prepare for certification exam
  • Certification Exam Tips
  • Certification and Interview Scenario Questions
Download

Amazon ElastiCache

Amazon ElastiCache allows you to seamlessly set up, run, and scale popular open-Source compatible in-memory data stores in the cloud. Build data-intensive apps or boost the performance of your existing databases by retrieving data from high throughput and low latency in-memory data stores. Amazon ElastiCache is a popular choice for real-time use cases like Caching, Session Stores, Gaming, Geospatial Services, Real-Time Analytics, and Queuing.

  • Managed service providing highly scalable and low latency in-memory data store
  • Used for distributed caching
  • Two Options:
    • Redis
    • Memcached

Amazon ElastiCache for Redis

  • Highly scalable and low latency in-memory data store
  • Can be used as a cache, database or message broker
  • Automatic failover with Multi-AZ deployments (if enabled)
  • Supports backup and restore
  • Supports encryption at-rest (KMS) and in-transit
  • Use cases:
    • Caching
    • Session Store
    • Chat and Messaging
    • Gaming Leader boards
    • Geospatial Apps (Ride hailing, restaurant recommendations)
    • Queues

Amazon ElastiCache for Redis - Cluster

  • Shard - collection of one or more nodes
  • One node acts as read/write primary
  • Other nodes act as read replicas (up to five read replicas)
  • In case of failure:
    • Primary node is replaced
    • If Multi-AZ replication group is enabled, read replica is promoted to primary
    • DNS entry is updated

ElastiCache Redis - Backup and Snapshot

  • Uses native backup feature of Redis (stored to S3)
  • Recommended to perform snapshot against read replicas
  • You can schedule snapshots
    • Configure backup window and
    • Days of backup you want to store
  • Manual snapshots are available until they are manually deleted

Amazon ElastiCache for Memcached

  • Simple caching layer intended for use in speeding up dynamic web applications
    • Pure cache
    • Non-persistent
    • Simple key-value storage
  • Ideal front-end for data stores like RDS or DynamoDB
  • Can be used as a transient session store
  • Create upto 20 cache nodes
  • Use Auto Discovery to discover cache nodes

Amazon ElastiCache for Memcached - Limitations

  • Backup and restore NOT supported
  • Does not support encryption or replication
  • Does not support snapshots
    • When a node fails, all data in the node is lost
    • Reduce impact of failure by using large number of small nodes

ElastiCache Memcached vs Redis

  • Use ElastiCache Memcached for
    • Low maintenance simple caching solution
    • Easy horizontal scaling with auto discovery
  • Use ElastiCache Redis for
    • Persistence
    • Publish subscribe messaging
    • Read replicas and failover
    • Encryption

Search


Certification - Recommended Reading

Amazon RDS - Relational Database Service and Amazon Aurora

Multi-AZ vs Multi-Region vs Read replicas - Amazon RDS

Database Primer - Availability vs Durability vs RTO vs RPO vs Consistency

Migrating databases in AWS - Data Pipeline vs DMS vs SCT

Amazon RedShift vs RedShift Spectrum vs Amazon EMR - A comparison

AWS Data Lakes - Simplified Big Data Solutions

Amazon RedShift - Big Data in AWS

Amazon Cognito - User Pools, Identity Pools

Amazon S3 Storage Classes - Standard vs Standard-IA vs One Zone vs Intelligent-Tiering vs Glacier

Amazon S3 Glacier - vs Amazon S3

Free Videos - Get Started with AWS Certification

Complete Course - AWS Certified Solutions Architect Associate

Get our amazing course pursued by thousands of learners

  • 400+ Lectures
  • 28 hours on-demand video
  • 18 articles
  • 2 downloadable resources
  • Full lifetime access

Image


Search