Skip to content

Setup a LA demo using microstack

vjrj edited this page Jun 16, 2022 · 9 revisions

Setup a Living Atlas demo using microstack

This howto explains how to deploy a LA demo portal using microstack and the la-toolkit.

For that,

  1. Install the la-toolkit in your computer: https://github.com/living-atlases/la-toolkit#prerequisites

  2. Install microstack following the instructions in: https://microstack.run/docs/single-node

  3. When completed, list the different VMs flavors you have, for instance:

$ microstack.openstack flavor list           
+----+-----------+-------+------+-----------+-------+-----------+
| ID | Name      |   RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+-----------+-------+------+-----------+-------+-----------+
| 1  | m1.tiny   |   512 |    1 |         0 |     1 | True      |
| 2  | m1.small  |  2048 |   20 |         0 |     1 | True      |
| 3  | m1.medium |  4096 |   20 |         0 |     2 | True      |
| 4  | m1.large  |  8192 |   20 |         0 |     4 | True      |
| 5  | m1.xlarge | 16384 |   20 |         0 |     8 | True      |
+----+-----------+-------+------+-----------+-------+-----------+
  1. Now create a VM with enought resources (you can create more if you want to test more services, but in this example we'll create only one):
$ microstack launch ubuntu-18.04 -n la-test-1 --flavor 4 
Launching server ...
Allocating floating ip ...
Server la-test-1 launched! (status is BUILD)

Access it with `ssh -i /home/youruser/snap/microstack/common/.ssh/id_microstack ubuntu@10.20.20.74`
You can also visit the OpenStack dashboard at https://10.20.20.1:443

We'll use this ssh key id_microstack to access this VM from our la-toolkit.

Clone this wiki locally