Serverless with AWS ElastiCache

AWS offers fully managed, in-memory service named ElastiCache. It supports two common engines named Redis and Memcached.

However, the problem is that ElastiCache clusters can only be accessed by the services that are present in the same Virtual Private Cloud – VPC as ElastiCache.

So here is a quick example explaining how to set up a serverless function and ElastiCache cluster under a VPC.

1 – Setting up a VPC

  1. Login to the AWS Console, and open https://console.aws.amazon.com/vpc/
  2. Choose Start VPC Wizard
  3. From navigation, list choose VPC with Public and Private subnets
  4. Keep the default options, and then choose to Create VPC

(more…)

STAY UPDATED!

Do you want to get articles like these in your inbox?

Email *

Interested groups *
Healthtech
Business
Technical articles

Archives