LoginSignup
1
1

More than 5 years have passed since last update.

AWSでつかわれるCLIについて

Posted at

AWS CLI

2013年9月発表
ほとんど全てのサービスを操作できるCLI
文法に規則性があるため使いやすい
昨今これが主に使われる


コマンド例
aws ec2 describe-instances

CLI Tools

古いサービス
運用暦の長い環境でみかけることがあるが、基本的にはAWSCLIに移行すべき
サービスごとにCLIのパッケージをインストールする必要がある
例えば、ec2を操作するためには下記cli-toolsをインストールする必要がある
http://docs.aws.amazon.com/ja_jp/AWSEC2/latest/CommandLineReference/command-reference.html


コマンド例
ec2-describe-instances

AWS Shell

2015年12月発表
新しく、まだ開発プレビュー
https://github.com/awslabs/aws-shell

aws-shellとコマンドすることで、専用モードに入り、
そこでawscliコマンドを入力すると、コマンドがするする補完される。コマンドだけでなく、インスタンスidとかも補完される。

1
1
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
1
1