Starting and managing hardware virtual machine instances
Login to the Triton Compute Service portal. From the Dashboard, click the Create Instance button, then select Hardware Virtual Machine. Follow the prompts on the screen to select the base software image, the RAM, disk and CPU resources for your instance, and set other details including the DNS names.
When finished, click the Launch button to create and start your instance.
Once created, you will notice your instance displayed in the grid within the Instances section of the Compute tab of the portal. The instance status will be indicated as either provisioning, running or stopped. If it is labeled as provisioning, the instance is still being set up. When finished, your new instance should be listed as running.
In order to access the container, you need the IP address. The primary IP address will be listed next to the container's name in your instances list. To get all of the IP addresses and other instance details, click on the name of your new container. The IP addresses will be listed under Summary.
Watch and see how quick it is to set up a hardware virtual machine in the Triton portal.
Install the Triton CLI tool to create an instance in the command line.
triton installed and configured, we can provision infrastructure instances by running
triton instance create. Here is an example of installing debian:
triton instance create -w --name=myDebianServer debian-8 k4-highcpu-kvm-250M Creating instance myDebianServer (efb971ac-e7dc-4b0b-898d-1c50b1882461, debian-8@20161025) Created instance myDebianServer (efb971ac-e7dc-4b0b-898d-1c50b1882461) in 39s
This command has four parameters:
- We gave our instance a name using
- We used
-wto wait the instance to be created.
- We used debian-8 as our image. To list all available images, run
triton image ls.
- We set k4-highcpu-kvm-250M as our package. To list all available packages, run
triton packages. HVM instances cannot use
When an image is created, it will automatically be in a running state. To view all of your instances, run
triton instance list.
SHORTID NAME IMG STATE FLAGS AGE efb971ac myDebianServer debian-8@20161025 running K 2m
To get the IP address of your new instance, run
triton instance get with the instance ID.
triton instance get efb971ac
The terminal will return a large list of infrastructure details. The IP address will be listed next to
Learn more about working with instances