A JavaScript runtime is the execution support that runs JavaScript/Node.js function code. In AWS Lambda, you select a runtime environment, upload code and dependencies, configure the function, and invoke it in the cloud. section 6.1.2
Lambda provides a fine-grained execution environment for a function rather than a complete operating system or container. AWS manages the underlying infrastructure, while the function supplies the application logic. section 6.1 section 6.1.3
A Lambda JavaScript runtime involves:
- Selecting JavaScript/Node.js as the runtime environment. section 6.1.2
- Uploading the function code and dependencies, such as libraries or modules. section 6.1.2
- Running the code inside managed execution contexts that AWS creates and initializes as needed. section 6.4.1
Periodic website health check
A JavaScript/Node.js Lambda function can perform a website health check on a schedule. The short task suits a managed, invocation-based environment, although a cold start may add milliseconds to seconds of latency. section 6.0 section 6.4.1
Shows the sequence from writing code through uploading, configuring the runtime environment, and invoking the Lambda function. section 6.1.2



