☁️SMN-Cheatsheet / How to Use Simple Message Notification Service on HUAWEI CLOUD

Mehmet Altuğ Akgül
Huawei Developers
Published in
3 min readOct 7, 2023

--

Introduction

I wanted to introduce you to HUAWEI CLOUD services that are used very often when creating this cheatsheet and these articles will be a quick reference for you.
I strongly recommend you check the support page and documentation of the relevant service for detailed information and learn by testing the services.

Simple Message Notification (SMN) lets you send messages at scale to various endpoints, such as HTTP/HTTPS servers, email addresses, phone numbers, functions, and instant messaging tools. You can use SMN to connect cloud services, reducing system complexity.

https://www.huaweicloud.com/intl/en-us/product/smn.html

Simple Message Notification (SMN) is a reliable and flexible large-scale message notification service. It enables you to efficiently send messages to various endpoints, such as phone numbers, and email addresses.

SMN offers a publish/subscribe model to achieve one-to-multiple message subscriptions and notifications in a variety of message types. SMN involves two roles: publisher and subscriber. A publisher publishes messages to a topic, and SMN then delivers the messages to subscribers in the topic. The subscribers can be email addresses, phone numbers, and URLs.

Application Scenarios

System notifications

After events or alarms are triggered, SMN can send notifications to specified users by email, SMS message, or HTTP/HTTPS message. For example, Cloud Trace Service (CTS) detects key cloud service operations and uses SMN to notify you and other users.

Integrating with cloud services

SMN can function as a messaging middleware to directly connect cloud services, improving service efficiency. For example, Cloud Eye does not have to be integrated with Object Storage Service (OBS) to interact with each other. Instead, they can be connected by SMN, so faults in one service will not affect the other.

Off-peak traffic control

If there is a discrepancy between the processing capabilities of the upstream and downstream systems, SMN can cache data to reduce downstream pressure to reduce breakdowns, enhance availability, and mitigate complexity in the system.

General Procedure

Related Services of SMN

Conclusion

In this article, I created a cheat sheet and quick reference page for you to use HUAWEI CLOUD services.

While using services, you should pay attention to billing and usage types. You should turn off unused services.
I recommend that you pay attention to these so that you do not encounter unexpected bills. I wish you good developments.

References

--

--

Mehmet Altuğ Akgül
Huawei Developers

Electrical and Electronics & Cloud Product Manager • MBA • Trader • Investor • Lifelong Learner • ✉ info@altug.dev