AWS Elasticache & RDS in Private Subnet of VPC Using CloudFormation

VJ Mali
Aug 28, 2021

AWS Elasticache is a fully managed in memory cache service. It supports two open sources compatible engines which are Redis & Memcached.

AWS RDS is Relation Database Service using which we can launch relational database(like MySQL, PostgreSQL, MariaDB, Amazon Aurora, Oracle & MS SQL Server) instances.

Steps to launch Elasticache & RDS into private subnet of VPC :

  1. SecurityGroups to allow ingress communication to Cache & database instances as mentioned below
security group for RDS
security group for Elasticache cluster

2. SubnetGroups for cache & database instances.

Subnet Group for RDS with private subnet IDs
Subnet Group for Elasticache

3. Launch MySQL RDS & Elasticache Cluster.

Creating MySQL DB Instance using PrivateSubnetGroup & SecuityGroup
Single Node Elasticache Memcached Cluster

Complete Demo is available here

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

VJ Mali
VJ Mali

Written by VJ Mali

AWS Certified Cloud Solution Architect, I publish stories on Cloud Security, IAC, Serverless, Terraform, CI/CD with cloud services, Cloud Networking and more...

No responses yet

Write a response