Skip to main content
added 440 characters in body
Source Link
Evgeny Zislis
  • 9k
  • 5
  • 38
  • 72

The API for creating a function includes a section to choose which VPC to use for running that function.

source: https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-VpcConfig

It doesn't have to be the default VPC, it can be any VPC.

Consider that "EC2 server inside a VPC" only means that it is some virtual machine that has a NIC connected to a network you have control over in your AWS account (the VPC).

With Lambda, you can choose to run functions on instances that have this NIC connected to a VPC under your control, or you can forego this control and let the Lambdas run where ever they usually do (default system-managed whatever) and just not care about it.

The API for creating a function includes a section to choose which VPC to use for running that function.

source: https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-VpcConfig

It doesn't have to be the default VPC, it can be any VPC.

The API for creating a function includes a section to choose which VPC to use for running that function.

source: https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-VpcConfig

It doesn't have to be the default VPC, it can be any VPC.

Consider that "EC2 server inside a VPC" only means that it is some virtual machine that has a NIC connected to a network you have control over in your AWS account (the VPC).

With Lambda, you can choose to run functions on instances that have this NIC connected to a VPC under your control, or you can forego this control and let the Lambdas run where ever they usually do (default system-managed whatever) and just not care about it.

Source Link
Evgeny Zislis
  • 9k
  • 5
  • 38
  • 72

The API for creating a function includes a section to choose which VPC to use for running that function.

source: https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-VpcConfig

It doesn't have to be the default VPC, it can be any VPC.