Amazon Web Services (AWS) EC2 example

Tried you example but at Step 3 was able to run “docker run -d -p 8000:80 --name webserver kitematic/hello-world-nginx” from my shell on to remote. However, when I tried http://<host_ip>:8000 (where host_ip came from docker-machine ip) after a long period - I got a “server not responding”.

I tried the “docker run -d -p 8000:80 --name webserver kitematic/hello-world-nginx” locally and was able to access it from my browser with no problem.

I created my AWS instance via:
$ docker-machine create --driver amazonec2 --amazonec2-ami ami-f4cc1de2 identihost-do3c
$ docker-machine env identihost-do3c
$ eval $(docker-machine env identihost-do3c)
then finally
$ docker run -d -p 8000:80 --name webserver kitematic/hello-world-nginx

Thanks for you help