Skip to content

Instantly share code, notes, and snippets.

View naguibihab's full-sized avatar

Naguib Ihab naguibihab

  • Sydney, Australia
View GitHub Profile
@naguibihab
naguibihab / Data in its original form
Last active December 16, 2019 21:45
How to merge NoSQL & SQL using AWS Glue
// NoSQL
{
tripId: abc,
timeFrom: 123123123,
timeTo: 123123123,
travelPath: [
{
lat: 123123123A
lng: 123123123B
},

How to setup AWS lambda function to talk to the internet and VPC

I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.

So it might be really unintuitive at first but lambda functions have three states.

  1. No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
  2. VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
  3. VPC with NAT, The best of both worlds, AWS services and web.