Amazon Web Service- ElastiCache

Amazon Web Service- ElastiCache

 Amazon Web Service- Elasticache

It is an in-memory cache service with support for Memcached and Redis. Elasticache is a web service used to deploy, operate, and scale an in-memory cache in the cloud. It improves the performance of web applications by allowing you to retrieve information from fast, managed in-memory cache instead of relying entirely on slower disk-based databases.


For example, if you are running an online business, customers continuously asking for the information of a particular product. Instead of front-end going and always asking information for a product, you can cache the data using

Ø  Types of Elasticache:

1.  Mamcache:  Memcached is a Memcached-compatible in-memory ,key-value store service which will be used as a cache.

    • It is an easy-to-use, high performance, in-memory data store.
    • It can be used as a cache or session store.
    • It is mainly used in real-time applications such as Web, Mobile Apps, Gaming, Ad-Tech, and E-Commerce.

Use Cases: Web, Mobile application, gaming etc.


2. Redis (Remote Dictionary Server):

  • Redis stands for Remote Dictionary Server.
  • It is a fast, open-source, and in-memory key-value data store.
  • Its response time is in a millisecond, and also serves the millions of requests per second for real-time applications such as Gaming, AdTech, Financial services, Health care, and IoT.
  • It is used for caching, session management, gaming, leaderboards, real-time analytics, geospatial, etc.

Use Cases: session management, gaming, leaderboard, real-time analysis etc.

Ø  Features of Amazon RDS:

a.    ScalableAmazon RDS allows to scale the relational database by using AWS Management Console or RDS-specific API. We can increase or decrease your RDS requirements within minutes.

b.  Host replacement − Sometimes these situations occur when the hardware of Amazon RDS fails. There is no need to worry, it will be automatically replaced by Amazon.

c.  Inexpensive − Using Amazon RDS, we pay only for the resources we consume. There is no up-front and long-term commitment.

d.  Secure −Amazon RDS provides complete control over the network to access their database and their associated services.

e.   Automatic backupsAmazon RDS backs up everything in the database including transaction logs up to last five minutes and also manages automatic backup timings.

f.    Software patching − automatically gets all the latest patches for the database software. We can also specify when the software should be patched using DB Engine Version Management.

 Buy the best book for AWS- AWS Certified Solutions Architect Study Guide- by Ben Piper and David Clinton, Google Cloud Certified – Professional Cloud Architect” by Dan Sullivan

v Steps to Set Up Amazon RDS:

Step 1 − Login to AWS management console. Use the following link to open Amazon RDS console −

Step 2 − Select the region where the DB instance is to be created, at the top right corner of the Amazon RDS console.

Step 3 − Select Instances in the navigation pane, then click Launch DB Instance button.

Step 4 − The Launch DB Instance Wizard opens. Select the type of instance as required to launch and click the Select button.

Step 5 − On the Specify DB Details page, provide the required details and click the Continue button.

Step 6 − On the Additional configuration page, provide the additional information required to launch the MySQL DB instance and click the Continue button.

Step 7 − On Management options page, make the choices and click the Continue button.

 Step 8 − On the Review page, verify the details and click the Launch DB Instance button.

Now DB instance shows in the list of DB instances.


Leave a Reply

Your email address will not be published. Required fields are marked *