execution environment
The platform environment that actually runs your code, such as an EC2 instance, a container task or a Lambda sandbox, and hands it things like temporary credentials.
In more detail
Workloads on AWS get their role credentials from the execution environment rather than from files, which is why the same script can run as different roles in different environments. For Lambda, AWS creates and reuses execution environments behind the scenes, which is where cold starts come from.
Related terms
- temporary security credentials — Cloud credentials that expire on their own after minutes or hours, issued when a role is assumed.
- instance profile — The container that attaches an IAM role to an EC2 instance, so programs on it receive temporary credentials automatically.
- cold start — The extra delay when a platform must start a fresh copy of your code or server before it can serve the first request.
- Lambda runtime — The language environment, such as Python 3.13 or Node.js 22, in which Lambda runs your function code.
Taught in
- The Danger of Long-Lived Keys — Cloud Infrastructure & Hyperscaler Architecture
- Serverless Compute (Lambda) — Cloud Infrastructure & Hyperscaler Architecture
- Comparing Compute Options — Cloud Infrastructure & Hyperscaler Architecture