Notification Messaging
Amazon SNS
Amazon SNS is a fully managed pub/sub messaging service that decouples publishers from subscribers using topics. Publishers push messages to a topic and SNS fans them out across endpoints such as HTTP/S, email, SMS, Lambda, SQS, and mobile push. It supports application-to-application and application-to-person delivery, message filtering, FIFO topics, cross-region and cross-account delivery, and per-request billing on publish and protocol-specific delivery.
AWS
Service information
Shortname: SNS
Huawei equivalent shortnames: SMN
Keywords: notification, message, alert
Differences vs Huawei
AWS SNS and Huawei SMN share the topic/subscription model, but protocol coverage and data model diverge. SNS subscribers include SQS, Lambda, HTTP/S, SMS, email, mobile platform push (APNs/FCM/Baidu), and platform-specific endpoints. SMN supports email, SMS, voice, HTTP/S, FunctionGraph, workflows, and chatbot endpoints (WeCom, DingTalk, WeLink, Lark) but offers no documented native mobile platform push or SNS FIFO topics with content-based deduplication and ordering guarantees.
Both services are multi-AZ and managed with retry and caching, but semantics differ. SMN caches failed deliveries and retries up to six times before expiry, with tenant isolation and cluster/AZ redundancy; SNS retries HTTP/S per subscription policy and integrates with SQS dead-letter queues. API surfaces differ too: SNS uses AWS SDKs with attribute-based subscription filtering; SMN exposes REST APIs plus Java/Python/Go/.NET SDKs with IAM and enterprise-project scoping, and requires endpoint confirmation within 48 hours.
Integrations differ by ecosystem. SNS couples natively with EventBridge, SQS, Lambda, CloudWatch, and CloudFormation. SMN integrates with 60+ Huawei services including Cloud Eye, Config, OBS, FunctionGraph, and CTS for auditing. Cross-account delivery is not identical: SNS uses topic resource policies, while SMN relies on IAM trust and enterprise projects. Architects must rewire upstream event sources, alarm channels, and IaC templates rather than assume drop-in parity.
Migration to Huawei
Inventory every SNS topic, its publishers, subscription protocols, filtering policies, DLQs, and cross-account trusts, then map each protocol to a Huawei equivalent. SMN is the core replacement for pub/sub fan-out to email, SMS, voice, HTTP/S, FunctionGraph, and chatbot/webhook endpoints. For SQS-backed asynchronous queues, pair SMN with DMS (Kafka/RabbitMQ); for mobile platform push, note SMN has no native equivalent and plan a FunctionGraph bridge or HMS Push Kit integration.
Recreate topics and subscriptions through Terraform or the SMN console, then re-invite subscribers to confirm within the 48-hour confirmation window. Re-express payloads as text, JSON, or SMN message templates, since SNS message attributes do not map directly; move filtering logic into FunctionGraph or DMS consumers. Rewrite publishers from AWS SDKs to the SMN REST API or compatible SDKs, rebuild IAM policies as Huawei IAM with enterprise-project scoping, and migrate CloudWatch alarm actions to Cloud Eye notification targets.
Run topics in parallel with SNS during a soak period to compare delivery latency, retry behavior, and DLQ semantics. Verify SMS length limits (490 characters, no square brackets), HTTP/S endpoint firewall ingress for SMN source IPs, and chatbot endpoint formatting. Validate quotas, topic limits, and the regional availability of cross-region subscriber management (data stored only in China regions). Configure CTS audit logging. Cut over readers first, then publishers, retaining rollback to SNS until retry and confirmation semantics are proven.
Costs shift from SNS publish and protocol-delivery charges to SMN per-notification message counts plus downstream Internet traffic (first 1 GB free per month), with FunctionGraph-to-SMN delivery free and SMS/email billed per message. Recompute TCO using peak notification volume, per-region SMS volume, and HTTP/S request counts. Known gaps to close before production: no native mobile platform push, no documented FIFO ordering, no built-in DLQ, and subscriber management data residency restricted to China regions—architects must address these with FunctionGraph, DMS, or partner services.
Huawei Cloud
Huawei equivalent service
Shortname: SMN
General function: Notification Messaging
Publish/subscribe notification service.
Keywords: notification, message, alert