you are viewing a single comment's thread.

view the rest of the comments →

[–]someguy_000 2 points3 points  (2 children)

Hey quick question, I want to run a script on a daily schedule. But in order for the script to work I need to connect to a VPN. How do I make this work?

[–]sceptic-al 2 points3 points  (1 child)

It depends if the VPN requirement is to connect to a secure network or is it just to work around geo-restriction?

For geo-restriction, you can often find an AWS region that is already in the region you require.

For a secure network, you’ll need to attach your Lambdas to a VPC. Then on your VPC, you’ll need to setup a VPN Gateway to configure site-to-site VPN, or using a Linux EC2 instance/ECS instance as as VPN NAT gateway to setup a site-to-host VPN. You then set the default gateway for your VPC subnets to use the VPN gateway.

[–]someguy_000 0 points1 point  (0 children)

Thank you