Closed vineethnnn closed 4 years ago
follow these steps: 1.In aws go to iam service create a iam user with programetic access, attach admin permissions and download the accesskey and secret key file like download.csv.
aws configure
provide access key, secret key, region,and output format json.
Now execute your aws commands.
Created a EC2 instance & executed the this command
aws ec2 describe-instance-status --instance-id i-0818bdfc819ea8731
But I'm getting this error message as
An error occurred (InvalidInstanceID.NotFound) when calling the DescribeInstanceStatus operation: The instance ID 'i-0818bdfc819ea8731' does not exist