changed 4 years ago
Published Linked with GitHub

Config VPS

tags: Sitek Deploy
  • Project: Config VPS
  • Goals
  1. Crear VPS
  2. Instalar paquetería base
  3. Configuración de seguridad, usuarios y carpetas
  4. Obtener Snapshot
  • Collaborators:
    • Executing (MX)

      Juan Solórzano

    • Reviewing (MX)

      Moisés Navarro

  • Provider: Hetzner
  • Hetzner Group: Sitek Deploy
  • Location VPS: Nuremberg
  • Reference: - Hetzner group Cloud Console

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Tasks

Deploy VPS steps:

  • 1 Crear VPS
    • 1.1 Location: Nuremberg
    • 1.2 Image: Debian 10
    • 1.3 Type: Standard Local(NVMe SSD) CPX11
    • 1.4 Additional features: Backups
    • 1.5 SSH key: jmsolorzano@linuxpc | moisalejandro@gmail.com
    • 1.6 Name: sitek-base
    • 1.7 Enable protection
  • 2 Instalar paquetería base
    • 2.1 Instalar Git
    • 2.2 Instalar Vim
    • 2.3 Instalar Docker
    • 2.4 Instalar Docker-compose
  • 3 Configuración de seguridad y usuarios
    • 3.1 Crear usuario manager
    • 3.3 Agregar usuario manager al grupo root y docker
    • 3.2 Crear carpeta /dockers asignada $HOME manager
    • 3.3 Crear sub-carpetas /instances y /nginx
    • 3.4 Configurar usuario manager sudo sin contraseña
    • 3.5 Agregar ssh keys a manager folder home desde root
    • 3.6 Deshabilitar SSH para root user
    • 3.7 Deshabilitar desconexión por tiempo ClientAliveInterval y ClientAliveCountMax
    • 3.4 Instalar UFW -Activar Auto-Run -Habilitar puerto 5001, 9001, SSH, 80 y HTTPS
    • 3.5 Instalar Fail2Ban -Activar Auto-Run
    • 3.6 Crear token de DockerHub e instalar para descargar globalsitek/odoo:13.0
  • 4 Instalar Herramientas
    • 4.1 Instalar portainer
    • 4.2 Instalar nginx - crear network nginx-proxy
    • 4.3 Ejecutar configuración para github y gitlab

Notes

El control de las VPS se llevará por medio de un API Master en la instancia de globalsitek.

Select a repo