AWS Elastic Beanstalk (EB CLI)
General entry point for Elastic Beanstalk. For specific tasks, use the dedicated skill.
Prerequisites
EB CLI must be installed:
pip install awsebcli
# or
brew install awsebcli
Project must be initialized:
eb init
# Or non-interactive:
eb init <app-name> --region <region> --platform "<platform>"
Quick Reference
| Task | Skill | Key Commands |
|---|---|---|
| Deploy code | deploy |
eb deploy, rollback, CI/CD, eb codesource, eb local |
| Check status & health | status |
eb status, eb list, eb health |
| View logs & events | logs |
eb logs, eb events |
| Configuration | config |
eb config, eb setenv, eb scale |
| Troubleshoot | troubleshoot |
Diagnostic workflow, common fixes |
| Environments | environment |
eb create, eb terminate, eb clone, eb swap |
| Applications | app |
eb init, eb appversion, lifecycle |
| Maintenance | maintenance |
eb upgrade, eb restart, managed actions |
| Infrastructure | eb-infra |
SSL, domains, secrets, database, security, costs |
| Documentation | eb-docs |
Best practices, platform guides, eb labs, eb migrate |
Error Reference
| Error | Solution |
|---|---|
command not found: eb |
pip install awsebcli or brew install awsebcli |
| Not initialized | eb init |
| No environment found | eb list then eb use <env> |
| Credentials not configured | aws configure |
| CNAME already taken | eb create <env> --cname <different-prefix> |
| Environment limit reached | Terminate unused environments |
| Deployment in progress | eb status to check, eb abort to cancel |
Composability
- Deploy code: Use
deployskill - Check status & health: Use
statusskill - View logs & events: Use
logsskill - Change configuration: Use
configskill - Diagnose problems: Use
troubleshootskill - Manage environments: Use
environmentskill - Manage applications: Use
appskill - Platform updates & restarts: Use
maintenanceskill - SSL, domains, secrets, DB, security, monitoring, costs: Use
eb-infraskill - Documentation & best practices: Use
eb-docsskill
Additional Resources
Converted and distributed by TomeVault — claim your Tome and manage your conversions.