How to launch instances with Vagrant on AURO
Posted by Matt Czajka on 08 April 2016 01:31 PM

Launching instances with a vagrant up command is easy and can be done quite quickly. You will first need vagrant installed, as well as the vagrant openstack plugin.

Download and install Vagrant locally here:

Once setup, install the vagrant openstack plugin with:

vagrant plugin install vagrant-openstack-provider

Now you can begin making a vagrant file to connect to and spool up instances in Auro. You will need our auth URLs and your openstack RC file which can be found in your Auro dashboard under Access & Security > API Access.

Create a separate directory and create a Vagrantfile within it. The following is a basic template to start this process:

Vagrant.configure('2') do |config|
#Specify SSH user and key for the instance
config.ssh.username = 'ubuntu'
config.ssh.private_key_path = '~/.ssh/<your SSH Key location>'

#Set the vagrant provider as "Openstack"
config.vm.provider "openstack" do |os|

#Specify information to authenticate with AURO
os.openstack_auth_url = ''
os.openstack_network_url = ''
os.username = '<Your AURO username>'
os.password = '<Your AURO Password>'
os.tenant_name = '<Your AURO Project name>'

#Set the instance details
os.server_name = 'auro_vagrant_instance'
os.flavor = 'Standard-1'
os.image = 'Ubuntu-14.04-x86_64'
os.floating_ip_pool = 'ext-net'
os.networks = 'Default'
os.keypair_name = '<Your SSH key>'
os.security_groups = 'default'

This should successfully create a Ubuntu box with the SSH key provided.

(0 vote(s))
Not helpful

Comments (0)