Content Delivery Network (CDN)
Amazon CloudFront
Amazon CloudFront is a global CDN that accelerates static and dynamic content from AWS edge locations to end users, integrating with S3 origins, Lambda@Edge, and AWS Shield/S3 origin access. It defines behavior through distributions, cache behaviors, and origin groups, exposing the CloudFront API and offering edge computing via Functions and Lambda@Edge on the AWS edge platform.
AWS
Service information
Shortname: CloudFront
Huawei equivalent shortnames: CDN
Keywords: cdn, edge, cache, security
Differences vs Huawei
CloudFront and Huawei CDN share the core caching-acceleration boundary, but their control planes differ. CloudFront models configuration as distributions with ordered cache behaviors tied to path patterns, viewers, origins, and origin groups for failover. Huawei CDN configures behavior per acceleration domain through console settings: cache TTL rules, origin settings, HTTPS, access control (referer/IP/UA/region filters, token authentication), and advanced origins by path. Huawei has no Lambda@Edge/edge-Functions compute; logic lives in WAF rules, URL rewrites, and header manipulation rather than edge code.
Security and integration boundaries diverge. CloudFront integrates natively with AWS WAF, Shield, ACM, S3 origin access control, and Lambda@Edge for request/response inspection. Huawei CDN pairs with Huawei Cloud WAF and SCM (SSL Certificate Manager) for edge security and cert management, and with OBS private buckets via explicit OBS authorization. Expect to re-implement WAF rules, token-auth schemes, and certificate workflows rather than lift them, and re-plan edge logic that relied on AWS-side compute.
Operating model and APIs differ. CloudFront exposes AWS APIs/CDK/Terraform and a single global distribution model with price classes, geo restriction, and continuous deployments. Huawei CDN provides its own REST APIs and console-driven per-domain configuration with service area selection, shared cache groups, and traffic/bandwidth capping. Scaling and PoP footprint are carrier-driven on Huawei (2,800+ PoPs claimed); validate regional coverage, billing currency, and ICP filing requirements per service area before assuming parity.
Pricing model differs structurally. CloudFront bills data transfer out per edge location tier, HTTP/HTTPS requests, and optional security/edge-compute features. Huawei CDN bills processed traffic with traffic or bandwidth packages and region/peak/off-peak options, plus resource packages; origin pull and security services (WAF, SCM, CCM) are billed separately. Recompute TCO at your peak request volume, traffic split by region, cache-hit ratio, and certificate/security add-ons rather than assuming cost parity.
Migration to Huawei
Assess workloads and pick the target. Map each CloudFront distribution to a Huawei CDN acceleration domain, choosing service type (website, file download, on-demand, whole site) and service area. Inventory cache behaviors, origins (S3/ECS/custom), SSL certs, WAF rules, geo/IP restrictions, token auth, and Lambda@Edge functions; flag edge logic with no Huawei equivalent and plan WAF + SCM/CCM to close the gaps. Huawei CDN is the core equivalent; treat CCM and WAF as complementary, not a one-click migration path.
Migrate configuration and origins. Recreate origins in Huawei Cloud or point CDN at existing origins via origin server IPs/domains, host headers, origin protocol, and SNI; configure OBS authorization for private OBS buckets. Rebuild cache TTL rules, browser cache TTL, URL rewrites, response headers (CORS), force-redirect, HTTP/2/QUIC, Gzip/Brotli compression, and access control (referer/IP/UA/region filters, token authentication, remote auth). Migrate certificates via SCM; redo token-auth key formats and signature schemes to match Huawei's algorithms, as CloudFront signed URLs/cookies are not portable.
Validate and cut over. Add the Huawei CDN acceleration domain and verify cache hit ratio, origin pull behavior, status-code caching, and WebSocket/dynamic content (whole-site acceleration) in staging. Run traffic-shadow or DNS-weighted tests, confirm PoP coverage and latency in target regions, and check ICP filing where required for mainland service areas. Then switch DNS TTL to low values, repoint CNAME, monitor Cloud Eye metrics, and keep the CloudFront distribution warm until metrics stabilize to allow rollback.
Mind the gaps and cost model. Features lacking direct equivalents—Lambda@Edge/edge compute, AWS Shield Advanced integration, CloudFront Key Group signed URLs/cookies, field-level encryption—need workarounds via origin application logic, WAF custom rules, or API Gateway. Expect per-domain operational workflows instead of AWS distribution-level ones. Re-price with Huawei traffic/bandwidth packages, peak/off-peak options, and separate WAF/SCM/CCM charges; budget for re-issuing certificates and any re-engineering of signed-URL distribution before production cutover.
Huawei Cloud
Huawei equivalent service
Shortname: CDN
General function: Content Delivery Network (CDN)
Huawei CDN for edge acceleration and cache delivery.
Keywords: cdn, edge, cache