- Click New to create a new box.
- Select Ubuntu Server 16.04LTS as the base image.
- Name the box, paste your public key. Use
ubuntu
as the user name. - Select the
medbook-dev
resource group. West US for location. - On the size selection screen, click View all to see all of the available boxes. Select A4 Standard (8 cores 14GB memory) as the box type.
- Leave the next settings page (Configure optional features) with the default values.
- Launch
- From the virtual machine settings pane, select Disks.
- Set the size to 256GB and click OK.
- Wait until the disk is attached (should show up as a data disk under settings/disks.
- Add the IP address to [dev] and [docker] sections of https://github.com/UCSC-MedBook/MedBook/blob/cloud-hosting/ansible/hosts
- From the
MedBook/ansible
directory runansible-playbook playbook.yml -i hosts -u ubuntu
- Manually add the appropriate public keys to the box (TODO this should be automated by ansible)