O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with SQS and SNS: AWS with Python and Boto3 Series

Video Description

Learn to implement FIFO, Dead-Letter Queues, SMS, Email Subscriptions, publish messages to subscribers and much more!

About This Video

  • You'll learn how to code against AWS API using Python and Boto3!
  • You'll be confident to work with AWS APIs using Python for any kind of AWS Resource on SQS and SNS!

In Detail

In this course, we’ll start with what we’ll build throughout the course and what you need to have on your computer to follow along with me. We’ll cover what you need to install and setup on your computer to work with S3. Then, we’ll install Python, Boto3, and configure your environment for these tools. When we’re done with preparing our environment to work for AWS with Python and Boto3, we’ll start implementing our solutions for AWS.

We’ll first go ahead with the following topics:

  • FIFO or First-In-First-Out Queues on SQS
  • Dead-Letter Queue and then bind to our Main Queue to allow messages to keep coming in case of a failure
  • Message operations on SQS
  • Creating SNS Topics
  • Using SNS Topic Subscriptions
  • Email Subscription to an SNS Topic
  • learn SMS Subscriptions for SNS Topics
  • Publish messages to SNS Topic Subscribers

Again, SQS and SNS are amazing services from AWS and there are hundreds of ways you can make use of them. Let’s not lose more time and jump right into the implementation with SQS and SNS. People who are passionate and want to learn SQS and SNS will benefit from this course.

All the code files are placed at https://github.com/PacktPublishing/Working-with-SQS-and-SNS-AWS-with-Python-and-Boto3-Series

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Introduction
    1. Welcome 00:00:59
    2. About This Course 00:02:03
    3. What We Will Build in This Course 00:02:34
    4. What Do You Need For This Course 00:02:37
  2. Chapter 2 : Preparing the Environment for Development
    1. Section Overview 00:03:43
    2. About Tools and Environment 00:04:30
    3. Create an AWS Account If You Don't Already Have It! 00:09:05
    4. Logging in to AWS Console and a Walkthrough 00:09:13
    5. Let's Create Our AWS Credentials! 00:11:13
  3. Chapter 3 : Windows Environment Setup
    1. Installing Python 3 and Pip 00:02:57
    2. Installing AWS SDK (CLI) 00:04:20
    3. Preparing CLI with AWS Credentials 00:02:57
    4. Installing Boto3 00:01:16
    5. Verifying the Setup 00:02:15
  4. Chapter 4 : MacOS Environment Setup
    1. Installing Python 3 and Pip 00:03:24
    2. Installing AWS SDK (CLI) 00:03:01
    3. Preparing CLI with AWS Credentials 00:02:00
    4. Installing Boto3 00:00:51
    5. Verifying the Setup 00:02:09
  5. Chapter 5 : Queue Operations: Simple Queue Service (SQS) with Boto3
    1. Setting Up Our Project with PyCharm IDE 00:03:07
    2. Creating a Queue 00:02:49
    3. Creating a FIFO Queue 00:05:04
    4. Creating a Dead-Letter Queue and Binding to a Queue 00:10:14
    5. Getting and Listing Queues 00:02:56
    6. Getting Queue Properties 00:01:49
    7. Updating Queue Properties 00:02:52
    8. Deleting Queues 00:01:35
  6. Chapter 6 : Message Queueing: Simple Queue Service (SQS) with Boto3
    1. Sending a Message to Queue 00:05:55
    2. Sending Batch Messages to Queue 00:04:05
    3. Receiving Messages (Polling) 00:02:47
    4. Processing and Deleting Messages from Queue 00:08:04
    5. Changing Message Visibility Timeouts 00:04:19
    6. Purging the Queue 00:01:50
  7. Chapter 7 : Topic Operations: Simple Notification Service (SNS) with Boto3
    1. Creating Topics 00:03:25
    2. Getting and Listing Topics 00:01:42
    3. Getting Topic Attributes 00:01:57
    4. Updating Topic Attributes 00:02:25
    5. Deleting Topics 00:01:14
  8. Chapter 8 : Topic Subscriptions: Simple Notification Service (SNS) with Boto3
    1. Creating Email Subscription 00:04:46
    2. Creating SMS Subscription 00:02:47
    3. Creating SQS Queue Subscription 00:02:37
    4. Getting and Listing Topic Subscriptions 00:02:17
    5. Checking If Phone Number Opted Out 00:02:29
    6. Listing Opted Out Phone Numbers 00:01:37
    7. Opting Out of Email Subscription 00:06:26
    8. Opting Out of SMS Subscription 00:03:04
    9. Opting In Phone Number Back 00:01:53
    10. Publishing and Receiving Subscription Messages 00:04:22
  9. Chapter 9 : Wrapping Up
    1. Thank You! 00:01:34