I intend to run computationally intensive calculations on expensive cloud servers. Setting up the environment (starting Ubuntu server via cloud API, downloading and installing Python/models, downloading input file) takes 10-15 minutes, which causes unnecessary costs at 0.025 cents per minute. I could save a few minutes with a Docker image.
However, I would gladly choose the path via my own server image. Unfortunately, I fail when trying to export a fully configured Ubuntu instance as an ISO image: Instructions on the Internet are limited to individual folders or require software with a GUI, which I would like to avoid in order to be able to automate this process later with a script.
Can anyone help me? Desirable would be a CLI command like makeiso / ~/custom-ubuntu.iso
, the output file of which I can define as an image at cloud server providers.