OpenStack

From CAC Documentation wiki
Revision as of 17:00, 13 November 2018 by Pzv2 (talk | contribs) (Added another screenshot to instances section)
Jump to navigation Jump to search

Warning: This page is currently under construction. Information may not be ready for users.

OpenStack is an open-source cloud stack that is currently running on Red Cloud. Also, for more information, see the Official Documentation for OpenStack. If you are looking for information on how to migrate an instance from Eucalyptus to OpenStack, please see Migrating from Eucalyptus to OpenStack.

Using the OpenStack Web Interface (Horizon)

There are two ways to manage Red Cloud resources:

  1. OpenStack Web Interface
  2. OpenStack CLI

Most users will use the OpenStack Web Interface (called Horizon). This web-based interface can be used to manage instances and volumes. For Linux Instances, however, some users may choose to use the OpenStack CLI. This section focuses on the OpenStack Web Interface.

Logging In

Log in to the OpenStack Web Interface to create and manage Red Cloud resources. There are two ways to login:

  1. CAC Account - Enter cac as the "Domain" and your CAC username and password, not your Cornell NetID
  2. Globus Auth - Log in through Globus
    • Currently, this feature is only available to Aristotle users. This feature will be enabled for all users in the future.
    • You must link your Cornell account, or any accounts attached to the projects you are on, in order to have access to them when using Globus Auth.
    • If you can't log in with Globus Auth, it may be that you have not linked your account yet.

RedCloudCACLogin.pngWhite square.pngRedCloudGlobusAuthLogin.png

You can use the "Authenticate using" drop-down to switch between the two options. Neither option requires you to enter a project ID; you can switch between the projects you are on once logged in.

Overview Page

The Overview page is the first place you will be taken upon logging into Red Cloud.

  • Provides easy access to main functions, but many functions can be accessed from other pages
  • Provides useful metrics on currently selected project
  • Before creating an instance, you will need to:

Key Pairs

Overview KeyPairs Circled.png

This is obviously visible along the top bar when compute is selected: Key Pairs

Can create or upload.

Can't create or upload during Instance setup.

Security Groups

Overview SecurityGroups.png

Getting to this is not obvious: Security Groups

Can't create one during Instance setup.

Instances

InstancesMenu.png


Launch an Instance

InstancesFullTitleBar.png


InstancesOptions.png


  1. Create Key Pair
  2. Create a Security Group

InstanceLaunchMenuFull.png

Note: During instance creation, on the "Source" tab, the option for "Delete Volume on Instance Delete" determines whether or not your root volume will be deleted when you terminate the instance. By default, this option is set to "No" to prevent accidental deletion of your data. However, if you do not intend to re-use the root volume, you could unintentionally incur excess storage usage. You can either delete the root volume manually later (it will show up in the list of volumes with the ID the same as the name), or select "Yes" on this option to automatically delete it when you terminate your instance.

InstanceLaunchMenu.png

Flavors Note: if you are using Windows you need a 'w' instance (indeed Horizon will force you to use it since the WIndows image is > 10GB). If you are using Linux, you have a choice; if you anticipate to install a lot of packages, you may want a 'w' instance as well (50 GB), otherwise, we suggest you choose a 'c' instance (10 GB) to save on storage costs. Data should ideally be stored on a separate volume when there is any substantial amount of it, not just to make resizing easier, but to make it independent of the OS volume should something happen to it (bad upgrade, desire to switch OS, etc), so data size should not really enter into the user's decision about what to pick here.

Types of Images

Volumes

Create and Attach a Volume

Types of Storage

Networks

Options:

  • Public 8 net
  • Setting up your own