would be thankful if anyone can help me to address my issues. I was asked to deploy GalaxyServer in AWS (CetnOS) and I have installed and Galaxy is running locally successful. But, galaxy is running in http://localhost:8080 and I want galaxy to get hosted on AWS or server IP. Assume, IP as 1.2.3.4, so it will run like, http://1.2.3.4:8080 and it should run on any system across internet with this IP.
I tried, looking into all config files changing files putting AWS IP, host = 1.2.3.4 (IP), but while running, ./run.sh galaxy is running same on localhost. It is not responding. Files where I have changed host IP are, galaxy.yml.sample , galaxy.ini .
O/p showing galaxy running in locahost
7faae4122c80>galaxy.queue_worker INFO 2020-04-16 17:08:25,782 [p:22786,w:1,m:0] [MainThread] Binding and starting galaxy control worker for main.web.1 galaxy.web_stack INFO 2020-04-16 17:08:25,792 [p:22786,w:1,m:0] [MainThread] Galaxy server instance ‘main.web.1’ is running
In your setup you generally want to use proxy in between web traffic and Galaxy. So leave Galaxy running on localhost and set up e.g. NGINX that will listen on the network for requests and proxy the ones for Galaxy to the right port.
Files where I have changed host IP are, galaxy.yml.sample , galaxy.ini .
None of these are the right place to choose I believe. You should have galaxy.yml file in your configuration folder.
When you have that file set up you can check this section in the sample:
# The address and port on which to listen. By default, only listen to
# localhost (galaxy will not be accessible over the network). Use
# ':8080' to listen on all available network interfaces.
http: 127.0.0.1:8080
So if you want to avoid the proxy for some development reasons you can do so by changing that value to :8080. I would only recommend this for throwaway Galaxies, that are not run in production.
Hi, No I don’t want to use proxy and I haven’t said about it also. My concern is, I want to host galaxy in AWS (awsip:8080) and make it accessible everywhere that url. For Eg: , http://awsip:8080. Here, awsip = 1.2.3.4 (aws instance ec2 ip). Please share how to proceed with the same.