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)

Preface

Note

About

This section briefly introduces the author and reviewer, the coverage of this book, the technical skills you'll need to get started, and the hardware and software required to complete all of the included activities and exercises.

About the Book

Serverless Architectures with AWS begins with an introduction to the serverless model and helps you get started with AWS and AWS 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 through deploying your first serverless project and exploring the capabilities of Amazon Athena, an interactive query service that makes it easy to analyze data in Amazon Simple Storage Service (Amazon S3) using standard SQL. You'll also learn about AWS Glue, a fully managed extract, transfer, and load (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 Kinesis Data Streams, Kinesis Data Firehose, and Kinesis 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.

About the Author and Reviewer

Mohit Gupta is a solutions architect, focused on cloud technologies and Big Data analytics. He has more than 12 years of experience in IT and has worked on AWS and Azure technologies since 2012. He has helped customers design, build, migrate, and manage their workloads and applications on various cloud-based products, including AWS and Azure. He received his B.Tech in Computer Science from Kurukshetra University in 2005. Additionally, he holds many industry-leading IT certifications. You can reach him on LinkedIn at mogupta84 or follow his twitter handle @mogupta.

Amandeep Singh works as a distinguished Engineer with Pitney Bowes India Pvt Ltd. He has extensive development experience of more than 13 years in product companies like Pitney Bowes and Dell R&D center. His current role involves designing cloud based distributed solutions at enterprise scale. He is a AWS certified Solutions Architect, and helps Pitney Bowes migrate large monolith platform to AWS Cloud in the form of simpler and smarter microservices. He is strong believer of new age DevOps principles and microservices patterns. He can be reached on LinkedIn at bhatiaamandeep.

Objectives

  • Explore AWS services for supporting a serverless environment

  • Set up AWS services to make applications scalable and highly available

  • Deploy a static website with a serverless architecture

  • Build your first serverless web application

  • Study the changes in a deployed serverless web application

  • Apply best practices to ensure overall security, availability, and reliability

Audience

Serverless Architectures with AWS is for you if you want to develop serverless applications and have some prior coding experience. Though no prior experience of AWS is needed, basic knowledge of Java or Node.js will be an advantage.

Approach

Serverless Architectures with AWS takes a hands-on approach to learning how to design and deploy serverless architectures. It contains multiple activities that use real-life business scenarios for you to practice and apply your new skills in a highly relevant context.

Hardware Requirements

For an optimal student experience, we recommend the following hardware configuration:

  • Processor: Intel Core i5 or equivalent

  • Memory: 4 GB RAM

  • Storage: 35 GB available space

Software Requirements

You'll also need the following software installed in advance:

  • Operating system: Windows 7 or above

  • AWS Free Tier account

  • Network access on ports 22 and 80

Conventions

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "You can also copy this code from the s3_with_lambda.js file."

A block of code is set as follows:

var AWS = require('aws-sdk');
var s3 = new AWS.S3();

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on Next and follow the instructions to create the bucket."

Additional Resources

The code bundle for this book is also hosted on GitHub at https://github.com/TrainingByPackt/Serverless-Architectures-with-AWS.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!