Servidores de juegos
Rust
Despliega un servidor dedicado de Rust por API
6 GB
RAM
400%
CPU
20 GB
Disco
Qué es Rust
Rust es un juego de supervivencia multijugador brutal. Aprovisiona un servidor dedicado, automatiza los wipes y escala la CPU para grandes poblaciones — todo desde la API.
Los valores de arriba son un punto de partida recomendado — ajusta RAM, CPU y disco por llamada API y escala cuando quieras.
Despliega Rust con el SDK
deploy.ts
import { CloudClient } from "@enzonic/cloud-api";
const cloud = new CloudClient({ apiKey: process.env.CLOUD_API_KEY! });
// Resolve the Rust egg by name (ids vary per panel)
const eggs = await cloud.eggs();
const egg = eggs.find((e) => e.name.includes("Rust"))!;
const server = await cloud.servers.create({
name: "rust-1",
eggId: egg.id,
region: "USA",
ramMb: 6144,
cpuPercent: 400,
diskMb: 20480,
});
await cloud.servers.power(server.id, "start");O con REST (curl)
deploy.sh
# 1. Find the Rust egg id
curl -s https://cloud.api.enzonic.com/v1/eggs \
-H "Authorization: Bearer $CLOUD_API_KEY"
# 2. Create the server (replace EGG_ID with the id from step 1)
curl -X POST https://cloud.api.enzonic.com/v1/servers \
-H "Authorization: Bearer $CLOUD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "rust-1",
"eggId": EGG_ID,
"region": "USA",
"ramMb": 6144,
"cpuPercent": 400,
"diskMb": 20480
}'Gestiónalo por completo
Una sola clave gestiona el encendido, la consola, los comandos y los archivos.
// Power, console & files — all from the one key
await cloud.servers.power(server.id, "restart");
await cloud.servers.command(server.id, "say Hello from the API");
const usage = await cloud.servers.resources(server.id);Relacionados
Despliega Rust en segundos
Crea una cuenta, obtén una clave API y despliega por código.
Empezar gratis