Skip to content

Magic Castle Sequence Diagrams

The following sequence diagrams illustrate the inner working of Magic Castle once terraform apply is called. Some details were left out of the diagrams, but every diagram is followed by references to the code files that were used to build it.

1. Cluster creation

Cluster Creation Sequence

Notes

  1. puppet-magic_castle.git does not have to refer to ComputeCanada/puppet-magic_castle.git repo. Users can use their own fork. See the developer documentation for more details.

References

2. Configuration with cloud-init

Configuration with cloud-init sequence

Notes

  1. config_git_url repo does not have to refer to ComputeCanada/puppet-magic_castle.git repo. Users can use their own fork. See the developer documentation for more details.
  2. While the diagram represents each step as completed sequentially, each node provisioning is independent. The only step that requires synchronisation between nodes and the management node is the puppet certificate generation.

References

3. Configuration with Puppet

References

4. Configuration with Consul and Consul Template

References