Optional - Amazon SNS Notification

SNS

Amazon Simple Notification Service (Amazon SNS) is a managed service that provides message delivery from publishers to subscribers (also known as producers and consumers). Publishers communicate asynchronously with subscribers by sending messages to a topic, which is a logical access point and communication channel. Clients can subscribe to the SNS topic and receive published messages using a supported protocol, such as Amazon SQS, AWS Lambda, HTTP, email, mobile push notifications, and mobile text messages (SMS)

In this lab, you will set up Amazon SNS Notifications for your HPC Cluster jobs. You will get a job completion notification via email at the end of your Slurm job run.

This lab includes the following steps:

  1. Update the IAM Role and attach a Policy to give AmazonSNSFullAccess to the cluster
  2. Create the topic
  3. Subscribe your email address to the topic
  4. Publish a message to the topic from your Cluster Job
  5. Check your email to confirm that you received the message.

This lab requires an AWS Cloud9 IDE. If you do not have an AWS Cloud9 IDE set up, complete sections a. Sign in to the Console through d. Work with the AWS CLI in the Getting Started in the Cloud workshop.