Build a URL Shortener: Deployment & Production
Deploy URL shortener lên production với Docker, GitHub Actions CI/CD, Prometheus monitoring và Grafana dashboards. Bao gồm multi-stage builds, health checks, structured logging và production hardening.
Tất cả bài viết với thẻ "devops"
Deploy URL shortener lên production với Docker, GitHub Actions CI/CD, Prometheus monitoring và Grafana dashboards. Bao gồm multi-stage builds, health checks, structured logging và production hardening.
Đăng ký tên miền riêng trên Hostinger, cấu hình DNS records trỏ về VPS, setup redirect www sang apex domain trong Nginx, xác nhận SSL coverage, và hoàn thành checklist post-launch với Google Search Console và social sharing previews.
Làm chủ Dockerfile, multi-stage builds và Docker Compose cho ứng dụng multi-container. Học viết Dockerfile production-ready, tối ưu image size và điều phối full-stack apps.
Deploy blog Next.js đã Docker hóa lên Ubuntu VPS trên Hostinger. Setup SSH keys, cài Docker, cấu hình Nginx reverse proxy, lấy SSL miễn phí với Let's Encrypt, và tự động hóa quy trình re-deploy không downtime.
Containerize blog Next.js và PostgreSQL database với Docker Compose. Xây dựng multi-stage Dockerfile, cấu hình dev và production overrides, chạy migrations khi khởi động, và test mọi thứ locally trước khi deploy lên VPS.
Hiểu sâu API gateway: khái niệm, cách hoạt động, routing, authentication, rate limiting, request aggregation, circuit breaking, và thực hành với Kong, AWS API Gateway, Spring Cloud Gateway.
Triển khai ứng dụng Spring Boot với Docker và Kubernetes. Tìm hiểu multi-stage Dockerfiles, layered JARs, Docker Compose cho development, Kubernetes manifests, ConfigMaps, Secrets, health probes với Actuator, và Horizontal Pod Autoscaling.
Nắm vững reverse proxy: forward vs reverse proxy, cách hoạt động, SSL termination, caching, load balancing, security benefits, WebSocket support, và thiết lập thực tế với Nginx, Traefik, Caddy cho production deployments.
Làm chủ UFW (Uncomplicated Firewall) trên Ubuntu — từ cài đặt, cấu hình rule cơ bản đến các mẹo bảo mật VPS thực chiến.
Hướng dẫn sử dụng VS Code Remote-SSH để lập trình trên server từ xa với đầy đủ trải nghiệm IDE. Bao gồm cài đặt, cấu hình, mẹo hay và các workflow phổ biến cho remote development hiệu quả.