You can quickly get started with SQS by using the AWS SDKs, samples, and how-tos. From Java and Ruby to .NET and Python, you can use SQS in your applications in a few lines of code. Organized by the language of your choice, below, you'll find samples, snippets, and other resources to help you get started with message queuing, including how to create messages, issue requests, send/receive messages, and more.

» For Developers

» Blogs

» Tutorials

» Videos

» Whitepapers

» Other Resources

Get Started with AWS for Free

Create a Free Account
Or Sign In to the SQS Console

The Amazon SQS Free Tier provides you with 1 million requests per month at no charge.

View AWS Free Tier Details »

The Developer Guide introduces you to message queuing with Amazon SQS and provides tips and links to advanced product features and resources.

HTML | PDF | Kindle

1. First, install the AWS SDK for Java.

3. (Optional) If you want Java Message Service (JMS) 1.1 compatibility, install the Amazon SQS Java Messaging Library.

4. (Optional) If you want to use message payloads larger than 256KB, install the Amazon SQS Extended Client Library for Java.

2. Next, get SQS Java samples on GitHub (also included in the Java SDK).

Get SQS Java Samples From GitHub

1. First, install the AWS SDK for Ruby.

2. Next, get SQS Ruby samples on GitHub.

Get SQS Ruby Samples From GitHub

1. First, install the AWS SDK for Python.

2. Next, use the Boto (Python) tutorial.

Read the SQS Python Tutorial

1. First, install the AWS SDK for .NET.

2. Next, get the .NET integration tests on GitHub.

Get SQS .NET Integration Tests from GitHub

1. First, install the AWS SDK for PHP.

2. Next, see the PHP recipes for using SQS.

See SQS PHP Recipes

1. First, install the AWS SDK for JavaScript/Node.

2. Next, see JavaScript/Node recipes and snippets for SQS.

See JavaScript/Node Snippets and Recipes

In this tutorial, you will learn how to set up asynchronous messaging with Amazon Simple Queue Service (Amazon SQS). Amazon SQS is the AWS service that allows application components to communicate in the cloud. You will use the Amazon SQS console to create and configure a message queue, send a message, receive and delete that message, and then delete the queue.

Try the Tutorial

In this tutorial, you will implement a fanout messaging scenario using Amazon Simple Notification Service (SNS) and Amazon Simple Queue Service (SQS). In this scenario, messages are "pushed" to multiple subscribers, which eliminates the need to periodically check or poll for updates and enables parallel asynchronous processing of the message by the subscribers.

Try the Tutorial

Many batch workloads don't need to be persistent. In this episode of This is My Architecture, CoreLogic describes how they replaced their EC2 fleet with spot instances and use a worker pattern to reduce their compute costs by 90%.

This paper briefly outlines how companies can use AWS to create HIPAA (Health Insurance Portability and Accountability Act)-compliant applications. It focuses on the HIPAA Privacy and Security Rules for protecting Protected Health Information (PHI), how to use AWS to encrypt data in transit and at rest, and how AWS features can be used to meet HIPAA requirements for auditing, back-ups, and disaster recovery.

Read the Whitepaper

All systems that have to scale to meet increasing load while continuing to provide reliable and predictable performance must satisfy some unique requirements. Amazon SQS has many features specifically designed to enable you to build scalable, reliable and high-performing EC2 applications. This paper provides a brief overview of the capabilities of SQS and illustrates how it can used to build scalable EC2 applications with a simple but fairly common scenario.

Read the Whitepaper
Read SQS Articles and Tutorials