How can I configure VPC in Jets app? My RDS is under a VPC


#1

How can I configure VPC in Jets app? My RDS is under a VPC. Also, how can I configure other parameters like memory?


Jets application timing out on describe_stacks at /lib/jets/aws_info.rb:76
#2

You’re looking for the vpc_config of the lambda function. http://rubyonjets.com/docs/function-properties/

Found that for VPC to work:

  • The VPC subnet needs to be private subnet with a NAT
  • The security group needs to allow inbound access to the subnets CIDR range

Another option that doesn’t require a NAT is to enable VPC endpoint. See:


Is anyone using vpc_config?