elastic-beanstalk-deployment

Configure AWS Elastic Beanstalk Node.js dependency strategies for monorepo deployments.

121|16|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/pr-pm/prpm --skill elastic-beanstalk-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elastic-beanstalk-deployment
Source: https://github.com/pr-pm/prpm/tree/main/.claude/skills/elastic-beanstalk-deployment
Command: npx skills add https://github.com/pr-pm/prpm --skill elastic-beanstalk-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves deployment failures and dependency issues when deploying Node.js applications to AWS Elastic Beanstalk, especially in complex monorepo setups.

Core Features & Use Cases

  • Dependency Strategy Selection: Choose between letting EB install dependencies or bundling node_modules for reliability.
  • Monorepo Workspace Handling: Properly install workspace packages outside the workspace context to avoid symlink issues.
  • Use Case: Imagine you're deploying a monorepo application with internal workspace packages. Use this Skill to implement clean context installation that converts workspace references to file paths, ensuring all dependencies are properly bundled.

Quick Start

Use the elastic-beanstalk-deployment skill to help me choose the right dependency strategy for my Node.js application deployment to AWS.

Frequently Asked Questions about elastic-beanstalk-deployment

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

FAQPage Schema
How do I deploy a Node.js app to AWS Elastic Beanstalk without dependency installation failures?

Elastic Beanstalk Node.js deployments can fail when dependencies aren't properly handled. Choose a dependency strategy: let EB install them during deployment, or bundle node_modules into your package for reliability. For monorepos with workspace packages, convert workspace references to file paths and bundle node_modules to avoid symlink issues in the EB environment.

What's the best way to handle workspace packages in an Elastic Beanstalk monorepo deployment?

Workspace packages must be installed outside the workspace context on EB to prevent symlink failures. Replace workspace references with file: paths pointing to local packages, then bundle the complete node_modules directory into your deployment package so EB doesn't reinstall dependencies.

Should I bundle node_modules or let Elastic Beanstalk install dependencies?

Bundling node_modules guarantees consistency and avoids EB's installation variability, especially with private packages or monorepos. Let EB install dependencies only if your package.json is simple and all packages are public; otherwise, pre-bundle node_modules for deployment reliability.

How do I fix Elastic Beanstalk deployment failures caused by private or workspace dependencies?

Private packages and workspace references require special handling on EB. Convert workspace symlinks to file: paths, bundle node_modules locally before deployment, and validate your deployment package includes all dependencies. Use environment variable overrides if EB's package manager settings need adjustment.

Can I deploy a monorepo with internal packages to AWS Elastic Beanstalk?

Yes, but monorepos need adapted deployment preparation. Replace workspace package references with file: paths, bundle node_modules into your deployment package, and validate the complete dependency tree before uploading to EB. This ensures internal packages install correctly without symlink conflicts.

What validation should I perform before deploying to Elastic Beanstalk?

Validate your deployment package contains all required dependencies, dependency paths resolve correctly, and workspace references are converted to file: paths. Test the package locally to confirm node_modules structure matches what EB will use, preventing runtime dependency resolution failures.