How to upgrade OS of EC2 instance without losing data on EBS volumes?
I created an AMI with Packer and Ansible. It uses Ubuntu 20.04 and I installed system libraries, application packages, Docker, Compose, configuration files, and source code. This data was installed on the root device. The storage looks like this: