๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Building Serverless Web Applications

โœ Scribed by Zanon, Diego


Publisher
Packt Publishing
Year
2017
Tongue
English
Leaves
346
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Understanding the Serverless Model; Introducing serverless; Thinking serverless; Serverless and PaaS; IaaS and On-Premises; The main goals of serverless; Scalability; Availability; Cost efficiency; The pros and cons of serverless; Pros; Reduced operational costs; Focus on business; System security; Continuous delivery; Microservices friendly; Cost model; Cons; Higher latency; Constraints; Hidden inefficiencies; Vendor dependency; Debugging difficulties.;Build scalable, efficient, and highly available web apps using AWSAbout This Book Get an in-depth understanding of the serverless model Build a complete serverless web application end to end Learn how to use the Serverless Framework to improve your productivityWho This Book Is ForIf you're looking to learn more about scalable and cost-efficient architectures, this book is for you. Basic knowledge of Node.js skills or familiarity with cloud services is required. For other topics, we cover the basics. What You Will Learn Get a grasp of the pros and cons of going serverless and its use cases Discover how you can use the building blocks of AWS to your advantage Set up the environment and create a basic app with the Serverless Framework Host static files on S3 and CloudFront with HTTPS support Build a sample application with a frontend using React as an SPA Develop the Node.js backend to handle requests and connect to a SimpleDB database Secure your applications with authentication and authorization Implement the publish-subscribe pattern to handle notifications in a serverless application Create tests, define the workflow for deployment, and monitor your appIn DetailThis book will equip you with the knowledge needed to build your own serverless apps by showing you how to set up different services while making your application scalable, highly available, and efficient. We begin by giving you an idea of what it means to go serverless, exploring the pros and cons of the serverless model and its use cases. Next, you will be introduced to the AWS services that will be used throughout the book, how to estimate costs, and how to set up and use the Serverless Framework. From here, you will start to build an entire serverless project of an online store, beginning with a React SPA frontend hosted on AWS followed by a serverless backend with API Gateway and Lambda functions. You will also learn to access data from a SimpleDB database, secure the application with authentication and authorization, and implement serverless notifications for browsers using AWS IoT. This book will describe how to monitor the performance, efficiency, and errors of your apps and conclude by teaching you how to test and deploy your applications. Style and approachThis book takes a step-by-step approach on how to use the Serverless Framework and AWS services to build Serverless Applications. It will give you a hands-on feeling, allowing you to practice while reading. It provides a brief introduction of concepts while keeping the focus on the practical skills required to develop applications.

โœฆ Table of Contents


Cover
Copyright
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Table of Contents
Preface
Chapter 1: Understanding the Serverless Model
Introducing serverless
Thinking serverless
Serverless and PaaS
IaaS and On-Premises
The main goals of serverless
Scalability
Availability
Cost efficiency
The pros and cons of serverless
Pros
Reduced operational costs
Focus on business
System security
Continuous delivery
Microservices friendly
Cost model
Cons
Higher latency
Constraints
Hidden inefficiencies
Vendor dependency
Debugging difficulties. Atomic deploysUncertainties
Use cases
Static websites
Lean websites
Small e-commerce websites
Temporary websites
Triggered processing
Chatbots
IoT backends
Scheduled events
Big Data
What you should avoid
Summary
Chapter 2: Getting Started with AWS
Amazon Web Services
Handling user accounts and security
AWS IAM
Creating users and groups
Sign in with a non-root user account
Amazon Cognito
Managing AWS resources
AWS Management Console
AWS SDKs
AWS CLI
AWS CloudFormation
Amazon CloudWatch
Frontend services
Amazon S3
Using S3 with the CLI
Amazon Route 53. Amazon CloudFrontAWS Certificate Manager
Messaging and notifications
Amazon SNS
AWS IoT
Backend services
AWS Lambda
Creating a Lambda function
Amazon API Gateway
Expose your Lambda function using API Gateway
Database services
Amazon SimpleDB
Amazon DynamoDB
The serverless architecture of our online store
Estimating costs
Assumptions
Route 53 pricing
S3 pricing
CloudFront pricing
Certificate Manager pricing
IAM pricing
Cognito pricing
IoT pricing
SNS pricing
CloudWatch pricing
API Gateway pricing
Lambda pricing
SimpleDB pricing
DynamoDB
Total pricing
Summary. Chapter 3: Using the Serverless FrameworkServerless Framework
Understanding the Serverless Framework
Other frameworks
Installing the framework
Configuring the framework
Managing permissions in a team
Creating a new project
The handler.js file
The serverless.yml file
Configuring the Lambda limits
Deploying a service
Invoking a function
Retrieving logs
Adding endpoints
Cross-Origin Resource Sharing
Removing a service
Going beyond the basics
Using npm packages
Accessing other AWS resources
Events
The S3 event
Schedule events
Serving HTML pages with Lambda. Using configuration variablesPlugins
Showing deployment information
Scaffolding
Summary
Chapter 4: Hosting the Website
Serving static files with Amazon S3
Creating a bucket
Enabling web hosting
Handling errors
Using redirection rules
Using an error document
Delegating to CloudFront
Prerendering pages
Supporting www anchors
Uploading static files
Automating website publishing
Serving the gzip files
Setting up Route 53
Creating a hosted zone
Creating record sets
Setting up CloudFront
Creating a distribution
Handling CloudFront caching
Invalidating server-side cache.

โœฆ Subjects


Application software--Development;Web applications;Web servers;Electronic books;Application software -- Development


๐Ÿ“œ SIMILAR VOLUMES


Building Serverless Web Applications
โœ Zanon, Diego ๐Ÿ“‚ Library ๐Ÿ“… 2017 ๐Ÿ› Packt Publishing ๐ŸŒ English

Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Understanding the Serverless Model; Introducing serverless; Thinking serverless; Serverless and PaaS; IaaS and On-Premises; The main goals of serverless; Scala

Serverless Web Applications with AWS Amp
โœ Akshat Paul, Mahesh Haldar ๐Ÿ“‚ Library ๐Ÿ“… 2023 ๐Ÿ› Apress ๐ŸŒ English

<span>Learn the fundamentals of serverless applications and how to take advantage of time-tested Amazon Web Services (AWS) to build scalable apps. This book shows you how to work with the key features of your applications with minimum code, simple CLI commands and one-click deployments. <br></span><

Serverless Web Applications with AWS Amp
โœ Akshat Paul, Mahesh Haldar ๐Ÿ“‚ Library ๐Ÿ“… 2023 ๐Ÿ› Apress ๐ŸŒ English

<span>Learn the fundamentals of serverless applications and how to take advantage of time-tested Amazon Web Services (AWS) to build scalable apps. This book shows you how to work with the key features of your applications with minimum code, simple CLI commands and one-click deployments. <br></span><

Serverless Web Applications with AWS Amp
โœ Akshat Paul, Mahesh Haldar ๐Ÿ“‚ Library ๐Ÿ“… 2023 ๐Ÿ› Apress ๐ŸŒ English

<span>Learn the fundamentals of serverless applications and how to take advantage of time-tested Amazon Web Services (AWS) to build scalable apps. This book shows you how to work with the key features of your applications with minimum code, simple CLI commands and one-click deployments. <br></span><

Building Serverless Python Web Services
โœ Abdulwahid Abdulhaque Barguzar ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Master serverless architectures in Python and their implementation, with Zappa on three different frameworks.</b></p><h4>Key Features</h4><ul><li> Scalable serverless Python web services using Django, Flask, and Pyramid.</li><li> Learn Asynchronous task execution on AWS Lambda and scheduling u