Update README.md

This commit is contained in:
Bert Kellerman 2020-01-22 07:50:00 -08:00 committed by GitHub
parent 58e647a30c
commit bb121c445a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -639,3 +639,8 @@ ssh -i <ec2 keypair pem location> ec2-user@<ec2 instance ip address>
vim
```
5. In the AWS EC2, select the newly created EC2 instance and terminate the instance.
## The AWS CLI Wau
```
!aws --region `ec2-metadata --availability-zone | sed 's/placement: \(.*\).$/\1/'` ec2 stop-instances --instance-ids `wget -q -O - http://169.254.169.254/latest/meta-data/instance-id`
```