docs icon indicating copy to clipboard operation
docs copied to clipboard

Docker Machine AWS EC2 example, clarify that you have to open port 8000 on AWS

Open MikeMitterer opened this issue 9 years ago • 11 comments

File: machine/examples/aws.md, CC @londoncalling

capturfiles-20170330_011734

MikeMitterer avatar Mar 30 '17 11:03 MikeMitterer

Hi @MikeMitterer , when I walked through this example, I never explicitly opened a port on AWS.

@nathanleclaire @shin- @dnephin can you verify this is necessary?

londoncalling avatar Mar 31 '17 03:03 londoncalling

It seems @MikeMitterer must need this to access his app, which presumably is listening on port 8000?

Generally I'd consider it in the realm of general AWS knowledge -- but it might be good to make a generic mention about opening ports in security groups to access anything --publish-ed.

nathanleclaire avatar Mar 31 '17 16:03 nathanleclaire

This is not really obvious. Usually AWS machines only have port 22 accessible from the outside. If I'm new to Docker and deployed a sample app like wordpress or nginx, I'm expecting to be able to reach my app. If you don't know that you need to tweak the security group for the AWS instance, this can be hard to troubleshoot, and you might think there's something wrong with the way you deployed the app.

joaofnfernandes avatar Mar 31 '17 22:03 joaofnfernandes

Ah, so, I did not realize that this was in reference to an article where we explicitly say to run a container and access it: https://docs.docker.com/machine/examples/aws/#step-3-run-docker-commands-on-the-instance

Since it is a walkthrough (I thought it was about the generic AWS reference), I'd say this is very valid feedback and should be added

nathanleclaire avatar Mar 31 '17 23:03 nathanleclaire

@MikeMitterer This would make a good docs PR if you wanted to contribute ;)

nathanleclaire avatar Mar 31 '17 23:03 nathanleclaire

@nathanleclaire thanks! @MikeMitterer I can either add this, or you can create a docs PR. If I don't hear from you in a day or two, I'll make the update.

londoncalling avatar Apr 01 '17 00:04 londoncalling

If it's still available, I'll take this up for the hackathon!

jpooler avatar Apr 17 '17 12:04 jpooler

@jpooler great! Please have at it!

londoncalling avatar Apr 17 '17 17:04 londoncalling

No action for two days, so this is up for grabs!

mdlinville avatar Apr 19 '17 18:04 mdlinville

Added to PR: https://github.com/docker/docker.github.io/pull/2913

jpooler avatar Apr 19 '17 19:04 jpooler

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

docker-robott avatar Mar 07 '23 03:03 docker-robott