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)

Deployment Options in the Serverless Architecture


We have seen how we can create a serverless application using the AWS console. This is not the only way to achieve it. In the cloud world, infrastructure automation is a key aspect of any deployment. Cloud providers have built strong frameworks around their services that can be used to script out the entire infrastructure. AWS provides APIs, SDKs, and a CLI that can be consumed in various ways to provision infrastructure automatically.

In general, there are three additional ways we can achieve the previous functionality without using the AWS console:

  • AWS CLI: AWS provides a command-line interface for working with AWS services. It is built on top of an AWS Python SDK called boto. You just need to install Python on your Mac, Windows, or Linux machine and then install the AWS CLI.

    Once installed, you can run the following command in your Terminal or command line to check it is properly installed:

    $ aws --version
    aws-cli/1.11.96 Python/2.7.10 Darwin...