a9s

Documentation

Getting Started

  1. Install a9s
  2. Ensure you have AWS credentials configured
  3. Run a9s (or a9s -p myprofile)

Key Bindings

KeyAction
j / DownMove down
k / UpMove up
gGo to top
GGo to bottom
EnterOpen / select
EscBack / close
h / LeftScroll left
l / RightScroll right
PgUp / Ctrl+UPage up
PgDn / Ctrl+DPage down

Actions

KeyAction
dDetail view
yYAML view
xReveal (expand)
cCopy resource ID to clipboard
/Filter
:Command mode
?Help
Ctrl+RRefresh
rOpen Stack Resources (CFN Stacks)
wToggle line wrap (in YAML view)
TabAutocomplete (in command mode)

Sorting

KeyAction
NSort by name
ISort by ID
ASort by date

General

KeyAction
qQuit
Ctrl+CForce quit

Child Views (Drill-Downs)

Press Enter on a resource to explore its nested children. Press Esc to go back.

ParentChild ViewKeyDescription
Lambda FunctionsInvocationsEnterRecent invocations with status, duration, memory, cold start
Lambda InvocationsLog LinesEnterFull log output for a specific invocation (START → app logs → END)
S3 BucketsObjectsEnterBrowse bucket contents, drill into folders
Route 53 ZonesDNS RecordsEnterView A, CNAME, MX, and other record types
Log GroupsLog StreamsEnterStreams sorted by most recent event
Log StreamsLog EventsEnterColor-coded log lines (ERROR=red, WARN=yellow)
Target GroupsTarget HealthEnterHealth status per target (healthy/unhealthy/draining)
ECS ServicesService EventseEvent timeline (steady state, placement failures, deployments)
ECS ServicesTasksEnterRunning and stopped tasks with status, health, stopped reason
ECS ServicesContainer LogsLApplication logs from CloudWatch (resolved from task definition)
CFN StacksStack EventsEnterEvent timeline showing stack operation progress and status
CFN StacksStack ResourcesrLogical and physical resources in the stack with status
Auto Scaling GroupsScaling ActivitiesEnterScaling activity history with status, description, cause
CloudWatch AlarmsAlarm HistoryEnterState transitions, configuration updates, and action events
Load BalancersListenersEnterPort, protocol, action, target, SSL policy, certificate

Commands

Press : to enter command mode, then type a command:

CommandAction
:q / :quitExit a9s
:ctx / :profileSwitch AWS profile
:regionSwitch AWS region
:helpShow help
:<resource>Jump to resource type (e.g., :ec2, :s3, :lambda)

All resource short names work as commands.

Configuration

a9s stores view configuration in ~/.a9s/views.yaml (optional — sensible defaults are built-in). AWS profiles and regions are read from ~/.aws/config. a9s never reads ~/.aws/credentials — authentication is delegated to the AWS SDK credential chain.

Environment Variables

VariableDescription
NO_COLORSet to any value (e.g., NO_COLOR=1) to disable all color output. Follows the no-color.org standard. Useful for accessibility, scripting, or piping output.
AWS_PROFILEOverride the active AWS profile (same as -p flag).
AWS_REGIONOverride the active AWS region (same as -r flag).

AWS Permissions

a9s uses read-only AWS API calls exclusively. The following managed policies provide sufficient access:

  • ReadOnlyAccess (broad read-only access to all services)
  • Or individual service policies like AmazonEC2ReadOnlyAccess, AmazonS3ReadOnlyAccess, etc.

a9s will gracefully handle permission errors – resources you don’t have access to will show an error message instead of crashing.