All informations related to deployement on the Compute Canada Cloud
Scripts to launch VMs on Openstack ComputeCanada
Get and set openstack access
Test the connexion:
$ source /path/to/project/name/openrc/<project name>-openrc.sh
$ openstack security group list
Use information in <project name>-openrc.sh
to set variables in vms_info.yml
ip-local is the the subdomain with from /0 to /31, the end of the ip address could be set per vm in 'ip'.
See vms_info.yml template
install packages
$ sudo apt-get update
$ sudo apt-get install python-dev python-pip
$ sudo apt-get install python-openstackclient
$ sudo apt-get install python-yaml
$ sudo apt-get install python-shade
0- Prepare access information in vms_info.yml
1- Prepare VMs information with vms_info.yml
2- Create user default with user_vm-default.txt
3- $ python create_user_config.py
4- $ python deploy_volume.py
5- $ python deploy_instance.py
create ssh keys for connection
$ ssh-keygen -t rsa
create an hashed password
$ mkpasswd -m SHA-512 --rounds=4096