How to host/run Galaxyserver-NGS in AWS IP or in a webserver IP
0
0
Entering edit mode
4.0 years ago

Hii All,

I wish all to be good and safe in this pandemic time,and wish things to be all-right soon :)

I 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

Starting server in PID 22786. serving on http://localhost:8080

galaxy.model.database_heartbeat DEBUG 2020-04-16 17:08:25,828 [p:22786,w:1,m:[database_heartbeart_main.web.1.thread] main.web.1 is config watcher

genome sequencing SNP ngs galaxy • 1.5k views
ADD COMMENT
1
Entering edit mode

First of all you should copy galaxy.yml.sample to galaxy.yml and use that one for all your configuration.

Second, assuming this will be a production environment because you install it on AWS it requires some extra steps. See here more info, it is to much to explain in a post: https://docs.galaxyproject.org/en/latest/admin/production.html

Also the creators of galaxy created an easy way to deploy galaxy in AWS without much doing yourself: https://galaxyproject.org/use/aws/. They claim it is running in 10 minutes so that sounds good.

As far as I know the ip configuration should look like this: http: 0.0.0.0:8080

And like someone else already said, you need to open port 8080 first. This is mostly done with sort of "rules", maybe this page helps: https://stackoverflow.com/questions/26338301/ec2-how-to-add-port-8080-in-security-group

ADD REPLY
0
Entering edit mode

Please ask this over in Galaxy help forum: https://help.galaxyproject.org/

ADD REPLY
0
Entering edit mode

Permission restrictions. Unable to ask. Anything alternative please ?

ADD REPLY
0
Entering edit mode

What does that mean? Galaxy help is an open forum.

ADD REPLY
0
Entering edit mode

Make sure you have enabled public access to the 8080 port in the AWS instance also modify CentOS firewall configuration accordingly.

ADD REPLY
0
Entering edit mode

So you know the steps and have you done this before ? Can I host galaxy on public IP of AWS Instance ? Like http://ip:8080 ?

ADD REPLY
0
Entering edit mode

I've deployed Galaxy server on a local CentOS machine. Yes, you can access Galaxy server on a AWS public ip. If you are planning to run it in production mode use a HTTP proxy server like Nginx or Apache.

ADD REPLY
0
Entering edit mode

Can you please say how to do it ? Have you hosted galaxy globally on internet ? After installing apache what we need to do ? Is there anywhere manual or steps mentioned ? Please share

ADD REPLY
0
Entering edit mode

https://galaxyproject.org/cloudman/getting-started/

Configuration of web server is here. These directions are not the latest but this part has likely not changed.

ADD REPLY
0
Entering edit mode

I've hyperlinked the manual with HTTP server names.

ADD REPLY

Login before adding your answer.

Traffic: 1757 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6