This will provide a convenient baseline for the practicals for CA675.
Vagrant file above ^^^ is a working version up to end of lab 2.
- Install VirtualBox
- Install Vagrant
- CD into the directory where you want to put your VagrantFile
- Note for DCU lab machine users - When creating a VM, you should create a folder in d:\virtual (or d:\temp) and store the VM there (or on a personal USB hard drive)
vagrant init ubuntu/trusty64
will create a vagrant box (and your vagrant file) and set up your virtual machine- Note you can only have one VagrantFile in any given directory
vagrant up
will start the process of downloading and configuring the VM- Use
vagrant ssh
to ssh into the running machine- Alternatively, you can use putty to ssh into
localhost
port2222
(username/password isvagrant
)
- Alternatively, you can use putty to ssh into
- You can then open the
VagrantFile
in a text editor and edit as necessary- You might wish to change the number of VCPUs, Memory Allocation
- You might wish to add or remove shared directories
- For more details on Vagrantfile commands see https://www.vagrantup.com/docs/vagrantfile/
- During the course of the labs for this module we will work further on this vagrant file, building upon the blank intial VagrantFile to create one which provisions the VM with multiple cloud technologies.
vagrant halt
shuts down the VMvagrant destroy
deletes the VM
Amazon AWS is a cloud stack that provides compute, storage, database, and other functionality from a centralised console. The Web Services provided are based on a pay-per-use model, with different criteria depending on the service.
AWS has a free trial tier, please sign up for it: http://aws.amazon.com/
Please email your gitlab username and amazon AWS username to [email protected]