AmericanRedCross / osm-stats

Track and analyze contributions to Missing Maps
http://missingmaps.org
BSD 3-Clause "New" or "Revised" License
26 stars 9 forks source link

lambda outbound network connections failing #31

Closed kriscarle closed 7 years ago

kriscarle commented 8 years ago

The security group setup from the osmstats.py script doesn't seem to be enough to allow the lambda script to connect to the OSM and Tasking Manager APIs. Did you have to do something special to let the network traffic out?

I've tried adding a NAT gateway to my default VPC subnet and setting the outbound traffic rules, but that didn't solve it.

kriscarle commented 8 years ago

The temporary solution here is to move the lamba function out of the VPC.