aws-lambda-managed-instances

aws-lambda-managed-instances is a skill for Claude Code from awslabs/agent-plugins. It costs 130 tokens per session (3,383 once invoked), scanned A, original, Apache-2.0.

A guide to AWS Lambda Managed Instances, which run Lambda functions on EC2 servers while AWS handles provisioning, updates, scaling, routing, and load balancing.

In plain words
What is it for?
Use it to compare costs, choose instance sizes, configure scaling, check thread safety, migrate code, and set up IAM, networking, SAM, or CDK deployments.
Why use it?
It helps you assess whether this option fits workloads that need more control over hardware, pricing, concurrency, or startup behavior than standard Lambda provides.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Part of the aws-serverless plugin — 7 skills, 1 hook shipped together

Good fit Use it to compare costs, choose instance sizes, configure scaling, check thread safety, migrate code, and set up IAM, networking, SAM, or CDK deployments.

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

awslabs/agent-plugins is a collection of plugins, skills, instructions, an MCP server, a hook, and a setting that guide AI coding agents in architecting, deploying, and operating software on Amazon Web Services. It is for developers using coding agents such as Claude Code, Codex, and Cursor with AWS projects. The catalogue entries are the repository's own agent workflows and supporting components.

awslabs/agent-plugins · 921 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 awslabs/agent-plugins --skill aws-lambda-managed-instances
Clone the repo
git clone --depth 1 https://github.com/awslabs/agent-plugins

Made for: Claude Code.

Or install aws-serverless, the plugin that ships this one along with the rest of its 7 skills, 1 hook.

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/awslabs/agent-plugins/aws-lambda-managed-instances/github.svg)](https://agentmods.dev/skills/awslabs/agent-plugins/aws-lambda-managed-instances)
Your own site
<a href="https://agentmods.dev/skills/awslabs/agent-plugins/aws-lambda-managed-instances"><img src="https://agentmods.dev/badge/skills/awslabs/agent-plugins/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/awslabs/agent-plugins/aws-lambda-managed-instances"><img src="https://agentmods.dev/badge/skills/awslabs/agent-plugins/aws-lambda-managed-instances.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,383 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
  • 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.00130 $0.03383
Opus 5.5 $0.00052 $0.01353
Sonnet 5.5 $0.00026 $0.00677
Haiku 4.5 $0.00013 $0.00338

Measured 1mo ago against content hash d512c801d15a, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/setup-lmi.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/aws-serverless/skills/aws-lambda-managed-instances/SKILL.md · 258 lines

How it starts

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

AWS Lambda Managed Instances (LMI)

Run Lambda functions on current-generation EC2 instances in your account while AWS manages provisioning, patching, scaling, routing, and load balancing. Combines Lambda's developer experience with EC2's pricing and hardware options.

For standard Lambda development, see aws-lambda skill. For SAM/CDK deployment, see aws-serverless-deployment skill.

When to Load Reference Files

Quick Decision: Is LMI Right for This Workload?

Signal LMI is a strong fit Standard Lambda is better
Traffic Steady, predictable, 50M+ req/mo Bursty, unpredictable, long idle
Cost Duration-heavy spend at scale Low or sporadic invocations
Cold starts Unacceptable (LMI eliminates for provisioned capacity; scale-out may have brief delays) Tolerable or mitigated by SnapStart
Compute Latest CPUs, specific families, high network bandwidth Standard Lambda memory/CPU sufficient
Isolation Dedicated EC2 instances in your account, full VPC control Shared Firecracker micro-VMs acceptable
Scale-to-zero Not needed (execution environments always running) Required (pay nothing when idle)
Code readiness Thread-safe (Node.js/Java/.NET) or any Python code Non-thread-safe Node.js/Java/.NET, expensive to change

Read the full file on GitHub · 258 lines

Files

What ships with it

7 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. 1mo ago First seen · 258 lines · 130 tokens per session scan A d512c801d15a

Subscribe to this mod's changes

aws-lambda-managed-instances is a skill published in the GitHub repository awslabs/agent-plugins (921 stars, last pushed yesterday), licensed Apache-2.0. It adds 130 tokens to every session and 3,383 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

msk-operations

Amazon MSK Provisioned operations, troubleshooting, and health assessment for Standard and Express brokers. Use whenever the user mentions Amazon MSK, MSK Provisioned, MSK Standard/Express brokers, Apache Kafka on AWS, kafka. / express. instance types, or the AWS/Kafka CloudWatch namespace. Covers MSK performance…

aws/tools-for-devops-agent · 226 tokens

eks-upgrade-readiness

Use this skill when a user asks to assess, plan, or validate an Amazon EKS cluster upgrade. Activate on requests mentioning "EKS upgrade", "Kubernetes version upgrade", "upgrade readiness", "upgrade plan", "pre-upgrade check", "version skew", "deprecated API", "addon compatibility", "node group upgrade", "control…

aws/tools-for-devops-agent · 226 tokens

bedrock-operation-review

Comprehensive Amazon Bedrock review aligned with the AWS Well-Architected Framework and Bedrock best practices. Use this skill when a user asks to review, audit, or assess Amazon Bedrock workloads for best-practices compliance, security posture, performance, cost optimization, service quotas, or resilience. Triggers…

aws/tools-for-devops-agent · 116 tokens

aiml-gpu-training-cluster-investigation

Use this skill for GPU training or inference clusters on SageMaker HyperPod (Slurm or EKS), ParallelCluster, or self-managed EC2/EKS GPU instances. It adds three things. First, a GPU evidence coverage audit that proves per node whether kernel Xid logs and HyperPod health-agent detections were actually arriving, hour…

aws/tools-for-devops-agent · 236 tokens

aws-health-events

ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting. This skill retrieves and analyzes AWS Health events (service issues, scheduled changes, and account notifications) to identify AWS-side events that may explain or correlate with observed…

aws/tools-for-devops-agent · 159 tokens

investigation-cost-guardrail

Cost guardrail for AWS DevOps Agent that covers ALL AWS services and native agent tools. Before the agent makes any paid API call, this skill estimates cost, enforces budgets per investigation, detects expensive operations across all services (Athena queries, S3 scans, DynamoDB scans, SageMaker inference, PromQL…

aws/tools-for-devops-agent · 105 tokens