Lambda might work, but it’s kinda fiddly for this.
I’d go with a simple bash script + AWS CLI to rotate IPs. Store it in user-data so it runs on boot.
yt-dlp aws rotate ip address vm can handle it, but yeah, you’ll need some retry logic for the timeouts.
Here’s a snippet: [pastebin link].
I’d go with a simple bash script + AWS CLI to rotate IPs. Store it in user-data so it runs on boot.
yt-dlp aws rotate ip address vm can handle it, but yeah, you’ll need some retry logic for the timeouts.
Here’s a snippet: [pastebin link].
