---
title: Deploying an Ubuntu 20.04 LTS (Focal Fossa) Instance on Scaleway (End of Standard Support in May 2025)
description: In this tutorial, you will learn how to deploy, update, and manage an Ubuntu 20.04 LTS (Focal Fossa) Instance on Scaleway.
tags: Ubuntu focal-fossa
products:
  - instances
dates:
  validation: 2025-03-05
  posted: 2021-12-02
  validation_frequency: 12
difficulty: beginner
usecase:
  - best-practices
ecosystem:
  - scaleway-only
---
import Requirements from '@macros/iam/requirements.mdx'


<Message type="important">
  Ubuntu 20.04 LTS (Focal Fossa) will reach its **End of Standard Support in May 2025**. For security and maintenance reasons, we strongly recommend using a more recent version of Ubuntu for your deployment.

  We recommend using a newer version of Ubuntu, such as Ubuntu 22.04 LTS (Jammy Jellyfish) or later, for your Scaleway Instance. This will ensure you receive the latest security updates and features.
</Message>

Ubuntu is one of the most popular Linux distributions. First released in 2004, Ubuntu quickly became the favorite Linux distribution for users around the world, mostly because it is easy to install and use.

Ubuntu is developed and maintained by the company [Canonical](https://canonical.com/) and a large community. Their commercial and community teams release new versions of the distribution every six months and collaborate to produce a single, high-quality release with long-term support (LTS) every two years.

In this tutorial, you will learn how to deploy an Instance with Ubuntu 20.04 LTS (Focal Fossa) from the Scaleway console and configure it for hosting your apps and websites.

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- An [SSH key](/organizations-and-projects/how-to/create-ssh-key/)
- Basic knowledge of [Linux commands](/dedibox/reference-content/basic-linux-commands/)

## Deploying your Ubuntu Linux Instance from the Scaleway console

1. Click **CPU & GPU Instances** in the **Compute** section of the side menu. The [Instances page](https://console.scaleway.com/instance/servers) displays.
2. Click **Create Instance**. The [Instance creation wizard](https://console.scaleway.com/instance/servers/create) displays.
3. Configure your Instance:
    * Choose an Availability Zone
        * An Availability Zone refers to the geographical location in which your Instance will be created.
    * Select the Instance type
        * Scaleway provides different Instance types, designed for specific use cases. Choose the configuration that fits your requirements.
    * Choose an image for your Instance
        * Select the **Ubuntu 20.04 Focal Fossa** image from the **OS images** tab.
    * Configure the storage options
        * For the ease of this tutorial, leave the default storage options in place.
    * Enter a name and optional tags
        * Tags can help to organize your Instances
    * Check your [SSH key](/organizations-and-projects/how-to/create-ssh-key/) displays in the list of keys authorized to access the Instance.
    * Click **Create Instance** to create the Instance.

Once your Instance is ready, it displays in the list of your Instances.

## Logging into the root account

<Message type="tip">
  The `root` account is the admin user on Linux systems and has full administrative privileges.
  Therefore, it is not recommended to use the `root` account regularly. A malicious command executed as `root` can damage the system, even by accident.
  We recommend that you create a regular user account for daily operations. The steps for doing this are outlined [later in this tutorial](#adding-regular-users-on-ubuntu).
</Message>

1. Click your Instance name on the Instances list. Your Instance's information displays.
2. Navigate to the **SSH command** section and click **Copy** to copy the command into the clipboard.
3. Open a terminal and paste the command in the terminal:
    ```
     ssh root@your_instance_id
    ```
    <Message type="tip">
      A warning about host authenticity appears upon the first connection to the Instance. Accept it to proceed.
    </Message>

## Updating your system

Ubuntu uses the [Advanced Packaging Tool (APT)](https://ubuntu.com/server/docs/package-management) to manage its 60,000+ pre-compiled software packages.
The APT package index is a collection of available packages, and it generates the repositories defined in the file `/etc/apt/sources.list`, and from the directory `/etc/apt/sources.list.d`.

1. Run the following command to update the APT package index:
    ```
    apt update
    ```
2. Upgrade the packages already installed on your Instance to the latest version available in Ubuntu's repositories by running the following command:
    ```
    apt upgrade
    ```

To install additional software packages, use the `apt install` command:
```
apt install packagename
```

<Message type="tip">
  For more information about how to use the APT package manager, run the following command: `apt help`, or refer to our documentation on [how to manage packages](/dedibox/how-to/manage-packages/).
</Message>

## Adding regular users on Ubuntu

As previously mentioned, we do not recommend always connecting to your Instance as root. Instead, create additional regular users to log into your Instance.

1. Run the following command to create a new user, named `scaler`:
    ```
    adduser scaler
    ```
2. Answer the questions, starting with the account password. Make sure to use a strong password and optionally fill in any of the other information. Confirm the response to each question by pressing Enter.
3. Add the users to the **superdoers** group (sudo) to be able to launch administrative tasks from this user, without the need to log in as `root`.
    ```
    adduser scaler sudo
    ```
    You can now run commands with administrative permissions by prefixing your command with `sudo`. For example: `sudo apt upgrade`.
4. Add the public SSH key information for the user by opening the file `~/.ssh/authorized_keys` in a text editor and pasting the public key:
    ```
    nano ~/.ssh/authorized_keys
    ```
    <Message type="tip">
      You can generate your SSH key pair on [Linux or macOS](/organizations-and-projects/how-to/create-ssh-key/#how-to-generate-an-ssh-key-pair-on-osx-and-linux) directly from a terminal. On computers running [Windows](/organizations-and-projects/how-to/create-ssh-key/#how-to-generate-an-ssh-key-pair-on-windows) you can use PuTTYgen to generate your key pair.
    </Message>