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
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
add a comment |
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
add a comment |
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
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
aws-lambda aws-api-gateway
asked Mar 21 at 16:15
vantonopvantonop
32
32
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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