Skip to content

Internal CDN (OVH)

Self-hosted CDN solution for internal operations and file management

Overview

The Internal CDN is a self-hosted content delivery network solution built on OVH infrastructure, serving as a replacement for AWS CDN. It provides file storage, delivery, and management capabilities for internal operations and product integrations.

Key Features

  • File Storage & Delivery: High-performance file serving with global distribution
  • File Browser Interface: Web-based file management system
  • Product Integration: Currently used for Shopify product image uploads
  • Internal Operations: Supports various internal file management needs
  • Cost Optimization: Reduces dependency on external CDN services

Architecture

graph TB
    A[Client Applications] --> B[Internal CDN]
    B --> C[File Browser Interface]
    B --> D[Nginx File Server]
    D --> E[OVH Storage]
    C --> E

    F[Shopify Products] --> B
    G[Internal Operations] --> B
    H[Support Tools] --> B

Access Information

CDN Endpoint

File Management Interface

Current Usage

Active Directories

Based on the CDN structure, the following directories are currently in use:

Directory Purpose Last Updated
appgain/ Appgain platform files 02-May-2025
nabolia/ Nabolia platform files 08-Mar-2025
peak/ Peak application files 04-Mar-2025
peakapp/ Peak app files 04-Mar-2025
bashastore/ Bashastore files 27-Mar-2025
images/ General image assets 15-Feb-2025
uploads/ General uploads 27-Jul-2025
test/ Testing files 28-May-2025

Product Integration

  • Shopify Products: Image upload and storage for e-commerce products
  • Internal Operations: File management for various internal processes
  • Development: Testing and staging file storage

Setup & Configuration

Documentation

Technical Stack

  • Infrastructure: OVH Cloud
  • Web Server: Nginx
  • File Browser: Custom file management interface
  • Storage: OVH storage solutions
  • Port: 1982 (for file management interface)

Support Engineer Responsibilities

Daily Operations

  1. File Management: Monitor and manage file uploads and storage
  2. Access Control: Manage user access to the file browser interface
  3. Storage Monitoring: Monitor storage usage and performance
  4. Integration Support: Assist with Shopify product image uploads

Maintenance Tasks

  • Storage Cleanup: Regular cleanup of temporary and unused files
  • Performance Monitoring: Monitor CDN performance and response times
  • Security Updates: Ensure proper access controls and security measures
  • Backup Management: Coordinate with DevOps for file backup strategies

Troubleshooting

  • Upload Issues: Resolve file upload problems
  • Access Problems: Fix authentication and authorization issues
  • Performance Issues: Diagnose and resolve slow file delivery
  • Integration Errors: Support product integration with the CDN

Integration Status

Current State

  • Product Integration: Not yet fully integrated into Appgain products
  • Internal Use: Actively used for internal operations
  • Shopify Integration: Currently supporting Shopify product image uploads

Future Plans

  • Full Product Integration: Planned integration with all Appgain products
  • API Development: Development of CDN APIs for automated file management
  • Performance Optimization: Ongoing optimization for better delivery speeds

Best Practices

File Management

  • Organized Structure: Maintain organized directory structure
  • Naming Conventions: Use consistent file naming conventions
  • Regular Cleanup: Perform regular cleanup of temporary files
  • Access Logging: Monitor and log file access for security

Performance

  • File Optimization: Optimize images and files before upload
  • Caching Strategy: Implement proper caching headers
  • Compression: Enable compression for text-based files
  • CDN Distribution: Leverage OVH's global distribution network

Security

  • Access Control: Implement proper authentication and authorization
  • File Validation: Validate uploaded files for security
  • HTTPS Usage: Ensure all file access uses HTTPS
  • Regular Audits: Perform regular security audits

Monitoring & Metrics

Key Metrics

  • Storage Usage: Monitor total storage consumption
  • File Delivery Speed: Track file delivery performance
  • Upload Success Rate: Monitor upload success rates
  • Error Rates: Track and resolve delivery errors

Monitoring Tools

  • File Browser Interface: Built-in monitoring through the web interface
  • Nginx Logs: Server logs for performance analysis
  • Storage Analytics: OVH storage analytics and reporting

The Internal CDN provides a cost-effective, self-hosted solution for file management and delivery, supporting both current internal operations and future product integrations.

Ask Chehab GPT