Skip to main content
deleted 43 characters in body
Source Link

You have to set the internet connectivity with lambda since the createAPIKey function sends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a NAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check if the timeout problem of the lambda that doesn't have internet access.)

You have to set the internet connectivity with lambda since the createAPIKey function sends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a NAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check if the problem of the lambda that doesn't have internet access.)

You have to set the internet connectivity with lambda since the createAPIKey function sends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a NAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check the timeout problem.)
deleted 17 characters in body
Source Link

You have to set the internet connectivity with lambda since the createAPIKey function sends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a NAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request from the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check if the problem of the lambda that doesn't have internet access.)

You have to set the internet connectivity with lambda since the createAPIKey function sends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a NAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request from the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check if the problem of the lambda that doesn't have internet access.)

You have to set the internet connectivity with lambda since the createAPIKey function sends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a NAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check if the problem of the lambda that doesn't have internet access.)
added 810 characters in body
Source Link

Make sure youYou have to set your Lambda security group "Outbound rule" that allows outboundthe internet connectivity (ifwith lambda since the LambdacreateAPIKey function is running insends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a private subnetNAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request from the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check if the problem of the lambda that doesn't have internet access.)

Make sure you set your Lambda security group "Outbound rule" that allows outbound internet connectivity (if the Lambda function is running in a private subnet).

You have to set the internet connectivity with lambda since the createAPIKey function sends the internet request to the lambda function. If you are using VPC for your lambda, that means you can only connect within VPC. You will need a NAT service to connect to the internet. If you don't use VPC for your lambda, lambda is connecting to the internet by default. In your case, you seem to be setting the lambda with VPC, so you can't receive the request from the request sent by the API gateway (request to create API keys).

Solution:

  1. If your lambda has VPC groups, create a NAT to connect with your lambda. Link
  2. Detach your lambda with original VPC groups and it will automatically connect to the internet. (This is a dangerous approach, but if you are in a testing environment, you can use this method to check if the problem of the lambda that doesn't have internet access.)
Source Link
Loading