From: Edan Scriven
Subject: Windows on the cloud

Hi Stephen,

Here's how to get Windows up on the cloud (assuming you have access to UQ's licence):

1. Using our Windows image. Currently we have a Windows Server 2008 R2 image available. Contact QCIF for access to the image. When access is granted, it will appear in the "Shared with me" tab of your project's image list.

2. Using your own image.  Upload your image using the glance command-line client. Due to a limitation in the dashboard, uploading images through the dashboard is likely to fail for images larger than about 1GB. You will need to download your OpenStack credentials from the dashboard to authenticate on the command line.

  • Go to the "Access & Security" page (left sidebar). Go to the "API Access" tab (top bar). Click "Download OpenStack RC File". This contains a shell script with the environment variables you need, except your password (it will prompt you for it when you run the script).
  • Go to "Settings" (top right corner), then "Reset Password". Copy the new password into the script (or for security, somewhere so you can paste it in whenever you go to use the credentials).
  • Install python-glanceclient (apt-get and yum should both work)
  • Use 'glance help image-create' to see how to use the utility, but your command is going to look like:

    glance image-create --name MyWin --disk-format qcow2 --container-format bare \
    --owner <TENANT_ID> --min-disk <DISK_GB> --file <IMAGE_FILENAME> --is-public False
  • where you can get TENANT_ID from your credentials file (OS_TENANT_ID in particular).

Once the image is ready, you can:

  1. If you're using our Win2k8 image, you can arrange to have the q3.large flavour made available to your project. This flavour is 4 cores, 16GB RAM and has a 60GB system disk (this is currently the only flavour with a large enough disk to hold the image).
  2. If the q3.large flavour is unsuitable, and you have a cinder volume allocation on your project, you can convert the image into a volume (on your project's image list, open the "More" dropdown on your image and select "Create volume". This will take several minutes to set up, but once the volume is available you can then use it to launch an instance of any flavour with the "boot from volume" launch option. Select the volume you created. Note that disk performance is much better on a volume, so consider that if you intend to do heavy file I/O on your instance.


The Win2k8 image provided does not have RDP enabled. You will have to use the VNC console in the dashboard to access your instance until you have configured RDP. Administrator's initial password is 'Ch4ngeMe'. Please do, and if you set up RDP do not allow Administrator to log in remotely.

Hope this helps, let me know if you need more information.

Regards,

Edan.