Get Started
#
Network - Create an External/Internet network+ CREATE NETWORK
#
1. Please navigate to Admin > Network > Networks > ![/assets/img/network_202.jpg](/assets/img/network_202.jpg)
#
2. Please follow the configuration below:![/assets/img/network_203.jpg](/assets/img/network_203.jpg)
#
3. Create a subnet![/assets/img/network_204.jpg](/assets/img/network_204.jpg)
Edit subnet detail
#
Project - Create a new projectPlease navigate to Identity > Projects
Name the project
Add Member to project
Assign the user permission and save
Switch to new project
#
Network - Create Private NetworkPlease follow the configuration below, uncheck
shared
Configure the Subnet
DHCP - Enable the DHCP setting, define the Allocation Pools & DNS
#
Network - Setting the routeSetting up a router bridging private network and external network, allows the instances can be accessed through floating ip
and the internet
Please navigate to Project > Network > Routers >
+ CREATE ROUTER
Create a Route
Click on newly created
pri_10_to_internet
+ ADD INTERFACE
to the routerSelect the private network , in a few seconds the added interface will show on the list and the status will automatically changed to
Active
Let's preview our network setting at : Project > Network >
Network Topology
#
Network - Security GroupAllow SSH/HTTP/HTTPS/MYSQL services(ports) by changing the default security groups
Please navigate to Project > Network > Security Groups >
MANAGE RULES
Create a new rule by click on
+ ADD RULE
A. Create Rule by port range
B. Create rule by sevices
Finally the new rules will be added to the
default
security group
#
Compute - Create Images with webdownload from the web:
- Let's goto Project > Compute > Images >
+ CREATE IMAGE
- Create an image with file upload, ex:
#
Compute - Create Images with CLIDescription: 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 ApplianceEnter "help" for a list of available commandshost-1> imagehost-1:image> import1: usb2: localEnter index: 21: Cirros-0.4.0-x86_64.qcow2Enter index: 1Specify image name: CirrosImporting...+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| 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 InstanceLet's goto Project > Compute > Instances >
+ LAUNCH INSTANCE
Detail : Naming the Instance Name
Source :
Flavor :
network :
Keypair :
Launch the instance
#
Connect to your instanceNow 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.