Environment Status & Health
Check current deployment state, environment health, and list Elastic Beanstalk environments using the EB CLI.
When to Use
- •Check environment status or deployment state
- •List all environments
- •View health overview
- •Open environment in browser or AWS Console
- •Check provisioned resources
When NOT to Use
- •Viewing logs → use
logsskill - •Diagnosing problems → use
troubleshootskill - •Changing configuration → use
configskill - •Deploying code → use
deployskill
Quick Status
bash
eb status eb status <env-name>
List All Environments
bash
eb list eb list --verbose
Set Default Environment
bash
eb use <env-name>
Open in Browser
bash
eb open eb open <env-name>
Open AWS Console
bash
eb console eb console <env-name>
Detailed Health
bash
eb health eb health <env-name> eb health --refresh # Live-updating dashboard
Health colors: Green (OK), Yellow (Warning), Red (Degraded/Severe), Grey (Unknown)
Environment Health (AWS CLI)
Detailed health via AWS CLI (requires enhanced health reporting):
bash
aws elasticbeanstalk describe-environment-health \ --environment-name <env-name> \ --attribute-names All --output json
Per-instance health:
bash
aws elasticbeanstalk describe-instances-health \ --environment-name <env-name> \ --attribute-names All --output json
Provisioned Resources
bash
aws elasticbeanstalk describe-environment-resources \ --environment-name <env-name> \ --output json
Shows EC2 instances, load balancers, auto scaling groups, and triggers.
Composability
- •View logs: Use
logsskill - •Diagnose issues: Use
troubleshootskill - •Deploy code: Use
deployskill - •Change configuration: Use
configskill