Step 1: Prerequisites
Before you begin, ensure the following:
- You have an active Akash wallet and some AKT tokens for deployment.
- The
akash
CLI is installed and configured. - Docker is installed for testing the JetBrains Hub container locally (optional but recommended).
Step 2: Test JetBrains Hub Locally
To verify that the Docker image works as expected:
Access JetBrains Hub at http://localhost:8080
in your browser. Follow the initial setup wizard if necessary.
Step 3: Create an SDL Template
Here’s a sample SDL template for deploying JetBrains Hub on Akash. Replace placeholders with appropriate values, such as your wallet address.
deploy.yaml
Step 4: Deployment Steps
-
Validate the SDL File
Run the following command to ensure your SDL file is correctly formatted: -
Create a Deployment
Use the Akash CLI to create a deployment: -
Wait for Bidding
Monitor the status of your deployment using:Once a bid is matched, you’ll need to approve it.
-
Approve the Lease
Approve the lease using: -
Retrieve Access Details
After deployment, find the public IP of your service:Look for the service URI under the
services
section.
Step 5: Configure JetBrains Hub
- Access the JetBrains Hub URL using the public IP or domain assigned by Akash.
- Complete the setup wizard by configuring the database, admin account, and other settings.
Optional: Backup and Persistent Data
If you want to enable persistent backups for your JetBrains Hub instance:
- Mount a volume to
/data/backups
in the SDL file. - Use Akash’s persistent storage (requires configuring storage profiles).
This guide deploys JetBrains Hub on Akash in a scalable, cost-effective way. Let me know if you need further assistance!