@masoudin great!
BTW, when I tried to offload existing media the process got constantly stuck. So I deleted manually from options table to continue the process. But later I realised that content from Elementor pages did not get updated properly, so now I have broken images and broken links to pdf files on the site.
I tried to solve this by creating redirect from /wp-content/upload/2025/02/file.pdf to https://bucket.s3.eu-central-1.amazonaws.com/2025/02/file.pdf but this also doesn’t work, since I noticed that path on bucket contains extra folder after /YEAR/MONTH/ with random numbers.
Is there any solution for this, or I have to manually fix all the links now?