Chapter Goal: The Chapter intends to introduce various AWS Services that are necessary for the reader to get an understanding of prerequisites. This also guides the reader on how they can create AWS account and demonstrates usage of S3, Lambda, API Gateway, IAM, DynamoDB.
No of pages 25
Sub -Topics
1. Introduce all the prerequisites like DynamoDB, Lambda, IAM, S3
2. Guide through the creation of AWS free account and set up IAM roles
3. Create a static website using S3
4. Introduce DynamoDB through Lambda and API Gateway
Chapter 2: Simple Queue Service
Chapter Goal: This chapter teaches the reader how to use SQS to pass messages between two separate services. This covers both ends of publishing a message as well as polling for messages. The chapter also introduces FIFO Queues and how to use them. This takes the knowledge further by teaching how to use retries and DLQ in a production environment to build fault-tolerant applications.
No of pages: 30
Sub - Topics
1. Sending messages between distributed applications
2. FIFO and Dead Letter Queues
3. Long Polling and Deduplication
4. Using Server-Side Encryption, Visibility, Timeouts, Delays
5. Lambda Triggers and Batch Actions
Chapter 3: Simple Notification Service
Chapter Goal: This chapter focuses on Simple Notification Service, another service to pass messages across different parts of an application. Along with introducing key concepts of SNS, this also lays a foundation on how to send messages from SNS to SQS, how to send SMS messages or Push Notifications. This chapter also explains various actions such as Creating Topic and Publish that can be performed through API.
No of pages: 20
Sub - Topics:
1. Topic, Endpoint and Subscription configuration
2. Publishing messages to an SNS topic
3. Interoperability between SQS and SNS
4. API and CLI
Chapter 4: Simple Workflow Service
Chapter Goal: This chapter takes the coordination of services a little further by introducing another service named SWF. The reader will be able to understand how to build workflows and attach the services created like Lambda functions, applications running on EC2 etc., This chapter introduces both AWS SDKs as well as Flow Framework which is an enhanced SDK meant for developing distributed applications that use SWF.
No of pages: 50
Sub - Topics:
1. Setting up workflows and executing them
2. Integrate with Lambda functions and other types of services
3. Creating workflows using AWS SDK
4. Flow Framework
5. HTTP Service API
6. API and CLI
Chapter 5: Step Functions
Chapter Goal: This chapter starts off by quickly describing key concepts of AWS Step Functions and provides practical instructions for using the features of AWS Step Functions. It further delves into Amazon State Language and shows how to define your State Machine and processing of Inputs, Outputs, and Error Handling. This chapter is wrapped up by how the same can be achieved using SDKs and HTTP APIs and explaining several best practices of using Step Functions.
No of pages: 50
Sub - Topics:
1. Introduces State Machines
2. How to stitch together multiple services or lambda function
3. Amazon State Language
4. Retry Mechanism and Error Handling
5. APIs and SDKs and additional tooling
Jyothi Buddha Prasadhas over 12 years of experience in software development along with building tools for optimizing testing. He has worked on many time-critical projects for IBM, Oracle, and Amazon, by inventing new time-saving approaches and tools consistently. At Amazon, he developed two products named LiveCode and HireOn quickly using AWS which were experiments from Amazon and later became full-fledged products embedded into Amazon's recruiting workflow. He is also a Pluralsight author, an open source contributor and was Java User Group Hyderabad Lead. He is currently working for Amazon, based out of Seattle, WA.
Reshma Beesetty is currently working as a software developer for Tata Consultancy Services. She is also a published author with experience in extensive research-oriented content creation. She has produced and managed content for several startups by designing and maintaining editorial calendars that were published across various web platforms. Her work as an article writer and report creator have been published across state medias of Andhra Pradesh, Karnataka and Tamilnadu in India.
Build reliable, asynchronous, and distributed applications using message queuing and task orchestration capabilities of Amazon Web Services (AWS) Application Integration. This book prepares you to build distributed applications and administrators, and manage queues, workflows, and state machines.
You'll start by reviewing key AWS prerequisite services such as EC2, Lambda, S3, DynamoDB, CloudWatch, and IAM. Simple Queue Service (SQS) and SNS Simple Notification Service (SNS) are then covered to show how applications interact with each other in a reliable and resilient fashion. Next, workflow building with (Simple Workflow Service (SWF) for orchestration of tasks is explained and in the final chapter learn the techniques for building a state using Step Functions, Simple Workflow Service along with Flow Framework.
The book illustrates all the concepts using numerous examples that work with SDK, CLI, and Console. Most of the code examples are in Java, followed by Python and JavaScript.
You will:
Understand the important prerequisites of AWS, such as EC2, Lambda, S3, and DynamoDB