A Bridge to the Cloud...

VirtualBox 6.1 in Action: Import Virtual Machines from Oracle Cloud Infrastructure

Simon Coter
Senior Manager, Oracle Linux and Virtualization Product Management

As maybe someone already saw, we've just announced Oracle VM VirtualBox 6.1 release on our Oracle Virtualization Blog.

Today, I'm so excited to share a cool video I've built on one of the most important functionalities we've added to Oracle VM VirtualBox 6.1, the option to import a Virtual Machine from Oracle Cloud Infrastructure, by starting from an Instance running on the cloud; thanks to this feature and the great enhanced Oracle VM VirtualBox 6.1 GUI, we've now completed the lifecycle for Developers approaching the Oracle Cloud:

To get further information/details on how to create your OCI Profile, you can follow official Oracle VM VirtualBox Documentation.

This Video demonstrates how it's easy to get your existing Oracle Cloud Infrastructure Instance imported to VirtualBox.

Feel free to leave your comments on this blog.

Join the discussion

Comments ( 7 )
  • Bob Jones Friday, January 24, 2020
    Hi Simon,

    I have tried this on 6.1.2 on Ubuntu and OL and cannot get past the initial steps.

    I am getting the an error about a "Malformed Integer" and my log shows the below. What to do?


    00:14:27.850458 CloudRead i_gettingCloudData: calling CloudClient::GetInstanceInfo()
    00:14:27.850473 CloudRead getInstanceInfo
    00:14:27.851035 OCITask i_getInstanceInfoWorker
    00:14:28.584963 OCITask AvailabilityDomain is YggB:UK-LONDON-1-AD-2
    00:14:28.585019 OCITask Compartment Id is ocid1.compartment.oc1..aaaaaaaaffkmzvrfs27sf2hmdptz2brjnamjfyrui7tbwvu6kbzpcnhsbvpa
    00:14:28.585039 OCITask DisplayName is TNSMigrationTest1
    00:14:28.585052 OCITask FaultDomain is FAULT-DOMAIN-2
    00:14:28.585062 OCITask Instance Id is ocid1.instance.oc1.uk-london-1.anwgiljtne3la4accexmhvy7gbm2tp7dcqwj6qbsuiqwjjoyyvsufekt5yka
    00:14:28.585072 OCITask ImageId is ocid1.image.oc1.uk-london-1.aaaaaaaagwdcgcw4squjusjy4yoyzxlewn6omj75f2xur2qpo7dgwexnzyhq
    00:14:28.816955 OCITask OS type is Oracle Linux
    00:14:28.817000 OCITask Bootable image size is 47694 MB MB
    00:14:28.817674 OCITask LaunchMode is PARAVIRTUALIZED
    00:14:28.817698 OCITask Booting firmware is UEFI_64
    00:14:28.817706 OCITask Life Cycle State is RUNNING
    00:14:28.817713 OCITask Region is uk-london-1
    00:14:28.817726 OCITask Shape is VM.Standard.E2.1.Micro
    00:14:28.817739 OCITask SourceType is image
    00:14:28.817743 OCITask Creation time is 2020-01-13T13:05:28.890Z
    00:14:28.820518 CloudRead uninit
    00:14:28.820555 CloudRead ~OCICloudClient
    00:14:29.482163 OCITask ERROR [COM]: aRC=NS_ERROR_INVALID_ARG (0x80070057) aIID={14c2db8a-3ee4-11e9-b872-cb9447aad965} aComponent={VirtualSystemDescriptionFormWrap} aText={Malformed integer}, preserve=false aResultDetail=0
  • Simon Friday, January 24, 2020
    Hi Bob,

    which type of images did you use to create the OCI Instance ? Are those derived from custom-images or Oracle Official images ?
    Please, let me know.

  • Bob Jones Monday, January 27, 2020
    Thanks for getting back to me.

    It was from the Oracle Linux 7.7 "platform image" on the first tab of the table for selecting an image when creating an instance via the portal.

    The image build is Oracle-Linux-7.7-2019.12.18-0


  • Simon Monday, January 27, 2020
    Hi Bob,

    I suspect that the import just fails because your instance had been built from an official Oracle Linux image.
    Can you please try to import an Instance built with a custom image ?
    BTW, if you need to build-up an OL instance on VirtualBox leveraging our vagrant-boxes is much faster, see: https://yum.oracle.com/boxes

  • Bob Jones Tuesday, January 28, 2020

    Thanks for the tip.

    I am trying to round-trip images between VirtualBox and Oracle Cloud with a view to round-tripping eventually between Oracle VMM locally and Cloud for DR purposes.

    Have a great day!

  • madhu Saturday, July 11, 2020
    Hi Simon,

    Do you have steps to import oracle VBOX KVM VM to OCI .
    Thank you, I am able to import the VM image successfully into OCI

  • Simon Wednesday, July 15, 2020
    Hi Madhu,

    for KVM VMs you should refer to OCI documentation. Over there you can find the steps on how-to import custom images.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.