0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AI時代のインフラエンジニア 2026年に必須のスキル3選 【別添:AWS CLI 主要コマンド】

0
Posted at

AWS CLI 主要コマンド

# 1. EC2インスタンス一覧
aws ec2 describe-instances

オプション:

  • --filters: フィルタ条件を指定(例: Name=tag:Name,Values=web-server)
  • --query: 出力をカスタマイズ
  • --output: 出力形式を指定(json, table, text)
# 2. S3バケット一覧
aws s3 ls

オプション:

  • --recursive: 再帰的にリスト表示
  • --human-readable: 人間が読みやすい形式で表示
# 3. CloudWatch ログ取得
aws logs tail <ログストリーム名>

オプション:

  • --follow: リアルタイムで追跡
  • --since: 指定時刻以降のログを取得
# 4. Lambda関数実行
aws lambda invoke

オプション:

  • --function-name: 関数名を指定
  • --payload: 入力データを指定

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?