Skip to main content
  1. Commands/

ec2

bmc ec2 is the unified entry point for EC2 operations. Pick an instance once and choose an action from a menu — no need to repeat instance selection across separate commands.

Usage #

bmc ec2              # Interactive instance picker → action menu
bmc ec2 nginx        # Filter instances by name/ID/IP first
bmc ec2 i-0abc123    # Single match skips the picker

The optional search argument filters instances by a case-insensitive substring match on instance name, ID, private IP, or public IP.

Action menu #

After selecting an instance, a menu appears:

ActionDescription
Connect SSHSSH into the instance (same flow as ec2connect)
Connect SSMSSM Session Manager shell (same flow as ec2connect)
Start instance / Stop instanceLabel adapts to current state
Toggle schedulerEnable/disable the InstanceScheduler tag
  • ec2ls — list instances as a table or JSON
  • ec2connect — connect directly without the action menu
  • ec2find — search across all profiles in a group
  • ec2stopstart — stop or start without the full menu
  • ec2scheduler — toggle the scheduler tag directly