GithubHelp home page GithubHelp logo

ittus / aws-lambda-vpc-nat-examples Goto Github PK

View Code? Open in Web Editor NEW
119.0 6.0 25.0 581 KB

Example of setting up AWS lambda function with VPC and NAT

JavaScript 100.00%
serverless aws lambda vpc nat igw internet gateway elasticahe redis

aws-lambda-vpc-nat-examples's Introduction

image

aws-lambda-vpc-nat-examples's People

Contributors

dependabot[bot] avatar ittus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aws-lambda-vpc-nat-examples's Issues

Add Warning: NAT Gateway not covered by Free Tier

So I used this example without knowing that NAT Gateways are not covered under AWS's free tier, which in about two weeks racked up $30 in charges.

Please add a note to the README for this project warning developers that they can be charged a significant amount of money by deploying this code. I can only imagine what would have happened if I had deployed this and left it up all month.

AllocationId: Fn::GetAtt: ... doesn't seem to be working for me

I know this is a really old serverless configuration, but any help would be appreciated, if you even still deal with this domain of problems.

This is the error I'm getting on my end, using the configurations suggested in this example service:

โœ– Stack address-validation-prod failed to deploy (103s)
Environment: darwin, node 16.13.2, framework 3.0.0 (local) 3.2.1v (global), plugin 6.0.0, SDK 4.3.0
Credentials: Local, "default" profile
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
CREATE_FAILED: NatGatewayLambda (AWS::EC2::NatGateway)
Value of property AllocationId must be of type String

Requires two non-empty parameters

I got the following when I tried with serverless framework

The CloudFormation template is invalid: Template error: every Fn::GetAtt object requires two non-empty parameters, the resource name and the resource attribute

Please let me know solution to fix this issue.

NAT Instance instead of NAT-Gateway

The current examples uses a NAT-Gateway. Is it possible to replace it with a NAT-Instance?
With the usage of a NAT-Instance the monthly costs can be reduced compared to the NAT-Gateway.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.