DỊCH VỤ 05/06 · SETUP-SERVER

Setup server từ đầu — cho project custom.

Khi hosting có sẵn không đủ. Setup VPS/Cloud/dedicated từ OS-level: Ubuntu/CentOS, Nginx/Apache, MySQL/Postgres, Redis, SSL, firewall, monitoring, backup tự động lên S3.

Khi project cần stack non-standard hoặc compliance đặc thù, setup server từ đầu là bước bắt buộc. Web22 setup turnkey trong 2-5 ngày tùy độ phức tạp.

Stack điển hình

  • OS: Ubuntu 22.04 LTS hoặc Rocky Linux 9. Hardening cơ bản — disable root SSH, tạo non-root user, SSH key only.
  • Webserver: Nginx (mặc định) hoặc OpenLiteSpeed (cho WP). Cấu hình rate limit, gzip/brotli, HTTP/2.
  • Database: MySQL 8 hoặc MariaDB 10.11. Tuning my.cnf theo RAM. Postgres 15+ cho project Django/Strapi.
  • Cache: Redis cho object cache + session. Memcached cho legacy app.
  • Runtime: PHP 8.2+ FPM, Node.js 20+ LTS, Python 3.11+.

Security baseline

  • UFW firewall: chỉ mở 22 (SSH custom port), 80, 443.
  • Fail2ban: auto-block SSH brute force.
  • Cloudflare proxy: hide IP gốc, DDoS protection free tier.
  • SSL Let’s Encrypt: cron auto-renew 90 ngày.
  • Audit log: rsyslog forward sang central log server hoặc CloudWatch/Datadog.

Backup & Monitoring

  • Backup database hàng giờ, file hàng ngày → S3/Backblaze B2.
  • Retention: 7 ngày daily + 4 tuần weekly + 12 tháng monthly.
  • Monitoring: UptimeRobot/Pingdom HTTP check 1 phút.
  • Resource monitor: Netdata (free) hoặc Datadog (paid).
  • Alert qua email/Slack/Telegram khi service down hoặc CPU/RAM/disk vượt 80%.

Khi không cần setup từ đầu

  • WordPress site → managed WP hosting tiết kiệm hơn 30-50%.
  • Static site → Vercel/Netlify free tier đủ.
  • Shop nhỏ < 100 đơn/ngày → shared hosting hoặc VPS basic có sẵn.
PHẠM VI // 06

Một dịch vụ — sáu mặt trận đồng thời.

01 / OS

OS hardening

Ubuntu 22.04 LTS hoặc Rocky Linux 9. SSH key only, custom port, non-root user, automatic security update.

  • SSH hardening
  • UFW firewall
  • Fail2ban
  • Auto security update
02 / RUNTIME

Runtime stack

PHP 8.2/Node 20/Python 3.11/Go/Ruby tùy stack. Webserver Nginx hoặc Apache hoặc Caddy.

  • PHP-FPM
  • Node.js LTS
  • Python venv
  • Nginx + reverse proxy
03 / DB

Database tuning

MySQL/MariaDB hoặc PostgreSQL. my.cnf/postgresql.conf tuning theo RAM. Slow query log + index optimization.

  • MySQL 8
  • PostgreSQL 15
  • Redis
  • Memcached optional
04 / OPS

CI/CD + IaC

Deploy script (rsync/git pull/Docker), GitHub Actions/GitLab CI runner, Terraform IaC code cho cloud.

  • Deploy script
  • GitHub Actions
  • Docker compose
  • Terraform
05 / OBS

Monitoring + alert

UptimeRobot HTTP check, Netdata server metrics, log aggregation (Loki/Datadog), alert email/Slack.

  • UptimeRobot
  • Netdata
  • Log aggregation
  • Alert routing
GÓI DỊCH VỤ // 03

Setup Basic

1 lần · 2-3 ngày
5.000.000₫ /lần
  • OS hardening Ubuntu/Rocky
  • Nginx + 1 runtime (PHP/Node/Python)
  • MySQL hoặc PostgreSQL
  • Let's Encrypt SSL
  • UFW firewall + Fail2ban
  • Backup daily 7 ngày
  • Multi-instance|x Load balancer
Đặt setup

Setup Advanced

1 lần · 5-7 ngày
15.000.000₫ /lần
  • Tất cả Basic +
  • Docker compose hoặc Kubernetes lite
  • Redis + cache layer
  • Monitoring full (Netdata + UptimeRobot + alerts)
  • Log aggregation
  • CI/CD pipeline (GitHub Actions)
  • Terraform IaC code
  • Documentation + runbook
Đặt setup Advanced

Setup Enterprise

Báo giá riêng · 7-14 ngày
Liên hệ
  • Multi-region cloud (AWS/GCP)
  • Load balancer + auto-scaling
  • Database replication
  • CDN + edge cache
  • Compliance audit (HIPAA/PCI DSS)
  • Disaster recovery plan
  • 24/7 monitoring + on-call
Tư vấn enterprise
FAQ // 06

Câu hỏi hay gặp.

Không có trong này? Hỏi trực tiếp

Khi nào cần setup server từ đầu?

Khi stack non-standard (Next.js + Node, Django + Postgres, Strapi headless), hoặc cần compliance đặc thù (HIPAA y tế, PCI DSS payment), hoặc traffic enterprise >500K visitor/tháng. WordPress site bình thường thì managed WP tiết kiệm hơn.

Có support stack ngoài WordPress không?

Có. Web22 setup được: Next.js/Nuxt + Node + Postgres, Django + Postgres, Laravel + MySQL, Strapi headless, NestJS, Python FastAPI, Ruby on Rails. Báo trước stack cụ thể để chuẩn bị runtime + dependency.

Có dùng Docker/Kubernetes không?

Docker compose: có ở Setup Advanced (1-server hoặc multi-server simple). Kubernetes full: chỉ Setup Enterprise (multi-region, auto-scaling). Cho project <100K visitor/tháng, single-server với Docker compose là sweet spot — không over-engineer.

Có Infrastructure as Code (IaC)?

Có ở Advanced + Enterprise. Terraform code cho AWS/GCP/DO. Lưu trên Git của khách. Khi cần re-deploy, chạy terraform apply tái tạo full infrastructure trong 10-20 phút.

Compliance HIPAA/PCI DSS thì sao?

Setup Enterprise hỗ trợ. Bao gồm: encryption at rest (LUKS/cloud KMS), audit log immutable, access control RBAC, network segmentation, regular vulnerability scan. Audit thực tế cần thuê auditor bên ngoài (SecureSet, KPMG) — Web22 chuẩn bị documentation đáp ứng yêu cầu.

Sau bàn giao, ai maintain?

Tùy chọn: (1) Khách tự maintain với runbook + training của Web22, (2) Web22 maintain hàng tháng từ 2-5tr/tháng tùy độ phức tạp, (3) Hybrid: emergency support theo giờ ($50-100/giờ).

SẴN SÀNG?

Setup server custom cho project của bạn.