Command-line interface for Neterial services.
Linux, macOS (brew), and Windows WSL:
curl -sSL https://get.neterial.cloud/cli.sh | bashRead INSTALL.md for details and alternative ways to install.
# Login
neterial auth login
# Add your SSH key (for git push deployments)
neterial ssh-key add --auto-detect
# Connect your cloud (aws or hcloud)
neterial provider init hcloud
# Create your first VM
neterial infra create vm --cloud hcloudNow you can deploy your apps using git push or use your VM as a Kubernetes cluster.
Login to your Neterial account:
neterial auth loginLogout:
neterial auth logoutCheck your connected clouds:
neterial provider listYou need to have a Hetzner Cloud account. If you don't have one yet, you can register with our referral link and receive €20 in Hetzner Cloud credits.
Read how to create an API token in Hetzner Cloud
Connect your cloud by adding a Hetzner Cloud API token:
neterial provider init hcloudRead how to add AWS credentials
Connect your cloud by adding AWS credentials:
neterial provider init awsAdd your SSH public key to enable git push deployments.
The --auto-detect flag tries to discover your SSH key automatically:
neterial ssh-key add --auto-detectOr specify a key file:
neterial ssh-key add ~/.ssh/id_ed25519.pubList your SSH keys:
neterial ssh-key listDelete an SSH key:
neterial ssh-key delete <key-id>Create with default settings:
neterial infra create vmSet name and cloud provider (hcloud or aws):
neterial infra create vm --name [VM_NAME] --cloud [CLOUD]Set location:
neterial infra create vm --cloud hcloud --location ash
neterial infra create vm --cloud aws --location us-east-1neterial infra get vmsneterial infra delete vm --name [VM_NAME]You can choose the VM type when creating to control compute capacity:
neterial infra create vm --name [VM_NAME] --vm-type [VM_TYPE]Get kubeconfig for the default VM:
neterial infra get kubeconfigGet kubeconfig for a specific VM:
neterial infra get kubeconfig --cluster [VM_NAME]Then access your cluster:
kubectl get nodesView the Kubernetes nodes in your cluster:
neterial infra get nodes --cluster [VM_NAME]Deploy your apps using git push. First, add your VM as a git remote:
git remote add neterial git@git.[WORKLOAD_HOSTNAME]:[APP_NAME].gitThen push to deploy:
git push neterial mainYour app will be available at https://[APP_NAME].[WORKLOAD_HOSTNAME].
Use neterial infra get workload-hostname to get your VM's hostname.
Each VM includes a pre-installed container registry for storing your Docker images.
Get container registry credentials:
neterial infra get registryGet registry for a specific VM:
neterial infra get registry --name [VM_NAME]Get credentials and automatically run docker login:
neterial infra get registry --docker-loginGet only the registry hostname:
neterial infra get registry --hostnameEach VM has a unique hostname. Your deployed apps are available at subdomains of this hostname, e.g., https://myapp.[WORKLOAD_HOSTNAME].
Get the workload hostname:
neterial infra get workload-hostname --cluster [VM_NAME]
⚠️ Warning: This operation will permanently remove your Neterial account. You will still have access to your VMs, but you will no longer be able to manage them using the Neterial platform.
neterial account delete