Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


cloud-init description for newly launched VMs

This repository contains config file for cloud-init that converts plain Ubuntu LTS to SDI4Apps platform.

See the following sections to see how to launch it on various clouds:

Amazon AWS

In the Step 3 of Launch Wizard, when launching Ubuntu 16.04, click on Advanced Details, then in the section User Data click As file and upload the file user-data-xenial.yaml.

CERIT-SC OpenNebula

Log into OpenNebula web interface. Instantiate the template 3717 "SDI4Apps platform 16.04 Xenial".

It can be also submitted from command line. Download the files user-data-xenial.yaml, authenticate, then run

Setup for CERIT-SC OpenNebula Command Line

Install package opennebula-tools from repository. On a Ubuntu 14.04 box, do the following:

sudo su -
wget -q -O- | apt-key add -
echo "deb stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update
apt-get install opennebula-tools

Then you have to set up authentication. You will need an X509 digital certificate from an IGTF-approved certification authority imported in your browser for that.

  • register your digital certificate at Perun account management
  • export that certificate and its private key from your browser into a file, named e.g. mycreds.p12
  • create an OpenNebula access token from the certificate using the following commands:
# extracts the public certificate into file usercert.pem
openssl pkcs12 -in mycreds.p12 -out usercert.pem -clcerts -nokeys 
# extract the private key userkey.pem
openssl pkcs12 -in mycreds.p12 -out userkey.pem -nocerts -nodes  
# generates Opennebula access token
oneuser login -v $LOGNAME --x509 --cert usercert.pem --key userkey.pem --force
  • add the following at the end of your ~/.bashrc file:
#env vars for OpenNebula tools
export ONE_HOST=

Google Computing Engine

Must be submitted from command line.

Download the files user-data-xenial.yaml and, run the script.

Setup for Google Computing Engine

Install Google Cloud tools from repository. On a Ubuntu 14.04 box, do the following:

sudo su -
export CLOUD_SDK_REPO=cloud-sdk-`lsb_release -c -s`
curl | apt-key add -
echo "deb $CLOUD_SDK_REPO main" > /etc/apt/sources.list.d/google-cloud-sdk.list
apt-get update 
apt-get install google-cloud-sdk
gcloud init

Set up authentication by running the following command:

gcloud auth login


cloud-init description for newly launched VMs




No releases published


You can’t perform that action at this time.