New Training: Automate Amazon Simple Notification Service (SNS) with PowerShell
In this 7-video, PowerShell training, CBT Nuggets trainer Trevor Sullivan covers how to use Amazon Simple Notification Service (SNS) from PowerShell.
Watch this new PowerShell training.
Amazon Simple Notification Service (SNS) is a fan-out messaging service that can proxy messages from a sender to one or more subscribers. This capability is especially important when building complex, distributed applications, where multiple components need to be simultaneously notified when a critical system event occurs.
Subscribers can be configured using a variety of different endpoints. Here are some of the supported protocols for Amazon SNS subscribers.
Send SMS text messages to mobile phones
Send emails to an inbox
Trigger a webhook endpoint via HTTPS (ie. Slack notifications)
Invoke an AWS Lambda function that updates a database
This training includes:
1 hour of training
Watch a video from the series:
Benefits of Fan-out Application Architecture
Instead of creating monolithic application components that perform multiple operations in serial, using a fan-out architecture can enable separation of concerns. Each application component can be responsible for a single task, but multiple components can be triggered in parallel. Running separate components in parallel has the added benefit of improving application performance.
Here are some examples of where a fan-out notification mechanism could be useful.
"Video upload completed" event triggers 1) a containerized video processing application, and 2) simultaneously sends a message to a Slack channel
"Order placed" event sends a notification to multiple warehouses, and updates a database
"Person detected" event 1) triggers a security alarm, 2) sends a message to a chat system, and 3) creates an entry in a security audit database
There are infinite other use cases where a fan-out messaging architecture can improve system performance and enable a microservice approach to software development. Use your creative juices to build distributed applications, or refactor a monolithic application into small components.
Start learning PowerShell today!
delivered to your inbox.