跳到主內容
版本:1.3

Compute

Create Flavors

  1. Let's goto Admin > Compute > Flavors > + CREATE FLAVOR

    /assets/get-started/11.png

  2. Please define a Names, No. of VCPU, RAM & Root Disk, ex:

    /assets/get-started/12.png


    Create Images with web

    download from the web:

    Get images

    1. Let's goto Admin > Compute > Images > + CREATE IMAGE

      /assets/get-started/13.png

    2. Create an image with file upload, ex:

      /assets/get-started/create-img.png

    Create Images with CLI

    Description: import your VM image from usb drive or local disk /var/support

    your local machine

    scp Cirros-0.4.0-x86_64.qcow2 root@IPADDRESS:/var/support/.

    control node

    $ ssh admin@IPADDRESS

    Welcome to the Cube Appliance
    Enter "help" for a list of available commands
    host-1> image
    host-1:image> import
    1: usb
    2: local
    Enter index: 2
    1: Cirros-0.4.0-x86_64.qcow2
    Enter index: 1
    Specify image name: Cirros
    Importing...
    +------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field | Value |
    +------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | checksum | ba3cd24377dde5dfdd58728894004abb |
    | container_format | bare |
    | created_at | 2019-10-09T06:19:44Z |
    | disk_format | raw |
    | file | /v2/images/6660fd5a-1cec-4e4e-ada4-08366fc450d0/file |
    | id | 6660fd5a-1cec-4e4e-ada4-08366fc450d0 |
    | min_disk | 0 |
    | min_ram | 0 |
    | name | Cirros |
    | owner | 35f9664428534c81b85611fa3c6f23c3 |
    | properties | direct_url='rbd://c6e64c49-09cf-463b-9d1c-b6645b4b3b85/glance-images/6660fd5a-1cec-4e4e-ada4-08366fc450d0/snap', hw_disk_bus='scsi', hw_qemu_guest_agent='yes', hw_scsi_model='virtio-scsi', os_require_quiesce='yes' |
    | protected | False |
    | schema | /v2/schemas/image |
    | size | 46137344 |
    | status | active |
    | tags | |
    | updated_at | 2019-10-09T06:19:49Z |
    | virtual_size | None |
    | visibility | public |
    +------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    Importing Cirros complete. It is safe to remove the USB drive.

    Create Instance

    1. Let's goto Project > Compute > Instances > + CREATE INSTANCE

      /assets/get-started/15.png

    2. Detail : Naming the Instance Name

      /assets/get-started/16.png

    3. Source :

      /assets/get-started/create_with_image.png

    4. Flavor :

      /assets/get-started/18.png

      /assets/get-started/18-b.png

    5. Networks :

      /assets/get-started/19-1.png

      /assets/get-started/19-b.png

    6. Launch the instance


    Associate Floating IP for VLAN/VXLAN

    1. Select ASSOCIATE FLOATING IP from the drop down from the actions column

      /assets/get-started/20-1.png

    2. Allocate a floating IP

      /assets/get-started/20-2.png

    3. Select Pool and Allocate IP

      /assets/get-started/20-3.png

    4. Associate to the instances

      /assets/get-started/20-4.png

      /assets/get-started/20-5.png