Difference between revisions of "OpenStack"
(→Instances: Added a note about terminating an instance doesn't delete root volume by default) |
(Removing OpenStack CLI section and putting on it's own page) |
||
Line 9: | Line 9: | ||
There are two ways to manage [[Red Cloud]] resources: | There are two ways to manage [[Red Cloud]] resources: | ||
# [https://redcloud.cac.cornell.edu OpenStack Web Interface] | # [https://redcloud.cac.cornell.edu OpenStack Web Interface] | ||
− | # [[ | + | # [[OpenStack CLI]] |
− | Most users will use the OpenStack Web Interface (called [https://docs.openstack.org/horizon/latest/ Horizon]). This web-based interface can be used to manage [[#Instances|instances]] and [[#Volumes|volumes]]. For [[Red Cloud Linux Instances|Linux Instances]], however, some users may choose to use the [[ | + | Most users will use the OpenStack Web Interface (called [https://docs.openstack.org/horizon/latest/ Horizon]). This web-based interface can be used to manage [[#Instances|instances]] and [[#Volumes|volumes]]. For [[Red Cloud Linux Instances|Linux Instances]], however, some users may choose to use the [[OpenStack CLI]]. This section focuses on the [https://redcloud.cac.cornell.edu OpenStack Web Interface]. |
=== Logging In === | === Logging In === | ||
Line 83: | Line 83: | ||
* Public 8 net | * Public 8 net | ||
* Setting up your own | * Setting up your own | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 12:44, 13 November 2018
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:
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:
- CAC Account - Enter cac as the "Domain" and your CAC username and password, not your Cornell NetID
- 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.
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:
- Select the correct project from the "Project" drop-down at the top right of the page (if you are on multiple projects)
- Create a key pair - for authentication when you log in the first time
- Create a security group - defines allowable types of port access for an instance
- Optional: Create and Attach a Volume (can also be done when launching an Instance)
- Optional: Set up a network - ... TODO
- TODO - figure out if this should be included: Optional: Allocate an elastic IP address - a fixed IP address that can be assigned to an instance
Key Pairs
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
Getting to this is not obvious: Security Groups
Can't create one during Instance setup.
Instances
Launch an Instance
- Create Key Pair
- Create a Security Group
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.
Types of Images
Volumes
Create and Attach a Volume
Types of Storage
Networks
Options:
- Public 8 net
- Setting up your own