📄 Ant Media AMI vs VXG Private Cloud VMS

Ant Media AMI vs VXG Private Cloud VMS


📋 โครงสร้างความต้องการโครงการ (สรุป)

Requirement Target
Stream Source RTSP จาก NVR Dahua/Hikvision/Kenpro
Record Mode 24 × 7, 15-day retention, auto-delete day 16
Storage Amazon S3 (Standard-IA ➜ Glacier Instant)
Scale 1 500 sites × 43 cams ≈ 64 500 streams
Live & Playback Multi-camera Grid, Timeline Search
On-site HW No additional hardware

⚖️ Ant Media AMI vs VXG Private Cloud VMS

Dimension Ant Media Server AMI VXG Private Cloud VMS (SaaS in your AWS)
Deployment Model Amazon Machine Image; คุณเปิด EC2/Auto-Scaling กลุ่มเอง (Amazon Web Services, Inc.) Vendor deploy micro-services stack (≈ 1 hr) ใน AWS Account ของคุณ (VXG Knowledge Base)
RTSP/ONVIF Ingest Stream Source API รองรับ RTSP, SRT, HLS ฯลฯ (Ant Media) Direct RTSP/ONVIF, DVR/NVR, Cloud Gateway, Camera Plugin (VXG Knowledge Base)
S3 Recording Plugin “Record Streams to AWS S3” (ต้องใส่ IAM Key) (Ant Media, Ant Media) “Real-time Object Storage” native; retention ตั้งต่ากล้องได้ (VXG Knowledge Base, VXG Knowledge Base)
Retention 15 วัน ใช้ S3 Lifecycle Rule – ต้องตั้งเอง Policy per camera ใน UI; auto-purge ได้
Live Latency WebRTC ≤ 0.5 s, scalable to 10 k+ viewers (Ant Media, Amazon Web Services, Inc.) WebRTC/HLS Adaptive; เหมาะ surveillance (ไม่เน้น sub-second) (VXG Knowledge Base)
Playback UI Basic Management Console – ไม่มี Timeline/Bookmark เหมือน VMS; ต้อง custom White-label Web/Mobile พร้อม Timeline, multi-speed, digital zoom (VXG Knowledge Base, Video Experts Group)
Multi-tenant ต้องสร้างแยก EC2/App logic เอง Built-in Role-based multi-tenant (Amazon Web Services, Inc.)
Scaling 64 k streams Auto-scalable cluster (CloudFormation) แต่ต้องออกแบบ LB/Shard (Ant Media) Micro-services auto-scale; vendor SRE maintains (VXG Knowledge Base)
License/Cost Model Hourly per-instance (-AMI) + Enterprise license per server (Ant Media, Amazon Web Services, Inc.) Monthly per-camera (≈ $1) + AWS infra; S3 ≈ $3/cam/30 d (Amazon Web Services, Inc.)
DevOps Effort Patch/upgrade AMI, monitor cluster, S3 lifecycle script VXG team handles updates; you monitor AWS cost only
AI/Analytics Bring-your-own; SDKs for TensorFlow etc. Built-in hook to Amazon Rekognition per camera (Amazon Web Services, Inc.)
Compliance (Surveillance) Generic streaming engine; need extra audit trail Designed for CCTV (event log, health check, SLA dashboards) (VXG Knowledge Base)

💰 TCO คร่าว ๆ (64 500 cams • 15 d)

Component Ant Media AMI VXG Private Cloud
Compute ประมาณ 90 × c5.xlarge (640 cams/node) ≈ $136 k/mo (Amazon Web Services, Inc.) Micro-service Fargate + vendor sizing: ~$65 k/mo*
License Enterprise Key ~ $25 k/yr (Cluster) (Ant Media) $1 × 64.5 k cams ≈ $64.5 k/mo (Amazon Web Services, Inc.)
S3 Storage ≈ 10.5 PB × $0.0125 = $131 k/mo (Standard-IA) Same (both use S3)
Ops/SRE 1-2 FTE DevOps for patching/alerts 0-0.5 FTE (vendor managed)

*คาดการณ์จาก VXG white-paper: $200/70 cams base cost → linear scaling. ตัวเลขขึ้นกับ commit/discount & Intelligent-Tiering.

🟢 ข้อดีหลัก Ant Media AMI

  1. Full ownership & AMI compliance – ตรงความต้องการ “ต้องเป็น AMI”.

  2. Ultra-low latency – หากต้องการ live view < 1 s (อนาคต adding AI vision).

  3. Protocol versatility – RTSP, SRT, WebRTC, RTMP ในตัวเดียว.

🔴 จุดอ่อนเมื่อเทียบกับ VXG ในบริบท CJ Express

  • No out-of-box Surveillance UI – ต้องพัฒนา Timeline/Bookmark เอง ➜ ระยะ Time-to-Pilot ยาวขึ้น.

  • Retention & health-check scripting – ต้องสร้าง Lambda/CloudWatch เองเพื่อลบหลัง 15 วัน, แจ้งเตือนไฟล์ขาด.

  • DevOps overhead สูง – การอัปเกรด AMI patch ทุก quarter & cluster auto-scale tuning.

  • Per-stream scaling complexity – 64 k publishers ≠ 10 k viewers; ต้องออกแบบ sharding อย่างระมัดระวัง.

📌 คำแนะนำ

สถานการณ์ ทางเลือกที่เหมาะกว่า
ต้องการ AMI 100 % พร้อมทีม DevOps และยอม customize UI เอง Ant Media Server AMI
ต้องการ Go-live เร็ว, UI สำเร็จรูป, manage 1 500 site ง่าย VXG Private Cloud VMS
ต้องการ OSS + AMI + Low-cost POC Shinobi/ZoneMinder AMI (แต่ workload 64 k cams ต้อง tune หนัก)

สำหรับ CJ Express ซึ่งเน้น “Backup & Playback”, ไม่เน้น sub-second live และต้อง rollout 1 500 สาขาเร็ว – VXG จะลดความเสี่ยง (Timeline UI + per-camera retention) และลด DevOps ภาระได้มาก. ถ้า Compliance ด้าน “AMI Only” ไม่ยืดหยุ่น คุณสามารถเริ่ม Pilot 10 site ด้วย Ant Media AMI เพื่อพิสูจน์ว่า cluster design & S3 lifecycle ตอบโจทย์ แล้วค่อยตัดสินใจ Scale-out หรือกลับไปใช้ VXG in-account SaaS.

🔧 หากต้องการ PoC script ลบไฟล์ S3 อัตโนมัติ 15 วัน หรือ Terraform สำหรับ Ant Media Cluster, แจ้งมาได้เลยครับ ผมจัดตัวอย่างให้ได้ทันที!