Working with SQS and SNS_ AWS with Python and Boto3 Series

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

Instructed by Niyazi Erdogan

Want to access all courses?
Go for a premium subscription

  • Monthly
  • Yearly

Monthly

$ 29/mo
Billed Monthly
  • Access to all courses
    You will be able to access all the courses from any category on the platform.
  • Learning paths access
  • Access Assignments & Projects
  • Access on Mobile, PC and Tablet
  • Pause & Resume Courses Anytime
  • Offline viewing
  • Instructor Support
  • Course Completion Certificates
Subscribe Now

Yearly

$ 299/yr
Billed Annually
  • One year Unlimited Access
  • Access to all courses
    You will be able to access all the courses from any category on the platform.
  • Learning paths access
  • Access Assignments & Projects
  • Access on Mobile, PC and Tablet
  • Pause & Resume Courses Anytime
  • Offline viewing
  • Instructor Support
  • Course Completion Certificates
Subscribe Now
  • You'll be able to implement your own SQS Queues in any kind!
  • You'll be able to implement Regular, FIFO and Dead-Letter Queues on SQS!
  • You'll be able to implement SNS Topics and Subscriptions!
  • You'll be able to implement SMS, Email and SQS Queue Subscriptions to SNS Topics!
  • You'll learn how you can send any kind of messages to your SQS Queues and SNS Subscribers!
  • You'll be able to implement any sort of infrastructure with SQS and SNS on AWS with Python!
  • You'll learn how to code against AWS API using Python and Boto3!

 SQS is the very first service of AWS when it was launched in 2006.

SNS is the best way to transmit notifications and messages to either SMS, Email, SQS Queue or even other applications on AWS!
 
 Join me in this course to learn ins-and-outs of SQS Simple Queue Service and SNS Simple Notification Service from AWS!
 
Let’s take a closer look at what we’re going to cover in this course step-by-step.
 
In this course, we’ll start of with what we’ll build throughout the course and what you need to have on your computer to follow along with me.
 
Don’t worry; I’ll explain everything you need very clearly and I’ll show you what you need to install and setup on your computer to work with S3. There will be two different sections for Windows and MacOS users. These sections are basically identical and show how you can prepare your computer environment to be ready to work with S3! I’ll show you how to install Python, Boto3 and configure your environments for these tools. I’ll also show you how you can create your own AWS account step-by-step and you’ll be ready to work AWS in no time!
 
When we’re done with preparing our environment to work AWS with Python and Boto3, we’ll start implementing our solutions for AWS.
 
We’ll first start off with SQS Simple Queue Service and create our very first Queue on AWS. After getting our feet wet with the API, we’ll learn how we can create FIFO or First-In-First-Out Queues on SQS! Next up is Dead-Letter Queues. Dead-Letter Queues add another layer of resiliency to your applications and helps you maintain them healthy even if your main queue is not available to process the messages. So we’ll learn how we can create ourselves a Dead-Letter Queue and then bind to our Main Queue to allow messages to keep coming in case of a failure. Then we’ll learn how to operate operations on SQS Queues like retrieving configurations updating them and so on.
 
Next up is the message operations on SQS! We’ll learn from publishing single messages to batch messages to our SQS Queues! Once we learn how to send them, we’ll implement Polling solution for retrieving and reading the queued messages from AWS! Then we’ll learn how to process these messages and eventually learn how to delete them from SQS once we’re ready. After that, we’ll see how to update the visibility window of messages by manipulating message visibility timeouts. And lastly, we’ll learn how to completely wipe the queue by purging it and you’ll see how easy it is!
 
Next stop is SNS Simple Notification Service! We’ll start by creating SNS Topics and build upon that by learning to implement operations on SNS Topics for managing them. For example, we’ll learn how to retrieve information about SNS Topics, update their configurations and eventually delete them.
 
Most important part of SNS comes along and that is Subscriptions! With SNS Topic Subscriptions, you can literally subscribe anything to your Topic and publish notifications and messages to them.
 
We’ll start by implementing an Email Subscription to an SNS Topic. And we’ll learn to confirm the SNS Topic Subscription from the received email of AWS Notifications. Next is to learn SMS Subscriptions for SNS Topics. I’ll subscribe my number and show you how easy it is to subscribe anyone to your SNS Topic! We’ll also learn to implement how to subscribe an SQS Queue to an SNS Topic. Once we’ve done that, we’ll learn how we can check opted-out subscribers by filtering and listing them. Then we’ll learn the way to opt-in a SMS subscriber back into our SNS Topic Subscription!
 
 And when we implement all this, we’ll move on with learning to publish messages to our SNS Topic Subscribers! We’ll subscribe an Email, SMS number and a SQS Queue in the same time and then publish a message to our SNS Topic! Once we do that, we’ll verify that we receive the subscription notification from Email, SMS and SQS Queue! That’s a huge benefit of SNS Topic Subscriptions and I highly recommend you to make use of it in your applications and sevices!
 
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 so I’ll see you in the course!

  • Little to no experience with Python
  • Any Python interpreter. Default is fine but I recommend PyCharm
  • An AWS Account - Free Tier Available!
  • General knowledge on AWS would be nice
  • Beginners on AWS who wants to put their theory in practice
  • AWS Cloud Architect Associate Exam Preppers who wants to practice their theories with real projects
  • Who wants to learn how to work with SQS using Python and Boto3
  • Who wants to learn how to implement Infrastructure-as-a-Code or IaaS on AWS
  • Anyone who wants to learn how to queue messages with SQS
  • Anyone who wants to learn how to architect resilient applications using SQS and SNS
  • Who wants to learn how to develop infrastructures on AWS using Python
  • Who wants to learn AWS Python API or namely Boto3
