Skip to main content
Version: 2.4

Get Started

Network - Create an External/Internet network

1. Please navigate to Admin > Network > Networks > + CREATE NETWORK

/assets/img/network_202.jpg

2. Please follow the configuration below:

/assets/img/network_203.jpg

3. Create a subnet

/assets/img/network_204.jpg

  1. Edit subnet detail

/assets/img/network_205.png


Project - Create a new project

  1. Please navigate to Identity > Projects

/assets/identity/project0-1.png

  1. Name the project

/assets/img/project-1.jpg

  1. Add Member to project

/assets/img/project-2.jpg

  1. Assign the user permission and save

/assets/img/project-3.jpg

  1. Switch to new project

/assets/img/project-4.jpg


Network - Create Private Network

  1. Please follow the configuration below, uncheck shared

/assets/img/network_206.jpg

/assets/img/network_207.png

  1. Configure the Subnet

/assets/img/network_208.png

  1. DHCP - Enable the DHCP setting, define the Allocation Pools & DNS

/assets/img/network_209.png


Network - Setting the route

Setting up a router bridging private network and external network, allows the instances can be accessed through floating ip and the internet

  1. Please navigate to Project > Network > Routers > + CREATE ROUTER

/assets/img/route_211.png

  1. Create a Route

/assets/img/route_212.png

  1. Click on newly created pri_10_to_internet

/assets/img/route_213.png

  1. + ADD INTERFACE to the router

/assets/img/route_214.png

  1. Select the private network , in a few seconds the added interface will show on the list and the status will automatically changed to Active

/assets/img/route_215.png

/assets/img/route_216.png

  1. Let's preview our network setting at : Project > Network > Network Topology

/assets/img/network_topology_218.png


Network - Security Group

Allow SSH/HTTP/HTTPS/MYSQL services(ports) by changing the default security groups

  1. Please navigate to Project > Network > Security Groups > MANAGE RULES

/assets/img/sg_220.png

  1. Create a new rule by click on + ADD RULE

/assets/img/sg_221.png

  1. A. Create Rule by port range

/assets/img/sg_224.png

**B**. Create rule by sevices

/assets/img/sg_223.png

  1. Finally the new rules will be added to the default security group

/assets/img/sg_225.png


Compute - Create Images with web

download from the web:

Get images

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

/assets/img/image_226.png

  1. Create an image with file upload, ex:

/assets/img/image_227.png

Compute - Create Images with CLI

Description: import your VM image from usb drive or local disk /mnt/cephfs/glance

your local machine

$ scp Cirros-0.4.0-x86_64.qcow2 root@IPADDRESS:/mnt/cephfs/glance/.

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 > + LAUNCH INSTANCE

/assets/img/compute_228.png

  1. Detail : Naming the Instance Name

/assets/img/compute_229.png

  1. Source :

/assets/img/compute_230.png

  1. Flavor :

/assets/img/compute_231.png

/assets/img/compute_232.png

  1. network :

/assets/img/compute_233.png

/assets/img/compute_2344.png

  1. Keypair :

/assets/img/compute_235.png

/assets/img/compute_236.png

  1. Launch the instance

/assets/img/compute_237.png


Connect to your instance

/assets/img/compute_238.png

Now you can access your instance with SSH

$ ssh -i bigstack.pem [email protected]
Warning: Permanently added '10.32.3.152' (ECDSA) to the list of known hosts.