New Stack scalingo-22

February 20, 2023 - 2 min read
New Stack scalingo-22

What is a Stack?

Scalingo provides a curated and maintained operating system image known as a Stack, usually built upon a popular Linux distribution such as Ubuntu.

Applications developed for Scalingo are meant for a specific Stack, and the process of transforming the app's source code into an executable format that works with that Stack is carried out by buildpacks.

What about scalingo-22?

At Scalingo we want to provide the most secure and up-to-date environment for our customers to focus exclusively on their business issues.

Our newer Stack, scalingo-22 based on Ubuntu 22.04 (jammy) is available from today on our platform. It is not yet the default one but it will be from the 27th of February 2023 for all new applications. Note that all buildpacks officially supported by Scalingo are compatible with this new Stack.

If your applications is still on scalingo-20, don’t worry this Stack will not be dropped yet. Being based on Ubuntu 20.04, Scalingo will support the Stack scalingo-20 until the end of its official support in April 2025.

If you want to migrate your application using scalingo-20, we explain how to do so in the next section.

How to migrate an existing application to use scalingo-22

From the dashboard, you can see (and change!) the Stack used by an application in your application's settings, in the "Management" subsection.

A guide to test the migration to a new Stack is available on our Scalingo documentation. Here is an excerpt of this page.

Create a Review App containing a scalingo.json:

{
  "stack": "scalingo-22"
}

With such a file, the deployed Review App uses the new scalingo-22 Stack. Make sure your Review App successfully deploys and works trouble-free. Eventually switch your main application to the scalingo-22 Stack with:

scalingo --app my-app stacks-set scalingo-22

And redeploy your application:

git commit --allow-empty -m "Upgrading to scalingo-22"
git push scalingo master

Your application is now using the latest Ubuntu long-term support version!🙌

scalingo-22: stability and security improvement for developers

At Scalingo we are committed to providing you with the best platform possible. The release of the new Stack named "scalingo-22" by Scalingo is therefore an important step for developers using the platform.

This latest Stack provides to our users a curated and maintained operating system image that offers improved stability, performance, and security. It will enable developers to build and run their applications with confidence, knowing that they are using a reliable and well-supported environment.

Share the article
Méderic Bazart
Méderic Bazart
Méderic is Software Engineer at Scalingo in the Infrastructure Team.

Try Scalingo for free

30-day free trial / No credit card required / Hosted in Europe