elastic-beanstalk-deployment
Deployment skill for AWS Elastic Beanstalk Node.js apps, providing dependency strategies for monorepos, private packages, and environment configuration.
Introduction
This skill acts as a specialized guide for deploying Node.js applications to AWS Elastic Beanstalk, focusing on complex deployment environments such as monorepos and private repository setups. It addresses common pitfalls regarding dependency management, including when to allow Elastic Beanstalk to handle npm installations versus when to manually bundle node_modules to ensure deployment reliability. By providing standardized workflows, it helps engineers avoid 'Cannot find module' errors and build failures caused by symlinks or network registry issues.
-
Standardizes AWS Elastic Beanstalk deployment pipelines using GitHub Actions or local CLI methods.
-
Implements the 'Bundle node_modules' strategy to ensure reliable deployments for monorepo workspace packages and private npm dependencies.
-
Provides detailed solutions for clean context installation, ensuring that dependencies are correctly resolved outside of workspace symlinks.
-
Configures platform-specific environment settings like NPM_USE_PRODUCTION flags and Node.js engine versions.
-
Integrates container_commands for database migrations and automated startup tasks within the Elastic Beanstalk lifecycle.
-
Facilitates troubleshooting for common runtime errors such as binary compatibility issues and missing dependency modules.
-
Best suited for DevOps engineers, backend developers, and AI agents managing infrastructure for cloud-based Node.js services.
-
Requires familiarity with node.js, npm, and AWS Elastic Beanstalk architecture.
-
Inputs typically involve package.json configurations, build artifacts, and repository structure files.
-
Expected outputs include optimized deployment scripts, .ebextensions configuration files, and troubleshooting reports for deployment failures.
-
Users should note that this skill is not for Docker-based deployments, which require different container-level dependency management.
Repository Stats
- Stars
- 106
- Forks
- 12
- Open Issues
- 4
- Language
- TypeScript
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- Apr 29, 2026, 12:20 PM