AWS Classroom Series – 06/Nov/2021

AWS ElasticCache

  • AWS Elasticcache is web service that makes it easy to deploy, operate and scale an in-memory cache in the cloud.
  • AWS ElasticCache manages the work involved in setting up an in-memory service, from provisiong the AWS resources you request to install the software.
  • Using ElasticCache, you can add in-memory caching layer to your application in a matter of minutes with few API Calls.
  • AWS Elastic Cache integrates with other AWS services such as EC2 and RDS.
  • The in-memory caching providing Elastic Cache imporves application performance by storing critical peices of data in memory for faster access.
  • AWS ElasticCache currently supports two different in-memory key value engines
    • Memcached:
      • This is widely adopted in-memory key store.
    • Redis:
      • This is an increasingly popular opensource key-value store that supports multiple advanced datastructures like sorted set, hashes and lists.
      • Unlike memcached, Redis has disk persitense built in, meaning you can use it for long lived data.
      • Redis also supports replication, which can be achieved multi-AZ Redundany
    • Architecture of applications in AWS using Elastic Cache Preview
    • Creation: Preview Preview Preview Preview

AWS CLI for Managing Databases

  • AWS interaction types Preview
  • Refer Here for image based demonstration to create access key and secret key
  • Configure CLI
  • AWS CLI Commands:
    • Syntax: aws <service> <action/command> [<parameters>]
  • AWS RDS CLI Refer Here
    • Syntax of rds cli commands aws rds <action/command> [<parameters>]
    • Refer Here for all the available commands for AWS RDS CLI
    • Generally in AWS all the query resources will have commands which will have describe-* kind of naming
    • Lets be specific about describe-db-instances the command for it would be aws rds describe-db-instances [<parameters>]
    • Refer Here for the describe-db-instances command syntax
    • Lets run the following command Preview
    • The output of the command is documented Refer Here
    • Write an AWS CLI command to query all the db subnet groups
    • Exercise: Write AWS CLI command to query all option groups & parameter groups.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube