Hurry! 20% Off Ends SoonRegister Now

Using OpenStack Dashboard to Launch and Terminate Instances

Using OpenStack Dashboard to launch instances

Instances are virtual machines that run inside the cloud.

If you would like to become an OpenStack  Certified professional, then visit Mindmajix - A Global online training platform: " OpenStack Certification Training Course ". This course will help you to achieve excellence in this domain.

Launching instances are easily done, using the Openstack Dashboard. We simply select our chosen image, choose the size of the instance, and then launch it.

In this article, you will learn below topics
  1. Getting ready to OpenStack Dashboard
  2. How to do OpenStack Dashboard to launch instances
  3. How Launch Instance works
  4. Using OpenStack Dashboard to terminate instances

Getting ready to OpenStack Dashboard

Load a Web browser, point it to our OpenStack Dashboard address at https://172.16.0.200/horizon, and log in as a user, such as a demo user created in Adding users of keystone OpenStack Identity Service, with the password OpenStack.

MindMajix YouTube Channel

How to do OpenStack Dashboard to launch instances

To launch an instance by using the OpenStack Dashboard interface, carry out the following steps:

  • Navigate to the Images & Snapshots tab and select an appropriate image to launch, for example, the ubuntu 12.04 x86_64 server image:

Openstack images and snapshots

  • Click on the Launch button under the Actions column of the image to be launched.
  • A dialog box appears requesting a name for the instance (for example, horizon1). Choose an instance type of tiny:

OpenStack launch instance

  • Next, choose the Access & Security tab, and choose the keypair and security groups for this image as shown in the following screenshot:

Access & Security tab in OpenStack

Tip: If you haven’t created a keypair you can click on the + button and import a key from this dialog box.

Related Article: OpenStack Questions
  • With Neutron configured in our environment, selecting the Networking tab allows us to choose the networks that our instance, will be attached to by dragging the networks listed under Available networks into the Selected Networks box:

Networking tab in Launch Instance

  • Once selected, we can click on the Launch Instance
  • We will be returned to the Instances & Volumes tab that shows the instance in a Build status, which will eventually change to Active:

Instance

Tip: If the display hasn’t refreshed, click on the Instances tab to refresh the information manually.

Related Article: OpenStack Network

How Launch Instance works

Launching instances from Horizon—the OpenStack Dashboard—is done in two stages:

  • Selecting the appropriate image from the Images
  • Choosing the appropriate values to assign to the instance.

The Instances tab shows the running instances under our cookbook project.

Related Article: OpenStack Authentication

Tip: You can also see an overview of what is running in our environment, by clicking on the Overview tab.

Using OpenStack Dashboard to terminate instances

Terminating instances can be simply done by using OpenStack Dashboard.

Getting ready to terminate instances

Load a Web browser, point it to our OpenStack Dashboard address at https://172.16.0. 200/horizon, and log in as a user, such as a demo user created in Adding users recipe of Keystone OpenStack Identity Service, with the password OpenStack.

How to do terminate instances

To terminate instances by using OpenStack Dashboard, carry out the following steps:

  • Select the Instances tab and choose the instance to be terminated by selecting the checkbox next to the instance name (or names) then click on the red Terminate Instances button:

Terminate Instances button

  • We will be presented with a confirmation screen. Click on the Terminate Instances button to terminate the selected instance:

confirmation screen of Instances

  • We will be presented with the Instances screen with a confirmation that the instance has been terminated successfully.

How Terminate Instances work

Terminating instances by using OpenStack Dashboard is easy. We simply select our running instance and click on the Terminate Instances button, which is highlighted when an instance is selected. After clicking on the Terminate Instances button, we are asked to confirm this action to minimize the risk of accidentally terminating an instance

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
OpenStack TrainingDec 24 to Jan 08View Details
OpenStack TrainingDec 28 to Jan 12View Details
OpenStack TrainingDec 31 to Jan 15View Details
OpenStack TrainingJan 04 to Jan 19View Details
Last updated: 03 Apr 2023
About Author

Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.

read less
  1. Share:
OpenStack Articles