0%

Book Description

Don't waste your energy thinking about servers; use AWS to build enterprise-grade serverless applications.

Key Features

  • Learn how to quickly and easily go serverless
  • Explore AWS and Lambda: the first building blocks of serverless applications on AWS
  • Study different approaches to deploy and maintain serverless applications

Book Description

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.

What you will learn

  • 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

Who this book is for

This book 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 added advantage.

Table of Contents

  1. Preface
    1. About the Book
      1. About the Author and Reviewer
      2. Objectives
      3. Audience
      4. Approach
      5. Hardware Requirements
      6. Software Requirements
      7. Conventions
      8. Additional Resources
  2. AWS, Lambda, and Serverless Applications
    1. Introduction
    2. The Serverless Model
      1. Benefits of the Serverless Model
    3. Introduction to AWS
      1. AWS Serverless Ecosystem
    4. AWS Lambda
      1. Supported Languages
      2. Exercise 1: Running Your First Lambda Function
      3. Activity 1: Creating a New Lambda Function that Finds the Square Root of the Average of Two Input Numbers
      4. Limits of AWS Lambda
      5. AWS Lambda Pricing Overview
      6. Lambda Free Tier
      7. Activity 2: Calculating the Total Lambda Cost
      8. Additional Costs
    5. Summary
  3. Working with the AWS Serverless Platform
    1. Introduction
    2. Amazon S3
      1. Key Characteristics of Amazon S3
      2. Deploying a Static Website
      3. Exercise 2: Setting up a Static Website with an S3 Bucket Using a Domain Name in Route 53
      4. Enabling Versioning on S3 Bucket
    3. S3 and Lambda Integration
      1. Exercise 3: Writing a Lambda Function to Read a Text File
    4. API Gateway
      1. What is API Gateway?
      2. API Gateway Concepts
      3. Exercise 4: Creating a REST API and Integrating It with Lambda
    5. Other Native Services
      1. Amazon SNS
      2. Amazon SQS
      3. DynamoDB
      4. DynamoDB Streams
      5. DynamoDB Streams Integration with Lambda
      6. Exercise 5: Creating an SNS topic and Subscribing to It
      7. Exercise 6: SNS Integration with S3 and Lambda
      8. Activity 3: Setting Up a Mechanism to Get an Email Alert When an Object Is Uploaded into an S3 Bucket
    6. Summary
  4. Building and Deploying a Media Application
    1. Introduction
    2. Designing a Media Web Application – from Traditional to Serverless
    3. Building a Simple Serverless Media Web Application
      1. Exercise 7: Building the Role to Use with an API
      2. Exercise 8: Creating an API to Push to / Get from an S3 Bucket
      3. Exercise 9: Building the Image Processing System
    4. Deployment Options in the Serverless Architecture
      1. Activity 4: Creating an API to Delete the S3 Bucket
    5. Summary
  5. Serverless Amazon Athena and the AWS Glue Data Catalog
    1. Introduction
    2. Amazon Athena
      1. Databases and Tables
      2. Exercise 10: Creating a New Database and Table Using Amazon Athena
    3. AWS Glue
      1. Exercise 11: Using AWS Glue to Build a Metadata Repository
      2. Activity 5: Building an AWS Glue Catalog for a CSV-Formatted Dataset and Analyzing the Data Using AWS Athena
    4. Summary
  6. Real-Time Data Insights Using Amazon Kinesis
    1. Introduction
    2. Amazon Kinesis
      1. Benefits of Amazon Kinesis
    3. Amazon Kinesis Data Streams
      1. How Kinesis Data Streams Work
      2. Exercise 12: Creating a Sample Kinesis Stream
    4. Amazon Kinesis Firehose
      1. Exercise 13: Creating a Sample Kinesis Data Firehose Delivery Stream
      2. Activity 6: Performing Data Transformations for Incoming Data
    5. Amazon Kinesis Data Analytics
      1. Exercise 14: Setting Up an Amazon Kinesis Analytics Application
      2. Activity 7: Adding Reference Data to the Application and Creating an Output, and Joining Real-Time Data with the Reference Data
    6. Summary
  7. Appendix
    1. Chapter 1: AWS, Lambda, and Serverless Applications
      1. Solution for Activity 1: Creating a New Lambda Function That Finds the Square Root of the Average of Two Input Numbers
      2. Solution for Activity 2: Calculating the Total Lambda Cost
    2. Chapter 2: Working with the AWS Serverless Platform
      1. Solution for Activity 3: Setting up a Mechanism to Get an Email Alert When An Object is Uploaded into an S3 Bucket
    3. Chapter 3: Building and Deploying a Media Application
      1. Solution for Activity 4: Creating an API to Delete the S3 Bucket
    4. Chapter 4: Serverless Amazon Athena and the AWS Glue Data Catalog
      1. Solution for Activity 5: Building a AWS Glue catalog for a CSV-Formatted Dataset and Analyzing the Data Using AWS Athena
    5. Chapter 5: Real-Time Data Insights Using Amazon Kinesis
      1. Solution for Activity 6: Performing Data Transformations for Incoming Data
      2. Solution for Activity 7: Adding Reference Data to the Application and Creating an Output, Joining Real-Time Data with the Reference Data
18.222.120.133