This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add instructions for cloud deployment
This marks the transition of this repository from being merely an ansible playbook for deployment of cloud services to becoming an entry point for users who simply want to run pre-built images on cloud infrastructures. Besides migrating updates from the Quantum Mobile playbook for virtualbox, this commit mainly updates the README.
- Loading branch information
Showing
9 changed files
with
132 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
--- | ||
# Caution: This file is read by vagrant, ansible and bash | ||
vm_name: "Quantum Mobile" | ||
vm_version: "19.09.0-tutorial" | ||
vm_version: "20.05.0" | ||
vm_description: "A Virtual Machine for Computational Materials Science" | ||
vm_url: "https://github.com/marvel-nccr/marvel-virtualmachine" | ||
vm_author: "MARVEL NCCR and MaX CoE" | ||
vm_author_url: "http://nccr-marvel.ch" | ||
vm_release_notes_file: "${HOME}/Desktop/release_notes.txt" | ||
vm_readme_file: "${HOME}/Desktop/README.md" | ||
|
||
# VM configuration | ||
vm_hostname: "workhorse" | ||
vm_user: "max" | ||
vm_memory: 32768 | ||
vm_cpus: 8 | ||
vm_memory: 4000 | ||
vm_cpus: 2 | ||
vm_codes_folder: "${HOME}/codes" | ||
vm_data_folder: "/usr/local/share" | ||
vm_examples_folder: "${HOME}/examples" | ||
vm_headless: True | ||
vm_browser: "chromium" | ||
vm_scheduler: slurm # 'slurm' or 'direct' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ansible_user: ubuntu | ||
ansible_ssh_common_args: -i ./keys/aiida-tutorial.pem -o StrictHostKeyChecking=no | ||
ansible_ssh_common_args: -i ./keys/quantum-mobile.pem -o StrictHostKeyChecking=no | ||
cloud_platform: aws | ||
|
||
# modify this line to switch to pyhon2 | ||
# modify this line to switch to python2 | ||
ansible_python_interpreter: /usr/bin/python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ansible_user: max | ||
ansible_ssh_common_args: -i ./keys/gcp-max.pem -o StrictHostKeyChecking=no | ||
cloud_platform: gcp | ||
|
||
# modify this line to switch to pyhon2 | ||
ansible_python_interpreter: /usr/bin/python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
[aws] | ||
aws-vm1 ansible_host=18.203.221.13 | ||
#aws-vm3 ansible_host=176.34.156.97 | ||
quantum-mobile ansible_host=34.250.68.129 | ||
|
||
[hwcloud] | ||
#[hwcloud] | ||
#hw-vm2 ansible_host=114.116.226.33 | ||
|
||
[openstack] | ||
#[openstack] | ||
#openstack-vm1 ansible_host=148.187.96.53 | ||
|
||
#[gcp] | ||
#quantum-mobile ansible_host=34.65.240.28 ansible_user=leopold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
--- | ||
- src: gantsign.default-web-browser | ||
version: 3.2.0 | ||
- src: marvel-nccr.ansible_prerequisites | ||
version: v0.1.0 | ||
- src: marvel-nccr.current_user | ||
version: v0.1.0 | ||
- src: marvel-nccr.add_user | ||
version: v0.2.1 | ||
- src: marvel-nccr.simulationbase | ||
version: v1.0.1 | ||
- src: marvel-nccr.ubuntu_desktop | ||
version: v1.0.0 | ||
version: v1.0.7 | ||
- src: marvel-nccr.quantum_mobile_customizations | ||
version: v1.0.0 | ||
version: v1.0.6 | ||
- src: marvel-nccr.editors | ||
version: v1.0.1 | ||
version: v1.0.2 | ||
- src: marvel-nccr.slurm | ||
version: v1.0.0 | ||
version: v1.1.0 | ||
- src: marvel-nccr.quantum_espresso | ||
version: v1.0.1 | ||
version: v1.1.3 | ||
- src: marvel-nccr.yambo | ||
version: v1.0.1 | ||
version: v1.1.0 | ||
- src: marvel-nccr.fleur | ||
version: v1.0.1 | ||
version: v1.0.2 | ||
- src: marvel-nccr.siesta | ||
version: v1.0.1 | ||
version: v1.0.4 | ||
- src: marvel-nccr.cp2k | ||
version: v1.0.1 | ||
version: v1.1.1 | ||
- src: marvel-nccr.bigdft | ||
version: v1.0.0 | ||
- src: marvel-nccr.wannier90 | ||
version: v1.1.2 | ||
- src: marvel-nccr.wannier_tools | ||
version: v1.0.0 | ||
- src: marvel-nccr.aiida | ||
version: v1.0.0 | ||
#- src: https://github.com/marvel-nccr/ansible-role-aiida.git | ||
# version: develop | ||
# name: marvel-nccr.aiida | ||
version: v2.1.8 | ||
- src: marvel-nccr.aiidalab | ||
version: v1.0.0 | ||
version: v1.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
marvel-nccr.* | ||
gantsign.* |