The goal of this topic is to enable you to self-update your instances on the OUTSCALE Cloud, for every supported operating system (OS). For more information, see Official OMIs Reference.

The update process can be long, especially if you have never run it. This process can be shortened by running it regularly and automatically. 

  • The following procedures are your own responsibility. They are safe, but some applications may require specific versions of packages to work properly. 
  • It is recommended to create snapshots of your volumes before updating your OS in order to be able to restore the instance into a previous state if your application did not support the OS update. For more information, see Creating a Snapshot of a Volume.

Related Page

Linux

For Linux, you can automate updates with a cron job.

CentOS

  1. Connect to your instance in SSH. For more information, see Accessing Your Instances.

  2. Run the following command:

    $ sudo yum update

     You can add the -y parameter to accept any inquiry from the command line as yes

    $ sudo yum update -y


    Your CentOS instance OS is updated.


Ubuntu

  1. Connect to your instance in SSH. For more information, see Accessing Your Instances.

  2. Run the following command:

    $ sudo apt-get update
  3. Once your repositories are up to date, upgrade your packages using the following command:

    $ sudo apt-get upgrade
    • Major Ubuntu package upgrades can be installed using the following command: 

      $ sudo apt-get dist-upgrade
    • You can add the -y parameter to accept any inquiry from the command line as yes, as for CentOS updates.

    Your Ubuntu instance OS is updated.


Windows Server

For Windows Server, you can enable the Automatic Update option.

  1. Connect to your instance. For more information, see Accessing a Windows Instance.

  2. Go to the Update & security section, in the Windows Settings panel:



  3. In the Update & security section, click Check for updates.
    The updates are automatically downloaded and installed.

  4. (optional) Restart your instance if needed.

    Your Windows Server instance is updated.




Windows® is a registered trademark of Microsoft Corporation in the United States and/or other countries.