My Agent Has Been Running for 60 Days. It Has Never Had the Same IP Twice.

go dev.to

The agent runs on a spot instance. Spot instances get reclaimed. When that happens, a new one spins up, the agent restarts, and it gets a different IP address than it had before. For sixty days this has happened repeatedly. Nothing downstream has broken. No other agent has needed reconfiguring. No DNS record has needed updating. Nothing has noticed. This is not because I built clever reconnection logic. It is because the agent's address has nothing to do with its IP. Why IP-based add

Read Full Tutorial open_in_new
arrow_back Back to Tutorials