GithubHelp home page GithubHelp logo

isabella232 / cpa-bioexcel-cwl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from embl-ebi-tsi/cpa-bioexcel-cwl

0.0 0.0 0.0 90 KB

Cloud Portal Application for bioexcel cwl execution

Shell 34.47% HCL 65.53%

cpa-bioexcel-cwl's Introduction

ECP (EBI Cloud Portal) Application - bioexcel-cwl

ECP BioExcel application to create a VM with tools such as CWL, toil, docker and nfs client installed. If deploying in OpenStack it will use a bespoke Ubuntu 18.04 image as a base OS, with Ansible installing the CWL, toil and docker tools.


Requirements

A base Ubuntu 18.04 image with some Python packages pre-installed. On the EBI's Embassy4 OpenStack cloud the image is currently called ubuntu-18_04-python, although the presence of this image will need to be verified by someone with access to Embassy4 before deploying this application.

Instructions

To use this application in the ECP

  • Log into the ECP (https://cloud-portal.ebi.ac.uk/)
  • Define some portal "Cloud Credentials" and "Deployment Parameters" as appropriate (see below for examples)
  • Define a portal "Configuration" (derived from "Cloud Credentials" and "Deployment Parameters")
  • Create a new project (by using this GitHub URL)
  • Select the project and use the "Configuration"
  • Click "DEPLOY"

Testing

To test a deployed VM

These instructions assume that a workflow_url value of https://github.com/douglowe/biobb_hpc_cwl_md_list was specified, in which case visit that GitLab repo for up-to-date information, but it works with commit #97122f2 at least!

  • ssh into the VM
  • (cwl_bioexcel) ubuntu@tsi1632989604005-1:~/cwl_bioexcel$ cd ../workflow/
  • (cwl_bioexcel) ubuntu@tsi1632989604005-1:~/workflow$ cwl-runner md_launch.cwl md_list_input_descriptions.yml

That should kick off a series of workflow steps.

"Cloud Credentials"

These are new for Embassy4 submissions and replace the previous username/password mechanism.

Credential name Description (derived from RedHat docs)
OS_APPLICATION_CREDENTIAL_ID With v3applicationcredential: application credential ID
OS_APPLICATION_CREDENTIAL_SECRET With v3applicationcredential: application credential auth secret

Default values

"Deployment Parameters"

The current default values can be determined from the content of variables.tf (or in some cases the deploy.sh script). If you want to use your own values, specify them by matching against the parameter name in the "Deployment Parameters".

Parameter name Default parameter value Overwrite
default?
Description
user_name default.user_name Optional Your email
tenent_name default.tenant_name Yes OpenStack tenant name
auth_url https://uk1.embassy.ebi.ac.uk:5000 Optional OpenStack API Identity Service URL
region RegionOne TBD OpenStack Region
name cwl vm environment TBD Abitrary deployment name
instances 1 TBD Number of instances to install
deployment_path . TBD Local path to save terraform deployment output
disk_image_name ubuntu-18_04-python Optional OpenStack Compute Image name
machine_type 2c4m80d Optional OpenStack Machine type ("flavor")
floating_ip_pool public Optional OpenStack Network name for Floating IPs
network_name undefined Yes OpenStack Network name
remote_user ubuntu TBD Remove VM user
local_folder nfs-imports TBD Local folder
ssh_key undefined TBD Public key to inject into the VM
public_key_path ~/.ssh/id_rsa.pub TBD Path of public SSH key to be injected in the VM
private_key_path ~/.ssh/id_rsa TBD Path of private SSH key to connect to the VM
user_private_key_path ~/.ssh/id_rsa TBD (see variables.tf)
nfs_install yes or no TBD
workflow_url undefined Optional e.g. https://github.com/douglowe/biobb_hpc_cwl_md_list

Inputs

Parameter name Parameter value
nfs_server_host IP
remote_folder /var/nfs

Open Ports

The virtual machine provided will have this ports open.

ICMP: all
TCP : 22

Ansible roles

Ansible Galaxy: indigo-dc.nfs https://galaxy.ansible.com/indigo-dc/nfs/

cpa-bioexcel-cwl's People

Contributors

famaladoss avatar aniewielska avatar albeus avatar navisatebi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.