layout: true class: inverse --- class: special, center ![GATC Logo](../shared-images/AdminTraining2016-250.png) # All these Clouds ## It's positively meterological.. **Slides: @Slugger70, @nuwang, @afgane** .normal[ .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] ] --- layout: true class: left, inverse --- class: left, middle, center ![GATC Logo](../shared-images/AdminTraining2016-100.png) ## Please interrupt *We are here to answer questions!* .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Overview .large[ * Galaxy in the Clouds? * AWS and other Clouds * CloudMan and CloudLaunch (& cloud agnosticisim) * CloudMan Galaxy * Architecture * Persistence * Taking it further - The GVL * Other cloud usage - burst! ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Help! .large[ * Galaxy server flat out? * Queue longer than a Grateful Dead concert? * An urgent job to run? What do you do now? ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Help! .large[ * Galaxy server flat out? * Queue longer than a Grateful Dead concert? * An urgent job to run? What do you do now? .special[Use the cloud man!] ] .center[![cloudman](images/cloudman_logo.png)] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Clouds? **Cloud computing** ... is a model for enabling ubiquitous, **on-demand** access to a **shared pool** of configurable **computing resources** ... which can be **rapidly provisioned and released** with minimal management effort. Cloud computing and storage ... may be located far from the user – ranging in distance from **across a city to across the world.** - Wikipedia, Cloud Computing. .center[![aws_logo.png](images/aws_logo.png) ![OpenStack_logo.png](images/OpenStack-logo.png) ![gce-logo.png](images/gce-logo.png)] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Available Clouds .large[ * Amazon Web Services * Pay-per-time/machine etc. * Reasonably priced, but keep an eye on the costs * Large range of machine (i.e., instance) types * Education grants * OpenStack * Open source community project * NeCTAR in Australia, Jetstream in USA, CLIMB in UK, lots of others * Some free for researchers (NeCTAR, CLIMB), some with project grants (Jetstream) ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Why Clouds? .large[ * Elastic compute! * Can dynamically resource analyses * No need to maintain the hardware * Provider takes on cost of hardware and maintenance * Cost is shared between all users * Move the compute to the data * Data on East Coast? * Start compute there. Save on data transfer. ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Galaxy on the Cloud .large[ * There are cloud images (VM blueprints) available * with Galaxy pre-installed * with different sets of tools installed * with access to reference data * for different clouds (AWS globally, Jetstream, NeCTAR, CLIMB etc.) * You just need credentials for the cloud you want to "launch" on. * Credentials are generally strings * An access key and a secret key or username and password with project details * They are obtained from the cloud account admin page you want to use ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) CloudLaunch .large[ * CloudLaunch is a system for launching Galaxy (and other applications) on cloud resources * Public servers available at [launch.usegalaxy.org](https://launch.usegalaxy.org) and [launch.genome.edu.au](https://launch.genome.edu.au) * You can also install and run your own * Fill in the credential details, choose a location and machine size * Press go! * CloudLaunch will now provision you a computer in the cloud with Galaxy installed and ready to go. * Depending on your choices and availability you will also have access to reference data and various tools * It should only take 2-3 minutes for everything to be set up. ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Launch Demo .large[ * Launch a Galaxy on the Cloud in NeCTAR * Similar process to AWS (but free for me) Today, we'll be using the all-new-still-in-beta CloudLaunch * [beta.launch.usegalaxy.org](beta.launch.usegalaxy.org) * [betalaunch.genome.edu.au](betalaunch.genome.edu.au) * Walk through what is happening ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Cloud Manager .center[![cloudman](images/cloudman_logo.png)] .large[ * Cloud manager: middleware to control cloud clusters * Can be used to control system and application services, such as Galaxy * Can mount filesystems, dynamically add/remove worker nodes, start/stop services ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) CloudMan .center[
] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) CloudMan Admin .center[
] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Cluster on the Cloud? .large[ * Your CloudMan instance is a single machine * It is the "Head node" of a cluster * CloudMan can start "worker" nodes. * More cloud instances (of any size) * Automatically connects to file system * Are registered in Slurm setup * A node will take ~2-3 minutes to start and configure. ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Auto-Scaling .large[ * Can set up dynamic scaling to respond to the system load * Upper and lower node numbers * When queue is full and jobs wait certain time, new nodes are launched. ] .center[
] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) CloudMan Galaxy .large[ * Your Galaxy server is set up and ready to go! * Includes large list of pre-installed tools. * Includes access to reference data files * Zero-to-go in less than 10 minutes. * Toolsets and reference sets can be tailored to suit needs * Will be discussed in architecture section ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) CloudMan Galaxy .pull-left[
] .pull-right[
] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) CloudMan Galaxy * Configured for Slurm out of the box ```xml ...
--ntasks=4
python
default_dynamic_job_wrapper
...
... ``` ``` ini # COMPUTE NODES NodeName=master NodeAddr=45.113.232.91 CPUs=15 RealMemory=64431 Weight=10 State=UNKNOWN NodeName=w1 NodeAddr=45.113.232.83 CPUs=16 RealMemory=64431 Weight=5 State=UNKNOWN NodeName=w2 NodeAddr=45.113.232.92 CPUs=8 RealMemory=32176 Weight=5 State=UNKNOWN NodeName=w3 NodeAddr=45.113.232.93 CPUs=8 RealMemory=32176 Weight=5 State=UNKNOWN ``` .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) CloudMan Architecture ![architecture.png](images/architecture.png) .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Persistence .large[ * Cloud instances are typically transient * Can be terminated and resources returned to the pool * However, user data and cluster configuration can be persisted * Then can be attached to new instance when they start * CloudMan stores an instance's set up in an object store container for persistence ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Looking to the future .large[ * An all-new system is under development * We already saw the new CloudLaunch * No longer Galaxy-only: any application and multiple clouds can be plugged in * It is powered by CloudBridge * [http://cloudbridge.readthedocs.io/](http://cloudbridge.readthedocs.io/en/latest/) * An abstraction layer for mature clouds * Will let the new version of CloudMan run on any cloud * Therefore, we can use our Galaxy images on any cloud * New CloudMan is planned * Container-based so no/minimal building necessary per cloud * Powered by CloudBridge, so natively cross-cloud ] .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) Taking it Further: GVL ![GVL-evolution.png](images/GVL-evolution.png) .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject] --- class: left ## ![GATC Logo](../shared-images/AdminTraining2016-100.png) GVL applications ![GVL-dash.png](images/GVL-dash.png) .footnote[\#usegalaxy \#GAMe2017 / @galaxyproject]