Manage Instance¶
In this document, you learn how to manage a compute instance from creation to deletion. Bare metal and virtual machine (VM) are the instance types available.
Instance Types¶
Type |
Description |
Sizes |
Typical Use Case(s) |
---|---|---|---|
Bare Metal (BM) |
Bare metal compute instances are intended for general use and deploying CPU, GPU, and AI-accelerated processors. Current offerings include: 4th Generation Intel® Xeon® Scalable processors; Intel® Max Series GPU (PVC); Habana Gaudi2 Deep Learning Server. |
256GB and 1TB |
AI and core computing. |
Virtual Machine (VM) |
VM compute instances are intended for managing workloads in CPU and AI applications. They help support developers world-wide to test and experiment with on-demand workloads and applications. A VM requires a hypervisor, which consumes some of its computing power. Current offerings include: 4th Generation Intel® Xeon® Scalable processors. todo subdivide by size below. |
16GB (small), 32GB (medium), and 64GB (large). |
Workload testing and application development using CPUs, GPUs, and memory in the Intel ecosystem. |
Launch an Instance¶
Log in to Intel® Developer Cloud.
From the QuickStart menu, select Hardware Catalog.
Configure an instance¶
Select options from pull-down menus to configure your instance.
The following example shows an instance with options already selected.
From Instance family, select your choice.
From Instance Type, select your choice.
Note
Optionally, select Compare instance types to compare instances’ specifications.
From Machine image, select your choice.
In Instance name, enter a name in lowercase. Optional: Use hyphens.
Under Public Keys, select checkbox for SSH public keys added previously.
Click on Launch to launch an instance.
View the column State.
Wait for for State to show Ready.
To continue, choose one option:
Follow the next section to understand states.
Skip to the next section and launch.
Instance States¶
State reflects the status of a comptue instance.
Provisioning¶
After launching an instance, State shows Provisioning in the dashboard.
Wait until State shows Ready.
Ready¶
When State shows Ready (as below), you may launch your instance.
A connection is established with the host.
Continue to Connect to an Instance.
Connect to an Instance¶
To proceed, your instance must show Ready in the dashboard.
Under Instance Name, click on your instance name.
Instance details are displayed below.
Select How to Connect.
A new pop-up dialog appears:How to connect to your instance.
Follow the onscreen instructions in the dialog.
Select your operating system (OS).
Follow instructions.
Copy the command shown to connect to your instance.
Open a command line interface (CLI).
In the CLI, paste the command you copied and press enter.
If prompted to add your public key, select Yes.
After launching instance, run command to confirm Ubuntu 22.04 (or other).
cat /etc/os-release
Your CLI output should appear similar to the one below.
Edit an Instance¶
Navigate to My instances from main console.
Assure that your instance appears.
With your instance, select Edit under Actions.
In the page “Edit Instance”, modify settings as desired.
Example - Upload Public SSH Key¶
Select Create Key.
A dialog, “Upload a Public Key”, appears.
Follow all instructions in the dialog.
Finally, select Create Key.
Update OS and add packages¶
While in an SSH session, you can add Ubuntu 22.04 packages and update your OS.
To update and upgrade your OS, enter one command at a time.
sudo apt-get update -y sudo apt-get upgrade -y
Add net-tools or curl
sudo apt-get install net-tools
sudo apt-get install curl
Delete an Instance¶
From My instances, in main console, assure that your instance appears.
Under Actions, select the Delete button.
At the dialog “Delete instance”, select Delete to confirm your choice.
Select Cancel if you do not wish to delete your instance.
Warning
During Phase 1, you cannot pause an instance.