elastic-beanstalk

Deploy web and worker applications to AWS Elastic Beanstalk with managed lifecycle configuration.

881|152|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/awslabs/agent-plugins --skill elastic-beanstalk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elastic-beanstalk
Source: https://github.com/awslabs/agent-plugins/tree/main/plugins/deploy-on-aws/skills/elastic-beanstalk
Command: npx skills add https://github.com/awslabs/agent-plugins --skill elastic-beanstalk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deploying applications to AWS often requires managing servers, patching, scaling, and health monitoring manually. This Skill guides an AI agent through deploying web and worker applications to AWS Elastic Beanstalk, where AWS handles the ongoing operational lifecycle after the user provides application code.

Core Features & Use Cases

  • Platform Detection and Mapping: Detects the application's language and framework from codebase signals (requirements.txt, package.json, pom.xml, Dockerfile, etc.) and maps it to the correct Elastic Beanstalk platform branch on Amazon Linux 2023.
  • Environment Configuration: Configures web server or worker environments with sensible dev and production defaults for instance sizing, scaling, deployment policies, HTTPS via ACM, and managed updates.
  • IaC Generation: Produces AWS CLI command workflows by default, with CDK (TypeScript) or Terraform overrides when the user's project already uses those tools.
  • Use Case: A developer migrating a Flask app from Heroku asks the agent to deploy it on AWS without managing servers. The Skill detects the Python platform, provisions a load-balanced environment with an ACM certificate, configures secrets via Secrets Manager, and deploys with rolling updates.

Quick Start

Ask the agent to deploy my application to AWS Elastic Beanstalk using managed platform defaults for production.

Frequently Asked Questions about elastic-beanstalk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an application to AWS Elastic Beanstalk?

The Skill orchestrates the AWS CLI workflow: create a storage location, create the application, zip and upload the source bundle, create an application version, then create the environment with option settings. It resolves the solution stack automatically via list-available-solution-stacks.

Elastic Beanstalk vs ECS vs Lambda: which should I use?

Elastic Beanstalk is an application management service where AWS operates the environment after you provide code. ECS and EKS are infrastructure management services where you define and operate the deployment. Lambda suits explicitly serverless, event-driven workloads with stateless functions.

Does Elastic Beanstalk support worker environments with SQS?

Yes. Worker environments receive work from an SQS queue managed by Elastic Beanstalk. The EB SQS daemon sends HTTP POST requests to your application endpoint, so no SQS SDK integration is required. Scheduled jobs are supported via cron.yaml.

How do I migrate from Heroku to Elastic Beanstalk?

Audit Heroku patterns: map DATABASE_URL to a separately provisioned RDS instance, move add-on credentials to Secrets Manager, keep your Procfile as-is, and set the PORT environment property if your app does not listen on port 5000. Replace explicit AWS credentials with an IAM instance profile.

Why does my Elastic Beanstalk deployment return 502 Bad Gateway?

AL2023 platforms use nginx as a reverse proxy forwarding to port 5000 by default. If your application listens on a different port, set the PORT environment property to match. A port mismatch between nginx and the application causes 502 errors.

How much does Elastic Beanstalk cost per month?

Elastic Beanstalk itself has no service fee; you pay only for underlying AWS resources. A dev web environment with one t3.small and an ALB costs roughly $35-40 per month, while a production multi-AZ setup with four t3.medium instances runs about $150-200.