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

- Creation:

- Memcached:
AWS CLI for Managing Databases
- AWS interaction types

- Refer Here for image based demonstration to create access key and secret key
- Configure CLI
- AWS CLI Commands:
- Syntax:
aws <service> <action/command> [<parameters>]
- Syntax:
- 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-instancesthe command for it would beaws rds describe-db-instances [<parameters>] - Refer Here for the describe-db-instances command syntax
- Lets run the following command

- The output of the command is documented Refer Here
- Write an AWS CLI command to query all the db subnet groups
- Refer Here for documentation

- Refer Here for documentation
- Exercise: Write AWS CLI command to query all option groups & parameter groups.
- Syntax of rds cli commands
