AWS Lambda and Elasticache

  • they run in their own Virtual Private Cloud (VPC) context
  • they connect to the internet via that contextual VPC’s Internet Gateway (IGW)
  • they cannot access private subnets in other VPCs
  1. Create a Virtual Private Cloud (VPC)
  2. Add an Internet Gateway (IGW) to the VPC
  3. Update the route table
  4. Add private subnets
  5. Add public subnets
  6. Add Elasticache to the private subnets
  7. Update or Create the Lambda function role
  8. Add Lambda functions to the public subnets
  9. Test your functions

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store