
上QQ阅读APP看书,第一时间看更新
Execution environment
AWS Lambda promises the execution of your code without a need to manage the underlying infrastructure. That doesn't mean that the underlying infrastructure and servers don't exist. They need to exist to provide an execution environment to the Lambda function. AWS manages them for you and abstracts away the nuts and bolts.
AWS maintains a fleet of machines to run the functions via various orchestration mechanisms. The underlying hardware is as follows:
- Public Amazon Linux Amazon Machine Image (AMI) (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html): More information about the Amazon flavor of Linux can be found here (https://aws.amazon.com/amazon-linux-ami/). The AMI name is amzn-ami-hvm-2017.03.1.20170812-x86_64-gp2.
- At the time of writing this book, the Linux kernel version used internally is 4.9.93-41.60.amzn1.x86_64. This is subject to change and is at AWS' discretion. The reader can stay updated with the official documentation on AWS (https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html).