After the application is approved, our cloud admin will send you a user account through email. A project will be created for your account and the default role of your account in this project is Project Manager/PI. As a project manager, you can manipulate the virtual resources with the allocated funding to your project, and create new user accounts and assign roles (privilege user and end user) to the accounts within this project.

Terms and Conditions

1. The user claims that the data are NOT sensitive or provided by any unauthorized organizations
2. The cloud source can only be used for approved projects
3. User needs to follow the University Policy: http://universitypolicy.gmu.edu/policies/responsible-use-of-computing/

Create new instance (Virtual Machine)


Access instance (Virtual Machine)

In this instruction, user will practice how to manipulate virtual resources: create an instance for the project, and access the instance on the AWS platform through DC2.

Create new instance (Virtual Machine)

  1. Log in and change your password
    1. Select Project Management -> User -> your account name
    2. Select Operate -> Change User Password
  2. At the top bar, select Amazon as a platform and your project as the project, leave the region as default.
  3. View your allocated project resource
    1. Select Project Management -> Project
  4. Check if the default image(s) and network security group(s) are already designated to your project
    1. Select Virtual Resource -> Image, if NO image in your table list, please contact with Admin
    2. Select Network Security -> Security Group, if NO security group in your table list, please contact with Admin
  5. Create Key Pair for your project
    *Please don't share your key pair with others who aren't involved in your project!
    1. Select Network Security > Key Pair
    2. Click Create Key button
    3. Input your key pair name, description and select Project Name
    4. Click OK
    5. A new key pair name will appear in the table, and a .pem file will be downloaded automatically.
  6. Create instance (Virtual Machine) for your project
    1. Select Virtual Resource -> Public-Image (there are two images: windows server 2012 and centos7)
    2. Select one image and click Create from Public Image button
    3. In the Instance Configuration tab
      1. Input VM name
      2. Select VM type to "m1.small"
      3. Input instance number: 1
    4. In the Network & Key Pair Access tab
      1. Select Key name and Security Group
      2. Select VPC to "undefined(vpc-4d6af929)"
    5. In the Project & User tab
      1. Select user and project
    6. Click OK
  7. Select Virtual Resource -> Instance
  8. Wait until the instance/VM Status turns to be "Running". Click Refresh button if the status did not change for a while.

Access AWS instance (Virtual Machine)

  1. Access the instance: select your instance and click operate -> Access instance
    1. If an error is displayed, please wait for several minutes. Because the instance is not really ready yet.
    2. Finally, you should see following pop-up window, and follow the steps to access your instance.
      1. If you create Windows instance, please use Remote Desktop Connection
      2. If you create Linux instance, please use SSH
  2. If you copy user name and password in the pop-up window, please check there is no space at the end.
In this instruction, user will practice how to manipulate virtual resources: create an instance for the project, and access the instance on the Openstack cloud.

Create new instance (Virtual Machine)

  1. Log in and change your password
    1. Select Project Management -> User -> your account name
    2. Select Operate -> Change User Password
  2. At the top bar, select Openstack in platform dropdown list, datacenter_develop in region list, and workshop project.
  3. View your allocated project resource
    1. Select Project Management -> Project
  4. Check if the default image(s) and network security group(s) are already designated to your project
    1. Select Virtual Resource -> Image, if NO image in your table list, please contact with Admin
    2. Select Network Security -> Security Group, if NO security group in your table list, please contact with Admin
  5. Create Key Pair for your project
    *Please don't share your key pair with others who aren't invovled in your project!
    *We have created a key pair - "workshop" for you, if you can't find it, please create one with any name by yourself!
    1. Select Network Security > Key Pair
    2. Click Create Key button
    3. Input your key pair name, description and select Project Name
    4. Click OK
    5. A new key pair name will appear in the table, and a .pem file will be downloaded automatically.
  6. Create instance (Virtual Machine) for your project
    1. Select Virtual Resource -> Instance
    2. Click Create VM button
    3. In the Instance Configuration tab
      1. Input VM name
      2. Select image ID: "centos6.6-8080805000-20160719"
      3. Select VM type to "m1.medium"
      4. Input instance number: 1
    4. In the Network & Key Pair Access tab
      1. Select Key name and Security Group
      2. Select Network to "test-net" important!
    5. In the Project & User tab
      1. Select user and project
    6. Click OK
  7. Wait until the instance/VM Status turns to be "Running". Click Refresh button if the status did not change for a while.
  8. Associate a public IP to instance
    1. Select IP Management -> IP
    2. Click Allocate Elastic IP
      1. Input Allocate Number: 1
      2. Select project and user
      3. Select Network "ext-net" (only this network has public IP)
    3. Click OK, a public IP will appear in the table
    4. Select an IP from the table list
      1. Click Operate -> Associate IP to Instance
      2. Select your instance and click OK
    5. Go back to Instance table
      1. select Virtual Resource -> Instance, a public IP should be shown in the field of IP
  9. Access the instance, install packages for a web service, and deploy a web page on your Virtual Machine (please check following sections)
    *In this image: centos6.6-8080805000-20160719, we have installed apache HTTP server, you should see the initial page via public ip after you launch the instance succesfully. If not, please follow 'Deploy web page' section

Access Openstack instance

*If you are operating Windows system now, please follow the first part; if you are operating Mac system, you can follow the second part.

Part 1, for Windows System:

  1. Download putty.exe and puttygen.exe, and get KeyName.pem (the one automatically downloaded when you create your key pair)
    Link: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  2. Open puttygen.exe and click load
  3. Choose All Files (*.*) and Open KeyName.pem
  4. Click OK and Click Save private key
  5. Click Yes and save the file as KeyName.ppk
  6. Open putty.exe and fill in your public IP address (199.XX.XXX.XXX) and port number (5000)
  7. In Category section, browse to Connection >> SSH >> Auth, and click Browse on the right side
  8. Select KeyName.ppk file that we generated in Step 5
  9. Click open and Yes to access the VM
  10. You will see the login screen when connect successfully
  11. Login as centos, there is no password required
    1. Please Input "centos" and then press Enter button

Part 2, for MAC System:

  1. Open the shell terminal
  2. Go to the fold where the downloaded key (.pem file) exists, such as:
    cd /Users/YourKeyFolder/
  3. Change the access permission of the key as following:
    chmod 400 YourKeyName
  4. Access the virtual machine by SSH as following:
    ssh -i KeyName.pem -p 5000 centos@YourIP
  5. Login as centos, there is no password required
    1. Please Input "centos" and then press Enter button

Deploy web page

  1. After access the VM and login as centos, you can deploy apache with following command lines.
    sudo -i
    yum install httpd
    service httpd start
  2. Open a new browser, and visit your website: YourPublicIP/
  3. Your page should be like this: