Linode, LLC is an American privately-owned cloud hosting company that provides virtual private servers

In this lab we will practice creating a Linux virtual machine in Linode cloud

Get free $100 credit for 60 days by using below link to signup and add you credit card details.

You will not be charged during trial as long as you keep your expense below $100.

Note: we will get commission when you use above link

Shared CPU Compute Instances are our most affordable virtual machines that offer a significant price-to-performance ratio.

They provide a well balanced set of resources that are ideal for a wide range of applications.

While most of our other Compute Instance types are equipped with dedicated CPUs, Shared Instances are not.

This means that CPU resources are shared with other Compute Instances and a small amount of resource contention is possible.

Shared plans are ideal for development servers, staging servers, low traffic websites, personal blogs, and production applications that may not be affected by resource contention.

Recommended Workloads

Shared CPU Compute Instances are suitable for general workloads that value cost over maximum performance:

Pricing

Pricing starts at $5 per month for a Shared CPU Compute Instance with 1 vCPU core, 1 GB of memory, and 25 GB of SSD storage.

Review the Pricing page for additional plans and their associated costs.

Additional Technical Specifications

In addition to the resources allocated to each available plan (outlined above), Shared CPU Compute Instances have the following specifications:

Shared vCPU cores

Services Included at No Extra Cost

Linode bundles the following services with all Compute Instances:

image

Click create linode button


Select the linux image you want to use for your VM.

imageChoose the region where you would like your Linode to reside.

Click on Shared CPU and select Nanode 1 GB

imageChoose a linode label this is used to refer this VM in future.

Create a root password for your Linode in the Root Password field.

This password must be provided when you log in to your Linode via SSH.

The password must meet the complexity strength validation requirements for a strong password.

Your root password can be used to perform any action on your server, so make it long, complex, and unique.

image

Leave other settings default and click create Linode

After few seconds you will be redirected to a new page.

imageWait for status to change from Provisioning to Running imageCopy IP address once status change to Running

Use IP from VM resource panel to connect to VM via SSH from cloud shell

Use terminal for mac or SSH client of your choice

ssh root@<VM IP>

You will get below prompt type ‘yes’ and press enter

The authenticity of host '45.33.34.138 (45.33.34.138)' can't be established.
ED25519 key fingerprint is SHA256:UQkTC0GZbjQnr5eafhaVTo4+/g4/cvzUDmj9U8Agxh0.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])?

Once connection is successful it will ask you for password. Use password from previous step

Warning: Permanently added '45.33.34.138' (ED25519) to the list of known hosts.
[email protected]'s password:

You will get below banner and prompt from VM

Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-25-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Apr 27 06:55:51 AM UTC 2022

  System load:           0.60791015625
  Usage of /:            9.8% of 24.05GB
  Memory usage:          16%
  Swap usage:            0%
  Processes:             103
  Users logged in:       0
  IPv4 address for eth0: 45.33.34.138
  IPv6 address for eth0: 2600:3c01::f03c:93ff:fee0:4ec4

The list of available updates is more than a week old.
To check for new updates run: sudo apt update


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

You are connected to your server and can install your application now.

You can manage your VM by clicking on its label

imageHere you can Power Off, Reboot or make changes to VM settings image
Delete VM by clicking on three dot and select delete

imageConfirm Delete Linode imageVM will be deleted

Summary

In this lab, you learned how to create a Linux VM using the Linode portal.

You then connected to the public IP address of the VM and managed it over SSH.