title: aws iot describe-endpoint::You must specify a region
body: <p>I am following <a href="http://docs.aws.amazon.com/iot/latest/developerguide/iot-device-sdk-node.html" rel="nofollow noreferrer">this tutorial</a> for connecting Raspberry Pi to AWS IoT using Node.js SDK and I have done all the other steps but I am lost in the authentication and certificate step:</p>
  
  <pre><code>pi@raspberrypi:~ $ aws iot describe-endpoint
  You must specify a region. You can also configure your region by running "aws configure".
  pi@raspberrypi:~ $ aws configure
  AWS Access Key ID [None]: 
  AWS Secret Access Key [None]: 
  Default region name [None]: 
  Default output format [None]: 
  pi@raspberrypi:~ $ ls
  2016-02-24-204612_1920x1080_scrot.png  Desktop     get-pip.py           node_modules  python_games             sources    WiringPi
  aws                                    device.cfg  ibm                  Pictures      python-iot-raspberry-pi  Templates
  aws-iot-device-sdk-js                  Documents   iot_1.0-1_armhf.deb  projects      root                     Videos
  certs                                  Downloads   Music                Public        root.pem                 wiringPi
  
  pi@raspberrypi:~ $ cd certs/
  pi@raspberrypi:~/certs $ ls
  1cf77402f9-certificate.pem.crt  1cf77402f9-private.pem.key  1cf77402f9-public.pem.key
  </code></pre>
  
  <p>When I browse to <a href="https://A34SXNTM6AT7XH.iot.us-west-2.amazonaws.com/things/MyNewThing/shadow" rel="nofollow noreferrer">https://A34SXNTM6AT7XH.iot.us-west-2.amazonaws.com/things/MyNewThing/shadow</a> or <a href="https://A34SXNTM6AT7XH.iot.us-west-2.amazonaws.com" rel="nofollow noreferrer">https://A34SXNTM6AT7XH.iot.us-west-2.amazonaws.com</a> I see <code>Missing Authentication Token</code> message:
  <a href="https://i.stack.imgur.com/Qgfx7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qgfx7.png" alt="enter image description here"></a></p>
  
  <p>I am not sure how to get the last step working so I could see stuff in the URLs when I browse to them. Can someone help me figure which steps I am missing or is missing from the tutorial?
  <a href="https://i.stack.imgur.com/n6Qyr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n6Qyr.png" alt="enter image description here"></a></p>