Comenzando

Welcome to DownToZero Cloud! This guide will walk you through the steps to get started with our cloud services. Whether you’re a beginner or an experienced user, this guide covers the essential steps to begin leveraging the power of DownToZero Cloud.

Step 1: Create an Account

To begin using DownToZero Cloud, you first need to create an account:

  1. Ve a DownToZero Cloud Signup.

    Formulario de registro
  2. Introduce tu correo electrónico y contraseña

  3. Haz clic en el botón Registrarse

  4. Una vez registrado, puedes iniciar sesión a través de DownToZero Cloud Login.

For cURL, please sign up via the Web UI, then generate an API key for API access.

  1. Ve a New API Key.

    muestra el diálogo para crear una clave API

    Haz clic en el botón Create API key

  2. Exporta la clave API generada

    export DTZ_API_KEY=apikey-sample1234
    

Step 2: Enable the Container Services

  1. Habilita los Container Services

    resalta el botón para habilitar el servicio de contenedores
  2. Abre los Container Services

    muestra la vista general de Container Services
  1. Habilita Container Services

    curl -X 'POST' -H "X-API-KEY: $DTZ_API_KEY" 'https://containers.dtz.rocks/api/2021-02-21/enable'
    

Step 3: Deploy NGINX as a service

  1. Selecciona la sección Services

    resalta la sección de servicios en la navegación superior
  2. Haz clic en Create Service

    resalta el botón crear servicio en la interfaz
  3. Introduce los detalles del servicio para NGINX

    resalta el formulario de creación de servicio en la interfaz

    3.1. El prefijo debe establecerse en /. 3.2. La imagen debe establecerse en nginx. 3.3. Haz clic en Create Service.

  4. En la Vista General del Servicio, el nuevo servicio aparece con un enlace al servicio

    resaltado el enlace del servicio en la interfaz
  1. Crea el servicio

    curl -X 'POST' \
    'https://containers.dtz.rocks/api/2021-02-21/service' \
    -H 'Content-Type: application/json' \
    -H "X-API-KEY: $DTZ_API_KEY" \
    -d '{"prefix": "/","containerImage": "nginx"}'
    
    This returns the following JSON.
    {
        "contextId": "context-fxev27jf",
        "enabled": true,
        "serviceId": "service-ibok4vnd",
        "created": "2025-08-30T09:29:09.739001675Z",
        "updated": "2025-08-30T09:29:09.739002547Z",
        "prefix": "/",
        "containerImage": "nginx"
    }
    

Step 4: Verify the deployment

  1. En la Vista General del Servicio, haz clic en el enlace del servicio

    resaltado el enlace del servicio en la interfaz
  2. Verifica el despliegue de NGINX

    muestra una página de bienvenida generada por nginx
  1. Obtén el dominio generado para tu contexto.

    curl -H "X-API-KEY: $DTZ_API_KEY" 'https://containers.dtz.rocks/api/2021-02-21/domain'
    
    This returns the following JSON.
    [{
        "contextId": "context-fxev27jf",
        "name": "fxev27jf.containers.dtz.dev",
        "verified": true,
        "created": "2025-08-30T08:45:26.656377567Z",
        "updated": "2025-08-30T08:45:26.656378477Z"
    }]
    
  2. Usa el valor name como el dominio para verificar tu despliegue.

    curl "https://DOMAIN_NAME"
    

With this guide, you’re ready to start using DownToZero Cloud! Should you encounter any issues or have questions, please reach out to our support team at contact@downtozero.cloud.