Shantanu,
Let’s sketch out an usecase that I think should address the simpler scenario where:
- You have a spotfleet on AWS
- You maintain external EBS volume(s) per instance in the spotfleet that have the state
- When spotfleet gets a termination recommendation or notice, you immediately start to drain the old one and spin up a new node
- When that new node comes up, you setup (using userdata) with the same “node specific” metadata and attach the relevant external EBS volume(s)
- You essentially have migrated the old node to the new node
Does this properly capture your usecase we can work on or did I lose details/context in the translation?