Upgrade ubuntu release from 16.04 to 18.04 on ec2 instance safely

0

Hi there, I currently have some ec2 instances running with Ubuntu 16.04.2 LTS. I would like to upgrade them to the newer one. But I'm confused if it would take any risks. Is there a safe method to perform that? Regards,

profile picture
duyl97
feita há um ano1629 visualizações
1 Resposta
0

It depends on what your definition is of "safely".

If you define safely as zero downtime for your app, it may be better to reinstall the app in a new ec2 that uses 18.04 as a base and migrate traffic to the new instance.

If you define safely as an in-place upgrade with expected downtime, then it may be better to create an AMI of your instance, spin up a new ec2 and try the upgrade. If the upgrade works then you can deprecate the old instance.

Instead of 18.04 (Apr 2018), if possible, I would recommend using the latest Ubuntu which is 22.04 (Apr 2022) today. Both are LTS releases which have support for 5 years. The former will have support until 2023 and the latter will have support until 2027.

RB
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas