Magic Castle Deployment Guide - #48
Open
Vismayak wants to merge 2 commits into
Open
Conversation
Created using Claude and personal notes taken on Notion
There was a problem hiding this comment.
Pull request overview
Adds a Magic Castle–based deployment path for running LLMHub on an OpenStack-backed HPC-style Slurm cluster, including an example Terraform configuration and an end-to-end operational guide.
Changes:
- Added Terraform
main.tfdescribing a Slurm + FreeIPA + NFS + login/proxy + GPU node topology for Magic Castle. - Added documentation (
README.md,DEPLOYMENT_GUIDE.md) covering provisioning, verification, LLMHub install/run steps, and security notes.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| devops/magic_castle/README.md | Entry-point documentation describing what the Magic Castle config is and how to use it. |
| devops/magic_castle/main.tf | Example Terraform configuration for Magic Castle OpenStack deployment, plus outputs and optional DNS/proxy blocks. |
| devops/magic_castle/DEPLOYMENT_GUIDE.md | Detailed walkthrough for deploying the cluster and installing/running LLMHub on it. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| } | ||
| } | ||
|
|
||
| public_keys = [file("~/.ssh/id_ed25519.pub")] |
Comment on lines
+68
to
+70
| output "accounts" { | ||
| value = module.openstack.accounts | ||
| } |
Comment on lines
+363
to
+364
| Install Node 22 and pnpm on the login node, then build: | ||
|
|
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces infrastructure-as-code for deploying LLMHub on an HPC cluster using Magic Castle. It adds a new Terraform configuration (
main.tf) and comprehensive documentation to guide users through provisioning and managing the cluster on OpenStack/Radiant. The configuration provisions a Slurm-based cluster with GPU nodes, storage, and optional public access via a Caddy reverse proxy, while the documentation explains setup, customization, and security considerations.New Magic Castle-based deployment for LLMHub:
README.mddescribing the Magic Castle setup, deployment instructions, file purposes, customization steps, SSH access, and security best practices.main.tf, a Terraform configuration defining the cluster topology (Slurm controller, login node, GPU compute nodes, NFS storage), user management, and optional Caddy reverse proxy for public access.Customization and security guidance:
Integration with related LLMHub infrastructure: