Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model block devices #12

Open
ianunruh opened this issue Nov 2, 2013 · 0 comments
Open

Model block devices #12

ianunruh opened this issue Nov 2, 2013 · 0 comments
Labels

Comments

@ianunruh
Copy link
Contributor

ianunruh commented Nov 2, 2013

We should consider modeling block devices that can be attached to managed instances.

IMPORTANT: This will only work with an instance that is clustered (like a MySQL slave). Otherwise, there will be service downtime.

Instance replacement workflow w/ block devices

  1. Provision a new instance, bring instance to setup stage
  2. Inform dependent instances that the old instance is going away
  3. Bring old instance to undeploy stage
  4. Detach volume from old instance, wait until volume is detached
  5. Attach volume to new instance
  6. Bring new instance to the deploy stage
  7. Inform dependent instances that the new instance is ready
  8. Terminate old instance

Sequence diagram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant