How to get Eclipse-Che on Amazon EC2?

I am trying to run Eclipse-Che on EC2 and I am having several problems. I can start the Eclipse-Che server if I only have a 8080 port card, but then I cannot connect to any workspaces, apparently because I do not have enough ports 32768-32788. If I map ports 32768-32788 in addition to 8080, then I cannot connect to the che server at all.

I read the documentation for using the Eclipse-Che dock , and I cannot figure out how to set the -it flags when I define my task on EC2. I am new to both Docker and EC2, so it’s not clear if these flags are important, and if they will cause the behavior that I see.

Any help would be greatly appreciated. Thanks.

+4
source share
1 answer

It seems you are trying to run Che from a Docker container? There are two ways to launch it - initially or inside the container. I recommend my own approach. Then you only need to make sure that your EC2 node has 8080 and 32700+ ports open in the outside world. If you have more questions, you can get a message sent to github.com/eclipse/che, and the engineer will answer.

+1
source

Source: https://habr.com/ru/post/1626800/


All Articles