AWS共通

概要

aws cliを使って操作する手順

EC2インスタンス

EC2を停止

aws ec2 stop-instances --instance-id i-XXXXX --profile PROFILE
{
   "StoppingInstances": [
       {
           "CurrentState": {
               "Code": 64,
               "Name": "stopping"
           },
           "InstanceId": "i-XXXXXXX",
           "PreviousState": {
               "Code": 16,
               "Name": "running"
           }
       }
   ]
}

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS