Skip to main content

AWS ECS exec / EC2 SSM 접속용 k9s 스타일 터미널 TUI

Project description

awscx

version python License: MIT platform

AWS ECS exec / EC2 SSM 접속을 위한 k9s 스타일 터미널 TUI.

프로파일을 고르고 → ECS(cluster/service) 또는 EC2(SSM) 를 골라 → 목록에서 바로 셸 접속, 로그(tail·검색·레벨색상), 실시간 모니터(CPU/Mem/Net/Disk), 상태(LB·오토스케일·taskdef) 를 한 화면에서 확인합니다.

주요 기능

  • Profile 선택(번호 입력 지원) → ECS / EC2 선택
  • ECS
    • cluster/service 목록: STATUS / EXEC(on·off) / TASKS / LB(healthy) / SCALE(min~max)
    • Enter 상태(서비스 상태·CloudWatch CPU/Mem·TaskDef cpu/mem/port·LB 헬스·오토스케일·이벤트, 색상)
    • s 컨테이너 shell 접속(임베드 터미널, 컬러 렌더)
    • l 로그 보기 → / 검색, f tail(follow), 로그레벨 색상
    • t task definition(JSON)
    • 서비스에 커서를 두면 아래에 실시간 모니터 자동 표시
  • EC2
    • running 인스턴스 목록(SSM online 여부 표시) → Enter SSM 세션 접속
  • 임베드 터미널: F10 으로 나가기, 붙여넣기 지원
  • g 설정 화면(config 파일 편집), c 결과 클립보드 복사

요구사항 (pip 외 시스템 도구)

설치

pip install awscx

사용

awscx                 # 프로파일 목록에서 선택
awscx -p my-profile   # 프로파일 지정
awscx -p my-profile -r us-east-1
# 또는
python -m awscx

주요 키: Enter 상태 · s 접속 · l 로그 · f tail · t taskdef · m(자동) 모니터 · p 프로파일 · g 설정 · c 복사 · / 필터 · Ctrl+U/D 결과 스크롤 · F10 세션 나가기 · q 종료

설정 파일

~/.config/awscx/config.json 에 자동 생성됩니다(region, command, 로그, 갱신주기 등). 앱 안에서 g 로 편집할 수 있습니다.

권한 (IAM)

기능에 따라 다음 권한이 필요합니다: ecs:*(조회/execute-command), ec2:DescribeInstances, ssm:DescribeInstanceInformation, ssm:StartSession, cloudwatch:GetMetricStatistics, logs:FilterLogEvents, elasticloadbalancing:Describe*, application-autoscaling:Describe*.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awscx-0.2.0.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awscx-0.2.0-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file awscx-0.2.0.tar.gz.

File metadata

  • Download URL: awscx-0.2.0.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for awscx-0.2.0.tar.gz
Algorithm Hash digest
SHA256 68718844ac2f8c317b6637337f93bd1141aa2f5ade8e2dd92c443d618eed3c2b
MD5 aa3d5b4b08ae294d399954455ace204b
BLAKE2b-256 8653216cd460974d0430e77259537213a80f43a0f4d240ec196b75d33134e84d

See more details on using hashes here.

File details

Details for the file awscx-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: awscx-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for awscx-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0db057784d7c01542c72f1ed24c5bda97a6bd05330ed5df36a8126adf036b9ce
MD5 9d5e11249e4c2ba7049c0f09998b1b23
BLAKE2b-256 cbc13f14ed7ea8a89b7d9e4d9f3f645ad40c4c2ed19a31d391a083a01a47f59e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page