|
| 1 | +# Getting Started with Mycelium Cloud |
| 2 | + |
| 3 | +Welcome to Mycelium Cloud, a comprehensive platform for deploying and managing Kubernetes clusters on the decentralized ThreeFold Grid infrastructure. |
| 4 | + |
| 5 | +## Overview |
| 6 | + |
| 7 | +Mycelium Cloud provides a complete solution for cloud-native applications with: |
| 8 | + |
| 9 | +- **Decentralized Infrastructure**: Deploy on ThreeFold Grid's distributed network |
| 10 | +- **Kubernetes Management**: Full K3s cluster deployment and management |
| 11 | +- **IPv6 Networking**: Mycelium peer-to-peer networking |
| 12 | +- **High Availability**: Multi-master cluster support |
| 13 | + |
| 14 | +## Architecture |
| 15 | + |
| 16 | +Mycelium Cloud uses peer-to-peer networking that enables: |
| 17 | + |
| 18 | +- **Direct Node Access**: Each node gets a unique Mycelium IP address |
| 19 | +- **Cross-Node Communication**: Services communicate across nodes using Mycelium networking |
| 20 | +- **Secure Communication**: All traffic is encrypted through the Mycelium network |
| 21 | +- **No Public IPs Required**: Services accessible via Mycelium IPs |
| 22 | + |
| 23 | +**Network Flow**: `User Machine → Mycelium Network → Cluster Node → Service` |
| 24 | + |
| 25 | +## Quick Start |
| 26 | + |
| 27 | +### 1. Account Setup |
| 28 | + |
| 29 | +1. **Sign Up**: Create your account from signup page |
| 30 | +2. **Verify Email**: Check your email and verify your account |
| 31 | +3. **Add Funds**: Navigate to your dashboard and add credits to your account |
| 32 | +4. **Add SSH Key**: Navigate to Add SSH card and upload your public SSH key |
| 33 | + |
| 34 | +### 2. Deploy Your First Cluster |
| 35 | + |
| 36 | +1. **Access Deploy**: Click "Deploy Cluster" from your dashboard |
| 37 | +2. **Configure VMs**: Define your virtual machines: |
| 38 | + - Choose CPU, memory, and storage requirements |
| 39 | + - Select the number of master and worker nodes |
| 40 | +3. **Select Nodes**: Choose ThreeFold Grid nodes for deployment |
| 41 | +4. **Review & Deploy**: Confirm your configuration and deploy |
| 42 | + |
| 43 | +### 3. Access Your Cluster |
| 44 | + |
| 45 | +#### Download Kubeconfig |
| 46 | + |
| 47 | +1. Go to dashboard → Clusters → Click download icon (⬇ï¸) |
| 48 | +2. Set kubeconfig: `export KUBECONFIG=/path/to/config` |
| 49 | +3. Test: `kubectl get nodes` |
| 50 | + |
| 51 | +#### SSH Access |
| 52 | + |
| 53 | +1. **Find Mycelium IPs**: Check cluster details page for node IPs |
| 54 | +2. **Download Mycelium Binary**: |
| 55 | + |
| 56 | + ```bash |
| 57 | + wget https://github.com/threefoldtech/mycelium/releases/latest/download/mycelium-private-x86_64-unknown-linux-musl.tar.gz |
| 58 | + tar -xzf mycelium-private-x86_64-unknown-linux-musl.tar.gz |
| 59 | + sudo chmod +x mycelium-private |
| 60 | + sudo mv mycelium-private /usr/local/bin/mycelium |
| 61 | + ``` |
| 62 | + |
| 63 | +3. **Start Mycelium**: |
| 64 | + |
| 65 | + ```bash |
| 66 | + sudo mycelium --peers tcp://188.40.132.242:9651 tcp://136.243.47.186:9651 tcp://185.69.166.7:9651 tcp://185.69.166.8:9651 tcp://65.21.231.58:9651 tcp://65.109.18.113:9651 tcp://209.159.146.190:9651 tcp://5.78.122.16:9651 tcp://5.223.43.251:9651 tcp://142.93.217.194:9651 |
| 67 | + ``` |
| 68 | + |
| 69 | +4. **SSH to nodes**: `ssh root@<mycelium-ip>` |
0 commit comments