Moving Workloads from OpenStack On-Premise Private to Off-Premise such as Public Cloud or Mirantis OpenStack Express

If you haven’t tried it already, get a free on-demand trial for Mirantis OpenStack Express, now available.

The procedure to migrate from an existing OpenStack environment to Mirantis OpenStack Express is the same regardless of the guest operating system. The OpenStack documentation talks in detail about using snapshots to migrate instances, but in general, you’ll execute these steps:

  1. Create a snapshot of the VM you want to migrate.
  2. Convert that snapshot into an image.
  3. Import the image into Mirantis OpenStack Express.
  4. Launch an instance based on the image.

Start by identifying the virtual machine(s) you want to migrate in the source OpenStack environment. You can see a list of all your virtual machines in the Instances tab of your source cloud’s Horizon dashboard.

Create a snapshot of the Virtual Machine

Start by creating a snapshot of the virtual machine.  To do that, follow these steps:

  1. Select the Virtual Machine and click the Create Snapshot button in the top right. Creating a snapshot will result in an Image of the Virtual Machine in Glance.
  2. Enter a name for the snapshot.  This name will be the image name in Glance.

  3. While the snapshot process is running, the snapshot is displayed as Queued.

  4. When the process finished, the status will turn to Active. Wait until you see this before proceeding.

Export the Virtual Machine Image out of Glance and import it into Mirantis OpenStack Express

When the snapshot is ready, you can export it.  To do that, follow these steps:

  1. Log in to the Controller of the source OpenStack environment and locate the image ID of the snapshot you just created using the nova CLI:
    nova image-list

  2. Export the snapshot image from Glance to the local filesystem of the controller node of the source cloud by logging into that node and typing:
    glance image-download --file {file name for image} {Snapshot ID} 
    For example:
    glance image-download --file sample.qcow c13a0d92-67c3-43a1-8b06-8cf9c72b960a
  3. Using scp or sFTP, download the image to your local machine.
  4. Upload the image to your cloud.

Launch the migrated Virtual Machine on Mirantis OpenStack Express

Now that you have the image, it’s a simple matter to create a new VM from it.  Follow these steps:

  1. If it’s not already open, launch the OpenStack Horizon dashboard.
  2. Click Project->Instances.
  3. Click +Add Instance.
  4. In the Launch Instance dialog box, specify the Instance Boot Source as Boot from Image.
  5. Specify the Image Name to be the new image you just uploaded to the cloud.
  6. Click Launch.
  7. When the new instances is Running, click it to log in via the console to verify that it’s what you expect.

Want to read more?  This article is an excerpt from our new guide, Mirantis OpenStack Express: Application On-boarding Guide (currently in beta).  Please let us know what you think.
From Virtualization to Containerization
Learn how to move from monolithic to microservices in this free eBook
Download Now
Radio Cloud Native – Week of May 11th, 2022

Every Wednesday, Nick Chase and Eric Gregory from Mirantis go over the week’s cloud native and industry news. This week they discussed: Docker Extensions Artificial Intelligence shows signs that it's reaching the common person Google Cloud TPU VMs reach general availability Google buys MobileX, folds into Google Cloud NIST changes Palantir is back, and it's got a Blanket Purchase Agreement at the Department of Health and Human …

Radio Cloud Native – Week of May 11th, 2022
Where do Ubuntu 20.04, OpenSearch, Tungsten Fabric, and more all come together? In the latest Mirantis Container Cloud releases!

In the last several weeks we have released two updates to Mirantis Container Cloud - versions 2.16 and 2.17, which bring a number of important changes and enhancements. These are focused on both keeping key components up to date to provide the latest functionality and security fixes, and also delivering new functionalities for our customers to take advantage of in …

Where do Ubuntu 20.04, OpenSearch, Tungsten Fabric, and more all come together? In the latest Mirantis Container Cloud releases!
Monitoring Kubernetes costs using Kubecost and Mirantis Kubernetes Engine [Transcript]

Cloud environments & Kubernetes are becoming more and more expensive to operate and manage. In this demo-rich workshop, Mirantis and Kubecost demonstrate how to deploy Kubecost as a Helm chart on top of Mirantis Kubernetes Engine. Lens users will be able to visualize their Kubernetes spend directly in the Lens desktop application, allowing users to view spend and costs efficiently …

Monitoring Kubernetes costs using Kubecost and Mirantis Kubernetes Engine [Transcript]
Service Mesh for Mere Mortals
A Guide to Istio and How to Use Service Mesh Platforms
The Definitive Guide to Container Platforms
Mirantis Webstore
Purchase Kubernetes support