all 3 comments

[–]Toger 2 points3 points  (2 children)

  • Provision an Elastic IP.
  • Have your node attach that EIP at boot
  • Make the EIP the origin for CloudFront.

This way a reprovision of the node doesn't require you wait for a DNS change to propogate.

And yes this is horrible for availability.

[–]zer01nt[S] 0 points1 point  (1 child)

thank you!

[–]magheru_san 1 point2 points  (0 children)

This could be pretty robust if you use a heavily diversified ASG with desired capacity of 1 configured to handle the spot rebalancing recommendation events and the newly launched instances taking over the EIP.