AWS lambda that does this:
- Amazon Web Services's
Lightsail is a simple cheap VM with
pip3
installed by default. an HTML terminal will appear - an IAM policy that allows for upload to a publicly accessible, but secret S3 bucket, attached to Lightsail instances
- spin up VM with a startup script to
pip3 install --user youtube-dl
, emit a helper script which invokes youtube-dl, then S3 uploads and prints URL. - kill machine in lightsail UI, download video locally, remove in S3 aws console
make this a lambda, good reason to learn Rust