Tear down your OpenStack lab environment

Key Value
Summary Tear down your OpenStack lab environment.
Categories openstack
Difficulty 1
Author Tytus Kurek tytus.kurek@canonical.com

Overview

Duration: 3:00

Before you get started!

Welcome to OpenStack!

In this series of tutorials, we will walk you through all the necessary steps to install, configure and get started with OpenStack. Using just your workstation, you will learn how to use OpenStack for cloud infrastructure implementation purposes, from a single-node installation to large-scale clusters.

This tutorial is the twelfth in the “Phase I - Single-node OpenStack on your workstation” series.

Explore other tutorials >

What is OpenStack?

OpenStack is the most popular open source cloud platform that aggregates distributed compute, network and storage resources in the data centre and enables on-demand provisioning of virtual machines through a self-service portal. OpenStack powers thousands of public and private clouds all over the world, providing rapid access for greater innovation and better economics.

Learn more about OpenStack >

What is MicroStack?

MicroStack is a micro cloud platform based on OpenStack, designed for the edge and small-scale data centre deployments, that can be installed and maintained with minimal effort. MicroStack eliminates the complexity behind OpenStack, providing an opinionated approach to OpenStack architecture design and a straightforward installation method.

Learn more about MicroStack >

What is Charmed OpenStack?

Charmed OpenStack is an enterprise cloud platform based on OpenStack, designed for large-scale data centre deployments, that provides full automation around the initial installation and day-2 operations. Charmed OpenStack abstracts the complexity behind OpenStack, using a composable approach to OpenStack architecture design with model-driven operators (charms).

Learn more about Charmed OpenStack >

In this tutorial, you will learn how to:

  • Stop and start MicroStack

  • Disable and enable MicroStack

  • Uninstall MicroStack

You will only need:

One physical machine with:

MicroStack

These instructions use MicroStack - OpenStack in a snap. MicroStack is also available on other Linux distros, Windows and macOS. Refer to the MicroStack website for more information on how to install MicroStack on other OS than Ubuntu.

Stop and MicroStack

Duration: 5:00

MicroStack can be stopped when not being used and started when needed again.

To stop MicroStack, execute the following command:


$ sudo snap stop microstack

After a while, you will see the following output:


Stopped.

To start MicroStack, execute the following command:


$ sudo snap start microstack

After a while, you will see the following output:


Started.

Disable and enable MicroStack

Duration: 5:00

MicroStack is set to start automatically on a reboot.

To disable MicroStack, execute the following command:


$ sudo snap disable microstack

After a while, you will see the following output:


microstack disabled

To enable MicroStack, execute the following command:


$ sudo snap enable microstack

After a while, you will see the following output:


microstack enabled

Duration: 2:00

Uninstall MicroStack

Duration: 5:00

In case you no longer need it, you can completely uninstall MicroStack.

To uninstall MicroStack, execute the following command:


$ sudo snap remove --purge microstack

After a while, you will see the following output:


microstack removed

Next steps

Duration: 2:00

Congratulations! You have reached the end of this tutorial and the end of the “Phase I - Single-node OpenStack on your workstation” series.

In this tutorial, you have learnt how to:

  • Stop and start MicroStack

  • Disable and enable MicroStack

  • Uninstall MicroStack

Where to go from here?