Amazon API Gateway unable to call Lambda in VPC The Next CEO of Stack OverflowIs there a way to change the http status codes returned by Amazon API Gateway?AWS Lambda: How to setup a NAT gateway for a lambda function with VPC accessAmazon API Gateway to lambda to rds?Connect to ElastiCache cluster using Api GatewayPutting both Lambda and RDS in default VPC behind an API Gateway?API Gateway+Lambda+VPC timeout issueHow to properly connect AWS API gateway -> Lambda -> DAX -> DynamoDB?Limit access to lambda or api gateway to a specific vpcAWS API Gateway immediate timeout when using child_process in LambdaAccess Api Gateway from Lambda under VPC

Trouble understanding the speech of overseas colleagues

Why do remote companies require working in the US?

Why does C# sound extremely flat when saxophone is tuned to G?

How should I support this large drywall patch?

What does "Its cash flow is deeply negative" mean?

Go Pregnant or Go Home

Why were Madagascar and New Zealand discovered so late?

Only print output after finding pattern

How to make a software documentation "officially" citable?

Is it safe to use c_str() on a temporary string?

Error when running sfdx update to 7.1.3 then sfdx push errors

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

What makes a siege story/plot interesting?

How to use tikz in fbox?

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

% symbol leads to superlong (forever?) compilations

Is a stroke of luck acceptable after a series of unfavorable events?

Why did we only see the N-1 starfighters in one film?

When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?

How to write the block matrix in LaTex?

What is the point of a new vote on May's deal when the indicative votes suggest she will not win?

What happens if you roll doubles 3 times then land on "Go to jail?"

The King's new dress

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin



Amazon API Gateway unable to call Lambda in VPC



The Next CEO of Stack OverflowIs there a way to change the http status codes returned by Amazon API Gateway?AWS Lambda: How to setup a NAT gateway for a lambda function with VPC accessAmazon API Gateway to lambda to rds?Connect to ElastiCache cluster using Api GatewayPutting both Lambda and RDS in default VPC behind an API Gateway?API Gateway+Lambda+VPC timeout issueHow to properly connect AWS API gateway -> Lambda -> DAX -> DynamoDB?Limit access to lambda or api gateway to a specific vpcAWS API Gateway immediate timeout when using child_process in LambdaAccess Api Gateway from Lambda under VPC










0















When I'm moving my AWS Lambda function inside an RDS MySQL VPC, then the API Gateway cannot call it and timeouts. Is it possible to call a VPC Lambda from API Gateway?



VPC Links cannot be created with Application Load Balancers that is the only choice for a Lambda function, they need Network Load Balancers.










share|improve this question


























    0















    When I'm moving my AWS Lambda function inside an RDS MySQL VPC, then the API Gateway cannot call it and timeouts. Is it possible to call a VPC Lambda from API Gateway?



    VPC Links cannot be created with Application Load Balancers that is the only choice for a Lambda function, they need Network Load Balancers.










    share|improve this question
























      0












      0








      0








      When I'm moving my AWS Lambda function inside an RDS MySQL VPC, then the API Gateway cannot call it and timeouts. Is it possible to call a VPC Lambda from API Gateway?



      VPC Links cannot be created with Application Load Balancers that is the only choice for a Lambda function, they need Network Load Balancers.










      share|improve this question














      When I'm moving my AWS Lambda function inside an RDS MySQL VPC, then the API Gateway cannot call it and timeouts. Is it possible to call a VPC Lambda from API Gateway?



      VPC Links cannot be created with Application Load Balancers that is the only choice for a Lambda function, they need Network Load Balancers.







      aws-lambda aws-api-gateway






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 16:15









      vantonopvantonop

      32




      32






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Are you sure that it's not your lambda that is timing out. API Gateway has no problem calling Lambda functions that are configured to run inside a VPC.



          Consider using a VPC service endpoint for KMS and/or other services you need if you need your lambda to run in a VPC. Depending on the services this might be cheaper than a NAT gateway.






          share|improve this answer

























          • You were right. I was decrypting a class variable using KMS, but it turns out that it needs internet access. You were right, no problem for calling a VPC Lambda function from API Gateway. Thanx.

            – vantonop
            Mar 22 at 10:57












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284862%2famazon-api-gateway-unable-to-call-lambda-in-vpc%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Are you sure that it's not your lambda that is timing out. API Gateway has no problem calling Lambda functions that are configured to run inside a VPC.



          Consider using a VPC service endpoint for KMS and/or other services you need if you need your lambda to run in a VPC. Depending on the services this might be cheaper than a NAT gateway.






          share|improve this answer

























          • You were right. I was decrypting a class variable using KMS, but it turns out that it needs internet access. You were right, no problem for calling a VPC Lambda function from API Gateway. Thanx.

            – vantonop
            Mar 22 at 10:57
















          0














          Are you sure that it's not your lambda that is timing out. API Gateway has no problem calling Lambda functions that are configured to run inside a VPC.



          Consider using a VPC service endpoint for KMS and/or other services you need if you need your lambda to run in a VPC. Depending on the services this might be cheaper than a NAT gateway.






          share|improve this answer

























          • You were right. I was decrypting a class variable using KMS, but it turns out that it needs internet access. You were right, no problem for calling a VPC Lambda function from API Gateway. Thanx.

            – vantonop
            Mar 22 at 10:57














          0












          0








          0







          Are you sure that it's not your lambda that is timing out. API Gateway has no problem calling Lambda functions that are configured to run inside a VPC.



          Consider using a VPC service endpoint for KMS and/or other services you need if you need your lambda to run in a VPC. Depending on the services this might be cheaper than a NAT gateway.






          share|improve this answer















          Are you sure that it's not your lambda that is timing out. API Gateway has no problem calling Lambda functions that are configured to run inside a VPC.



          Consider using a VPC service endpoint for KMS and/or other services you need if you need your lambda to run in a VPC. Depending on the services this might be cheaper than a NAT gateway.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 22 at 13:23

























          answered Mar 21 at 17:14









          cementblockscementblocks

          1,919815




          1,919815












          • You were right. I was decrypting a class variable using KMS, but it turns out that it needs internet access. You were right, no problem for calling a VPC Lambda function from API Gateway. Thanx.

            – vantonop
            Mar 22 at 10:57


















          • You were right. I was decrypting a class variable using KMS, but it turns out that it needs internet access. You were right, no problem for calling a VPC Lambda function from API Gateway. Thanx.

            – vantonop
            Mar 22 at 10:57

















          You were right. I was decrypting a class variable using KMS, but it turns out that it needs internet access. You were right, no problem for calling a VPC Lambda function from API Gateway. Thanx.

          – vantonop
          Mar 22 at 10:57






          You were right. I was decrypting a class variable using KMS, but it turns out that it needs internet access. You were right, no problem for calling a VPC Lambda function from API Gateway. Thanx.

          – vantonop
          Mar 22 at 10:57




















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284862%2famazon-api-gateway-unable-to-call-lambda-in-vpc%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript