I'm following the Amazon AWS tutorial and I have reached Step 6: Launch Amazon EC2 Instances Using Auto Scaling http://docs.amazonwebservices.com/gettingstarted/latest/wah-linux/
But when I run the launch command:
as-create-launch-config MyLC --image-id ami-7813e011 --instance-type t1.micro --group webappsecuritygroup --key mykeypair.pem
I get the following error:
Cannot redirect to service provided destination - try using AWS keys for
authentication (instead of X509/Private key) or check destination URL
What have I done wrong? I created the key as stated in the management console.
Thank you!