Book Image

Serverless Architectures with AWS

By : Mohit Gupta
Book Image

Serverless Architectures with AWS

By: Mohit Gupta

Overview of this book

Serverless Architecture with AWS begins with an introduction to the serverless model and helps you get started with AWS and Lambda. You'll also get to grips with other capabilities of the AWS Serverless Platform and see how AWS supports enterprise-grade serverless applications with and without Lambda. This book will guide you in deploying your first serverless project and exploring the capabilities of serverless Amazon Athena, an interactive query service that makes it easy to analyze data in Amazon Simple Storage Service (S3 Amazon) using standard SQL. You’ll also learn about AWS Glue, a fully managed ETL service that makes categorizing data easy and cost-effective. You'll study how Amazon Kinesis makes it possible to unleash the potential of real-time data insights and analytics with capabilities such as video streams, data streams, data firehose, and data analytics. Last but not least, you’ll be equipped to combine Amazon Kinesis capabilities with AWS Lambda to create lightweight serverless architectures. By the end of the book, you will be ready to create and run your first serverless application that takes advantage of the high availability, security, performance, and scalability of AWS.
Table of Contents (8 chapters)

Building a Simple Serverless Media Web Application


You have realized by now that by using traditional structures, there is a lot of time-consuming technical administration.

In the cloud era, this is not the case. Cloud providers take care of all the infrastructure, as well as scaling and reliability, and the other needs of your application, so you can focus on the business logic. This not only helps you focus on the right things, but also helps you reduce your time to market drastically.

To depict this, let's do a quick demo of our use case and look at how we can implement it in the AWS Cloud.

We'll deploy our web application locally. Clients will use this application to upload images to AWS. (Figure 3.2 depicts what we want to achieve in this tutorial.) Clients will call the APIs to upload images. These APIs will be hosted in an API Gateway and expose endpoints to upload images to S3. Once the image is uploaded to S3, an event will be triggered by S3 automatically that will launch a Lambda...