Hey all, I’m at the bash setup_p2.sh step but I’m getting the below error message. I have configured AWS, multiple times.
| => bash setup_p2.sh
An error occurred (AuthFailure) when calling the CreateVpc operation: AWS was not able to validate the provided access credentials
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
An error occurred (AuthFailure) when calling the CreateInternetGateway operation: AWS was not able to validate the provided access credentials
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --internet-gateway-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --route-table-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --route-table-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --group-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --group-id: expected one argument
setup_p2.sh: line 13: /Users/rhiannalavalla/.ssh/aws-key.pem: No such file or directory
chmod: /Users/rhiannalavalla/.ssh/aws-key.pem: No such file or directory
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --subnet-id: expected one argument
An error occurred (AuthFailure) when calling the AllocateAddress operation: AWS was not able to validate the provided access credentials
Waiting for instance start…
Waiter InstanceRunning failed: AWS was not able to validate the provided access credentials
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --instance-id: expected one argument
An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials
securityGroupId=
subnetId=
instanceId=
instanceUrl=
Connect: ssh -i /Users/rhiannalavalla/.ssh/aws-key.pem ubuntu@
I tried changing my location from us-west-2 to us-west like it says on my EC2 dashboard thing, and then it gives me this…
Could not connect to the endpoint URL: "https://ec2.us-west.amazonaws.com/"
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
Could not connect to the endpoint URL: "https://ec2.us-west.amazonaws.com/"
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --internet-gateway-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --route-table-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --route-table-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --group-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --group-id: expected one argument
setup_p2.sh: line 13: /Users/rhiannalavalla/.ssh/aws-key.pem: No such file or directory
chmod: /Users/rhiannalavalla/.ssh/aws-key.pem: No such file or directory
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --subnet-id: expected one argument
Could not connect to the endpoint URL: "https://ec2.us-west.amazonaws.com/"
Waiting for instance start…
Could not connect to the endpoint URL: "https://ec2.us-west.amazonaws.com/"
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --instance-id: expected one argument
Could not connect to the endpoint URL: "https://ec2.us-west.amazonaws.com/"
securityGroupId=
subnetId=
instanceId=
instanceUrl=
Connect: ssh -i /Users/rhiannalavalla/.ssh/aws-key.pem ubuntu@