Saltar al contenido principal
Soporte
0
Contacta con nosotros
English
Nederlands
Deutsch
Servidores dedicadosFlexible VPSTecnología de nubeUbicación compartidaDesafíos en TISectoresCareers
Cloud Compute

Con Cloud Compute, tendrás acceso a un portal desde el que podrás configurar todo tu entorno informático en cualquier momento y desde cualquier lugar del mundo.

Almacenamiento en la nube

Acceso fiable a tus archivos, infraestructura y aplicaciones en todo momento, sin interrupciones ni retrasos. En Worldstream, ofrecemos una gran variedad de soluciones de almacenamiento.

Flexible cloud icon
Nube flexible
Private cloud icon
Nube privada
Bare metal icon
Bare Metal Compute
Hollow cube icon
Almacenamiento de objetos
Hollow cube icon
Almacenamiento de archivos
Block storage icon
Almacenamiento en bloque
Backup storage icon
Almacenamiento de copias de seguridad
¿Necesitas soporte?

Con ingenieros experimentados y un tiempo medio de respuesta de 7 minutos, puedes esperar una solución de soporte técnico sólida muy rápida.

Soporte
Todos los servidores

Elige tu servidor dedicado ahora. Configuración personalizada o entrega inmediata. Servidores potentes diseñados para tu caso de uso.

Casos de uso

Sea cual sea tu caso de uso, te ayudamos a encontrar la solución adecuada.

Deal servers icon
Ofertas
AMD servers icon
Servidores AMD
AI servers icon
Servidores Intel
Hollow cube icon
Virtualización, Contenerización y Orquestación
Hollow cube icon
Sitios web y aplicaciones
Hollow cube icon
Infraestructura para gaming y streaming

Soporte 24/7/365 con un tiempo medio de respuesta de solo 7 minutos. Gracias a nuestros propios centros de datos, nuestros ingenieros pueden acceder directamente a tu servidor para ofrecer soporte rápido y directo. Contáctanos por correo o teléfono en cualquier momento.

Soporte
Externalización inteligente

Algunos aspectos de la TI crean valor añadido, mientras que otros sirven de apoyo. Aprovéchalo como punto de partida para la externalización.

Rentabilidad

Los paquetes informáticos completos pueden parecer la opción segura, pero al considerar los costes, otras opciones suelen tener más sentido.

Flexibilidad y control informáticos

Externalizar no implica perder el control; en realidad proporciona más flexibilidad y control.

Repatriación desde la nube

La nube no es el destino final: debes evaluar y ajustar tu entorno de nube continuamente a medida que cambian las necesidades.

Servicios financieros
Logística y transporte
Venta minorista y comercio electrónico
Medios de comunicación y entretenimiento
Tecnología y desarrollo de software
Seguridad
Proveedores de servicios gestionados
¿Necesitas soporte?

Con ingenieros experimentados y un tiempo medio de respuesta de 7 minutos, puedes esperar una solución de soporte técnico sólida muy rápida.

Habla con nosotrosContacta con nosotros
Acerca de WorldstreamAcerca de la tecnologíaCasosBase de conocimientos
Quiénes somosConoce al equipoTrabaja con nosotrosHazte distribuidorcertificacionesNuestros centros de datosNuestra redProtección DDoSServidores AMD EPYCPartners tecnológicosAcerca de los servidores dedicadosTodos los casosEasyTerraDutch Drone CompanyPerfGridArtículosPreguntas frecuentesNoticias y blogsProductos y servicios
Contacta con nosotros

Llama al +31 (0) 174 – 712 117 Industriestraat 53, Naaldwijk

Contacta con nosotros
Worldstream Portal
English
Nederlands
Deutsch
0
Servidores dedicadosFlexible VPSTecnología de nubeUbicación compartidaDesafíos en TISectoresCareersAcerca de WorldstreamAcerca de la tecnologíaCasosBase de conocimientosMy Worldstream
Contact
Soporte
EnglishNederlandsDeutsch
  1. InicioInicio
  2. Base de conocimientos
  3. Compute
  4. Cloud-init: automating first-boot setup for your VPS

Cloud-init: automating first-boot setup for your VPS

Se aplica a Flexible VPS, Linux distributionsAudiencia Developer, DevOps engineerÚltima revisión September 2026

Respuesta rápida

Cloud-init is the standard tool most Linux cloud images use to run first-boot configuration: setting the hostname, injecting SSH keys, installing packages, and running your own scripts, all before you ever log in. It's an industry-standard, open-source tool, not something specific to any one provider.

What cloud-init actually is

Cloud-init runs automatically the first time a cloud image boots, before you get a login prompt. It reads configuration supplied at creation time and applies it: setting the hostname, creating user accounts, injecting SSH public keys, installing packages, writing files, and running arbitrary commands. Nearly every mainstream Linux cloud image (Ubuntu, Debian, Rocky Linux, AlmaLinux, and others) ships with cloud-init pre-installed, which is why it's become the de facto standard for first-boot automation across cloud providers generally, rather than something tied to any one platform.

What a typical user-data file contains

Cloud-init is driven by a file usually called user-data, written in YAML. The directives you will meet first:

DirectiveWhat it does
packages:A list of packages to install on first boot
write_files:Files to create, with their content and target path, before the machine finishes booting
runcmd:Shell commands to run once, near the end of the first-boot process
ssh_authorized_keys:Public keys to add to the default user's authorized_keys so key-based login works immediately

The file starts with #cloud-config on its own first line, which is how cloud-init recognises it as a config directive file rather than a raw shell script (a plain #!/bin/bash script is also valid user-data, and runs directly, if you'd rather script the whole thing yourself).

Why it matters for repeatable infrastructure

Without cloud-init, first-boot setup means logging in after creation and running the same setup steps by hand, every time. That's slow, and it's easy to get inconsistent results between machines. Cloud-init moves that setup into a declarative file that runs unattended, which means:

  • New servers come up already configured, rather than needing a manual pass after creation.
  • The same user-data file produces the same result every time, which is exactly what infrastructure-as-code workflows depend on.
  • Provisioning tools (Terraform, Ansible, and similar) can generate or template the user-data file per server, so first-boot configuration becomes part of your version-controlled infrastructure rather than a manual runbook.

For the full range of what a user-data file can do beyond the directives above, see the official cloud-init documentation.

Related articles

  • Deploying your first Flexible VPS
  • Creating an SSH key pair
  • Common API automation recipes
¿Te ha resultado útil este artículo?

Informática sólida. Sin sorpresas

Tu socio para la madurez informática
Eliminamos barreras para que puedas correr
Costes previsibles y transparentes

Contacto

  • Industriestraat 53, Naaldwijk
Contacta con nosotros
Worldstream Portal (opens in a new tab)
  • Métodos de pago
  • Abuso
  • Recursos para desarrolladores
  • Centro de operaciones de red
  • Quiénes somos
  • Conoce al equipo
  • Trabaja con nosotros
  • Hazte distribuidor
  • certificaciones
  • Nuestros centros de datos
  • Nuestra red
  • Protección DDoS
  • Servidores AMD EPYC
  • Partners tecnológicos
  • Sistemas operativos
  • Vista general
  • Preguntas frecuentes
  • Casos
  • Noticias y blogs
  • Use Cases
English
Nederlands
Deutsch
English
Nederlands
Deutsch
  • Legal
  • Notificación de vulnerabilidades