Galaxy API for Programmatic Access


#1

Is there an API for accessing and changing your setup within Galaxy?

I would love to programmatically turn on and off our staging server to save some money.


#2

Unfortunately there is no such an API.
Right, That would be great if we can do a semi-auto scaling.


#3

I don’t know if it’s against the terms of service, but technically you could probably use whatever API they use for their dashboard.


#4

No.

Your best bet is to run a VM, and simply run meteor --production

That will give you a pretty good idea of your staging server.


#5

While meteor run --production simulates the minification of the code, it is quite different from a production build and unsuitable as staging env, which should mirror your prod env as close as possible. Read some more about it in the guide https://guide.meteor.com/deployment.html#never-use-production-flag