We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d471d4 commit 5add4a7Copy full SHA for 5add4a7
hometask2/provision.sh
@@ -44,3 +44,6 @@ IP_ADDRESS=`aws ec2 describe-instances --instance-ids $INSTANCE_ID --query Reser
44
45
# Connect to instance using key pair and public IP
46
ssh -i "MyKeyPair.pem" ec2-user@$IP_ADDRESS
47
+
48
+# Check instance state
49
+aws ec2 describe-instance-status --instance-id $INSTANCE_ID
0 commit comments