Question: How to host/run Galaxyserver-NGS in AWS IP or in a webserver IP
0
gravatar for sofie_carolina
9 months ago by
Hyderabad
sofie_carolina20 wrote:

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

sequencing snp galaxy ngs genome • 357 views
ADD COMMENTlink modified 9 months ago • written 9 months ago by sofie_carolina20
1

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 REPLYlink modified 9 months ago • written 9 months ago by gb1.9k

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

ADD REPLYlink written 9 months ago by GenoMax95k

Permission restrictions. Unable to ask. Anything alternative please ?

ADD REPLYlink written 9 months ago by sofie_carolina20

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

ADD REPLYlink written 9 months ago by GenoMax95k

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

ADD REPLYlink written 9 months ago by Arup Ghosh2.7k

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 REPLYlink written 9 months ago by sofie_carolina20

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 REPLYlink modified 9 months ago • written 9 months ago by Arup Ghosh2.7k

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 REPLYlink written 9 months ago by sofie_carolina20

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 REPLYlink modified 9 months ago • written 9 months ago by GenoMax95k

I've hyperlinked the manual with HTTP server names.

ADD REPLYlink written 9 months ago by Arup Ghosh2.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1074 users visited in the last hour
_