aws-lambda-managed-instances

aws-lambda-managed-instances is a skill for Claude Code, Codex from aws/agent-toolkit-for-aws. It costs 213 tokens per session (4,444 once invoked), scanned A, original, Apache-2.0.

A guide to AWS Lambda Managed Instances, which runs Lambda functions on EC2 instances in your AWS account while AWS manages provisioning, patching, scaling, routing, and load balancing.

In plain words
What is it for?
Use it to evaluate, configure, or migrate workloads to Lambda Managed Instances and compare them with standard Lambda for traffic, cost, compute, isolation, and scale-to-zero needs.
Why use it?
It helps decide whether this option suits workloads that need dedicated capacity, particular hardware, more network control, or fewer cold starts than standard Lambda provides.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to evaluate, configure, or migrate workloads to Lambda Managed Instances and compare them with standard Lambda for traffic, cost, compute, isolation, and scale-to-zero needs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/aws-lambda-managed-instances
About the project

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 3,609 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aws/agent-toolkit-for-aws --skill aws-lambda-managed-instances
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws-lambda-managed-instances

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-lambda-managed-instances/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-lambda-managed-instances)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-lambda-managed-instances"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-lambda-managed-instances/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aws-lambda-managed-instances

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-lambda-managed-instances"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-lambda-managed-instances.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 213 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 30 Oct 2026
  • Snyk pass 19 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00213 $0.04444
Opus 5.5 $0.00085 $0.01778
Sonnet 5.5 $0.00043 $0.00889
Haiku 4.5 $0.00021 $0.00444

Measured 10d ago against content hash 2cdc7f65080e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-lambda-managed-instances scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/specialized-skills/serverless-skills/aws-lambda-managed-instances/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS Lambda Managed Instances (LMI)

Runs Lambda Event Functions on EC2 instances in the user's account while AWS manages provisioning, patching, scaling, routing, and load balancing. Combines Lambda's developer experience with EC2's pricing and hardware options.

Works best with the AWS MCP server for sandboxed CLI execution and audit logging. All guidance also works with standard AWS CLI or SAM CLI.

Note: Confirm regional availability, quotas, and instance type offerings against current AWS documentation before production deployment.

Quick Decision: Is LMI Right for This Workload?

Signal LMI is a strong fit Lambda Event Functions are better
Traffic Steady, predictable, 50M+ req/mo Bursty, unpredictable, long periods of no traffic
Duration Long-running asynchronous/ESM jobs that exceed 30 min (up to 90 min on LMI): ETL/data processing, media transcoding, ML inference, financial calc, web scraping Short invocations; synchronous work needing >30 min (not supported on any Lambda)
Cost Duration-heavy spend at scale Low or sporadic invocations
Cold starts Unacceptable (LMI eliminates for provisioned capacity) Tolerable
Compute Latest CPUs, specific families, high network bandwidth, NVIDIA GPUs (inference, transcoding, rendering) Lambda Event Functions memory/CPU sufficient
Isolation Dedicated EC2 instances in your account, full VPC control Shared Firecracker micro-VMs acceptable
Scale-to-zero Does not scale to zero but can create custom schedules with AWS provided solutions Required (pay nothing when idle)
Code readiness Thread-safe (Node.js/Java/.NET) or any Python code Non-thread-safe code, expensive to change

Routing

Read ONLY the single reference file that matches the user's task. Do not preload multiple references.

User need Action
Cost comparison, pricing analysis, Savings Plans, Reserved Instances Read cost-comparison.md
Instance types, memory sizing, vCPU ratios, scaling tuning, capacity provider config, SOCI lazy loading for large container images Read configuration-guide.md
Thread safety, concurrency model, code review checklist, multi-concurrency readiness Read thread-safety.md
Before/after code examples, runtime-specific migration, connection pooling Read migration-patterns.md
IAM roles, VPC setup, CLI commands, SAM template, CDK example Read infrastructure-setup.md
Errors, throttling, debugging, stuck deployments Read troubleshooting.md
GPU-accelerated functions: accelerator memory, GPU instances, GPU base images (vLLM, SGLang, PyTorch), GPU concurrency, GPU errors Read gpu-acceleration.md

Read the full file on GitHub · 215 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +6 lines · +6 tokens per session 2cdc7f65080e
  2. 1mo ago Changed · +8 lines · +11 tokens per session 577c2acf68ea
  3. 1mo ago Changed · +7 tokens per session 1c99095cce55
  4. 2mo ago Changed · +23 lines · +66 tokens per session 8f17edb1e6e8
  5. 2mo ago First seen · 178 lines · 123 tokens per session scan A 89d08566cc93

Subscribe to this mod's changes

aws-lambda-managed-instances is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 213 tokens to every session and 4,444 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

aws-lambda-managed-instances compared with skills from other repositories

aws-lambda-managed-instances next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-lambda-managed-instancesaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A213Claude Code, Codex
alchemy-providerpingdotgg/t3codeSkill84ktodayMITA153Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
django-storages-s3Jeffallan/claude-skillsSkill13ktodayMITA138Claude Code
websocket-engineerJeffallan/claude-skillsSkill13ktodayMITA36Claude Code
azure-eventhub-dotnetmicrosoft/skillsSkill3.3k3d agoMITA94Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k3d agoMITA78Claude Code