Documentation

Import a ServiceNav Box into Amazon Web Services - AWS

On the page

Do you need help?

Context: Use this procedure to deploy a monitoring appliance in AWS.

With internal virtualization environment

Creation of the Virtual Machine

Retrieve the master from the FTP site depending on the virtualization technology used:

        FTP site : ftp://software.servicenav.io (contact support for the login details)
       Directory: VSM-VSB: Images available for VMware and HyperV

Create the Virtual Machine in its virtualization environment

Migrate your Virtual Machine to Amazon EC2 using AWS Connector for vCenter:

http://docs.aws.amazon.com/fr_fr/amp/latest/userguide/migrate-vms.html

Import your Virtual Machine using AWS Systems Manager for Microsoft SCVMM:

http://docs.aws.amazon.com/fr_fr/AWSEC2/latest/WindowsGuide/scvmm-import-vm.html

Without internal virtualization environment

Prerequisites

Retrieve the OVA image and the vmdk available on our FTP site:

          FTP site : ftp://software.servicenav.io (contact support for the login details)
          Directory: SNB-SNM - ServiceNav Box

          File : take the last available OVF master

Import your Virtual Machine as an image:

You can import it to Amazon EC2. The import process is the same regardless of the origin of the virtual machine.

Upload image to Amazon S3

Upload your virtual machine image file to your Amazon S3 bucket using the upload tool of your choice. For more information about uploading files via the S3 console, see Loading objects into Amazon S3. For more information on the Java Enhanced Uploader applet, see Using Enhanced Uploader.

After you upload your virtual machine image file to Amazon S3, you can use the AWS CLI to import image. The tools accept the Amazon S3 bucket and the file path or a URL for a public Amazon S3 file. Private Amazon S3 files require a Signed GET URL.

Create your VM from OVA or VMDK

The following examples use the AWS CLI command image import to create import tasks.

Example 1: Importing a VSO

 aws ec2 import-image -description "Windows 2008 OVA" --license-type <value> --disk-containers file://containers.json

Here is an example of a file containers.json.

 [   {
    "Description": "Windows 2008 OVA", "Format": "ova", "UserBucket": { "S3Bucket": "my-import-bucket", "S3Key": "vms/my-windows-2008-vm.ova" } } ] 

Example 2: Importing multiple disks from vmdk

$ C:> aws ec2 import-image -description "Windows 2008 VMDKs" --license-type <value> --disk-containers file://containers.json

Here is an example of a file containers.json.

[
  {
    "Description": "First disk", "Format": "vmdk", "UserBucket": { "S3Bucket": "my-import-bucket", "S3Key": "disks/my-windows-2008-vm-disk1.vmdk" } }, { "Description": "Second disk", "Format": "vmdk", "UserBucket": { "S3Bucket": "my-import-bucket", "S3Key": "disks/my-windows-2008-vm-disk2.vmdk" } } ]

Checking the status of the import task

The order describe-import-image-tasks is used to display the status of an import task.

The status values include the following:

  • active - The import task is in progress.
  • deleting - The import task is being cancelled.
  • deleted - The import task is cancelled.
  • updating - The import status is being updated.
  • validating- The imported image is being validated.
  • validated - The imported image has been validated.
  • converting- The imported image is converted to an AMI.
  • completed - The import task is complete and the AMI is ready for use.
aws ec2 describe-import-image-tasks --import-task-ids import-friends-abcd1234

You can also use the old EC2 command line interface (CLI) command ec2 describe-conversion-tasks to achieve the same goal:

Useful links:

http://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#import-vm-image

Importing a VM as an Image Using VM Import/Export

Commissioning of a ServiceNav Box

Follow the procedure below from section 2:

SaaS mode : https://servicenav.coservit.com/en/documents/commissioning-a-servicenav-box/

License mode: https://servicenav.coservit.com/en/documents/commissioning-a-servicenav-box/

You may also be interested in

Replace a ServiceNav Box Ubuntu 16.04 with a ServiceNav Box 4.17 Ubuntu 20.04

en_GB

Our next events

Our upcoming webinars

Our Previous Webinars

Welcome to ServiceNav!

Do you need some help? More information about our products? Write to us!
We will never sell or share your personal data with third parties. You have taken note of our privacy policy.
We use cookies to ensure the best experience on our site. If you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

We will never sell or share your personal data with third parties. You have taken note of our privacy policy.