Skip to main content
In Production 2026 infraestructura

Automated Linux Server Provisioning & Hardening

Role: Author & Sysadmin
15 steps Idempotent automated provisioning and hardening steps
~900 Lines of defensive shell scripting tested across production machines
Network Isolation Remediation of default container daemon UFW port bypass behavior
Production Foundation deployed across bare-metal, Proxmox, and cloud servers

Systems Philosophy & Purpose

An idempotent Bash provisioning foundation engineered to turn fresh Ubuntu or Debian installations into security-hardened, production-ready systems capable of hosting critical workloads and containers in minutes. Applied across bare-metal dedicated servers, Proxmox VE hypervisors, and cloud instances.

Security & Operational Controls Implemented

  • Perimeter Defense & Strict SSH: Password authentication revoked, PAM interactive login disabled, strict SSH key authorization enforced, and port reallocated to neutralize automated scanning botnets.
  • Firewall & Container Network Isolation: Restrictive default UFW policies paired with custom iptables/ufw chain rules to eliminate default container runtime bypasses that expose internal ports to the public internet.
  • Segmentation & Secure VPNs: Encrypted overlay networking and private administration tunnels with Tailscale, shielding management ports from the public internet.
  • Collaborative Threat Intelligence: Automated CrowdSec integration for proactive blocking of brute-force attackers, bad actors, and coordinated distributed scans.
  • Kernel-Level Hardening (sysctl): Network stack parameters tuned to resist SYN floods, IP spoofing, and resource exhaustion.
  • Observability & Maintenance: Automated security patch cycles with unattended-upgrades, container management via Portainer, and telemetry instrumentation for continuous health and performance monitoring.
Architecture Deep Dives

Engineering Notes & Systems Design

Technical trade-offs, performance benchmarks, and lessons learned building mission-critical software.