View More...

Section 1 : Introduction

  • Lecture 1 :
  • Lecture 2 :
  • About This Course
  • Lecture 3 :
  • What We Will Build in This Course
  • Lecture 4 :
  • What Do You Need For This Course

Section 2 : Preparing The Environment for Development

  • Lecture 1 :
  • Section Overview
  • Lecture 2 :
  • About Tools and Environment
  • Lecture 3 :
  • Create an AWS Account If You Don't Already Have It!
  • Lecture 4 :
  • Logging in to AWS Console and A Walkthrough
  • Lecture 5 :
  • Let's Create Our AWS Credentials!

Section 3 : Windows Environment Setup

  • Lecture 1 :
  • Installing Python 3 and Pip
  • Lecture 2 :
  • Installing AWS SDK (CLI)
  • Lecture 3 :
  • Preparing CLI with AWS Credentials
  • Lecture 4 :
  • Installing Boto3
  • Lecture 5 :
  • Verifying The Setup

Section 4 : MacOS Environment Setup

  • Lecture 1 :
  • Preparing CLI with AWS Credentials
  • Lecture 2 :
  • Installing Boto3
  • Lecture 3 :
  • Verifying The Setup
  • Lecture 4 :
  • Installing Python 3 and Pip
  • Lecture 5 :
  • Installing AWS SDK (CLI)

Section 5 : Queue Operations: Simple Queue Service (SQS) with Boto3

  • Lecture 1 :
  • Setting Up Our Project with PyCharm IDE
  • Lecture 2 :
  • Creating a Queue
  • Lecture 3 :
  • Creating a FIFO Queue
  • Lecture 4 :
  • Creating a Dead-Letter Queue and Binding to a Queue
  • Lecture 5 :
  • Getting and Listing Queues
  • Lecture 6 :
  • Getting Queue Properties
  • Lecture 7 :
  • Updating Queue Properties
  • Lecture 8 :
  • Deleting Queues

Section 6 : Message Queueing: Simple Queue Service (SQS) with Boto3

  • Lecture 1 :
  • Sending a Message to Queue
  • Lecture 2 :
  • Sending Batch Messages to Queue
  • Lecture 3 :
  • Receiving Messages (Polling)
  • Lecture 4 :
  • Processing and Deleting Messages from Queue
  • Lecture 5 :
  • Changing Message Visibility Timeouts
  • Lecture 6 :
  • Purging the Queue

Section 7 : Topic Operations: Simple Notification Service (SNS) with Boto3

  • Lecture 1 :
  • Creating Topics
  • Lecture 2 :
  • Getting and Listing Topics
  • Lecture 3 :
  • Getting Topic Attributes
  • Lecture 4 :
  • Updating Topic Attributes
  • Lecture 5 :
  • Deleting Topics

Section 8 : Topic Subscriptions: Simple Notification Service (SNS) with Boto3

  • Lecture 1 :
  • Creating Email Subscription
  • Lecture 2 :
  • Creating SMS Subscription
  • Lecture 3 :
  • Creating SQS Queue Subscription
  • Lecture 4 :
  • Getting and Listing Topic Subscriptions
  • Lecture 5 :
  • Checking If Phone Number Opted Out
  • Lecture 6 :
  • Listing Opted Out Phone Numbers
  • Lecture 7 :
  • Opting Out of Email Subscription
  • Lecture 8 :
  • Opting Out of SMS Subscription
  • Lecture 9 :
  • Opting In Phone Number Back
  • Lecture 10 :
  • Publishing and Receiving Subscripiton Messages

Section 9 : Wrapping Up

  • Lecture 1 :
  • Thank You!

Niyazi Erdogan,

Hi, I'm Niyazi Erdoğan. I'm a software engineer and AWS Certified Solutions Architect with over ten years of experience in various fields. I'm living in one of the most beautiful cities in the world, Istanbul. I'm a self-taught programmer and I've been programming since I was in middle-school. My experience ranges from embedded development to server-side and client-side development technologies.
View More...

Cisco CCNA R/S (200-125): The Compl...

By : Lazaro (Laz) Diaz

Lecture 153

CCNP Switch (300-115): The Complete...

By : Lazaro (Laz) Diaz

Lecture 93

CCNA Wireless (200-355): The Comple...

By : Lazaro (Laz) Diaz

Lecture 41

Odoo: The complete Master Class: B...

By : Abhilash Nelson

Lecture 32

Convert Hex to Decimal in under 30 ...

By : Lazaro (Laz) Diaz

Lecture 20

Cisco EIGRP Comprehensive Labs Cour...

By : Lazaro (Laz) Diaz

Lecture 10

Buy

$29

Need any help with the platform? Contact us at: support@learnfly.com