Building serverless web applications :: build scalable web apps using Serverless Framework on AWS /
Build scalable, efficient, and highly available web apps using AWS About 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 productivity Who This Book Is For If you're l...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2017.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Build scalable, efficient, and highly available web apps using AWS About 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 productivity Who This Book Is For If 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 app In Detail This 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 approach This 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 provide ... |
Beschreibung: | 1 online resource (1 volume) : illustrations |
ISBN: | 9781787123076 1787123073 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-on1001253545 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 170816s2017 enka o 000 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d IDEBK |d TOH |d STF |d COO |d TEFOD |d UOK |d CEF |d OCLCF |d KSU |d UAB |d N$T |d QGK |d OCLCQ |d OCLCO |d NZAUC |d OCLCQ |d OCLCO |d OCLCL |d DXU | ||
020 | |a 9781787123076 |q (electronic bk.) | ||
020 | |a 1787123073 |q (electronic bk.) | ||
020 | |z 9781787126473 | ||
035 | |a (OCoLC)1001253545 | ||
037 | |a CL0500000884 |b Safari Books Online | ||
037 | |a 7047D4D9-7FE6-4BBC-AFAA-D41454F7996E |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a TK5105.8883 | |
082 | 7 | |a 005.1 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Zanon, Diego, |e author. | |
245 | 1 | 0 | |a Building serverless web applications : |b build scalable web apps using Serverless Framework on AWS / |c Diego Zanon. |
246 | 3 | 0 | |a Build scalable web apps using Serverless Framework on AWS |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2017. | |
300 | |a 1 online resource (1 volume) : |b illustrations | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
588 | 0 | |a Online resource; title from title page (Safari, viewed August 14, 2017). | |
520 | |a Build scalable, efficient, and highly available web apps using AWS About 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 productivity Who This Book Is For If 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 app In Detail This 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 approach This 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 provide ... | ||
505 | 0 | |a Intro -- 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 deploys -- Uncertainties -- 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 CloudFront -- AWS 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. | |
505 | 8 | |a API Gateway pricing -- Lambda pricing -- SimpleDB pricing -- DynamoDB -- Total pricing -- Summary -- Chapter 3: Using the Serverless Framework -- Serverless 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 variables -- Plugins -- 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 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 -- Invalidating client-side cache -- Updating Route 53 to use CloudFront -- Supporting HTTPS -- Creating a mail exchange record -- Requesting free certificates with AWS Certificate Manager -- Configuring CloudFront to support HTTPS connections -- Summary -- Chapter 5: Building the Frontend -- Getting started with React -- React principles -- The Flux pattern -- React hello-world -- Building a shopping cart -- Preparing the development environment -- Organizing the solution -- Composing components. | |
505 | 8 | |a Implementing a component -- The App component -- The Product List component -- The Product component -- The Shopping Cart component -- The Cart Item component -- Publishing our demo -- Making Ajax requests -- Retrieving data from the server -- Sending data to the server -- Handling the page routes -- Linking pages -- Using the query parameters -- Single-Page Applications -- Pros and cons of Single-Page Applications -- Pros -- Cons -- Considerations -- Prerendering pages -- Using PhantomJS -- Using the Lambda functions for prerendering -- Rendering on the fly -- Building an online store -- The Navbar component -- The Home page -- The product details page -- The Shopping Cart page -- The Login and Signup pages -- The error pages -- Summary -- Chapter 6: Developing the Backend -- Defining the project architecture -- Monolith versus Microservices -- Nanoservices -- Microservices -- Monolith -- Graph -- Naming differences -- Developing the backend -- Defining the functionalities -- Organizing the code -- Referencing Lambda functions in other folders -- Using multiple services -- Setting the endpoints -- RESTful APIs -- Routing the HTTP verbs -- Handling HTTP responses -- Implementing the Lambda functions -- Retrieving all products -- Saving the Shopping Cart -- Checking out -- Summary -- Chapter 7: Managing a Serverless Database -- Amazon SimpleDB -- Modeling the database -- Handling one-to-many relations -- Handling numbers -- Handling Booleans -- Handling dates -- Creating a domain -- Limits -- Inserting and querying data -- Performance and concurrency -- Managing the database -- Backing up and restoring data -- Controlling user access -- DynamoDB -- Modeling the database -- Creating a table -- Limits -- Inserting and querying data -- Inserting data -- The Document Client API -- Querying data -- The scan method -- The query method. | |
505 | 8 | |a Performance and concurrency -- Managing the database -- Provisioned throughput -- Auto scaling -- Backing up and restoring data -- Controlling user access -- Improving the serverless store -- Retrieving all products -- Retrieving the user's shopping cart -- Saving the user's shopping cart -- Processing the checkout -- Amazon S3 (for media files) -- Uploading and downloading files -- Enabling CORS -- Backing up and restoring data -- Using S3 versioning -- Summary -- Chapter 8: Securing the Serverless Application -- Security basics -- Information security -- Authentication -- Authorization -- Confidentiality -- Integrity -- Non-repudiation -- Availability -- Security on AWS -- Shared responsibility model -- The Trusted Advisor tool -- Pen testing -- AWS CloudTrail -- MFA -- Handling authentication and authorization -- Amazon Cognito -- Creating a user pool -- Creating an identity pool -- Using Cognito in our serverless store -- The Signup page -- The Login page -- Persisting the user token -- Logging out -- Handling authentication in Lambda functions -- Summary -- Chapter 9: Handling Serverless Notifications -- AWS IoT -- Protocols -- Finding the IoT endpoint -- AWS IoT SDK -- Implementing serverless notifications -- Public notifications -- Adding a comment box -- Updating the list of comments -- Creating a new instance of the IoT SDK -- Sending and receiving new comments -- Triggering a Lambda function with IoT -- Private notifications -- Using credentials of an authenticated user -- Updating the logout feature -- Creating an IoT policy -- Attaching an IoT policy and connecting -- Passing the Cognito Identity to the Lambda function -- Sending IoT messages with Lambda -- Summary -- Chapter 10: Testing, Deploying, and Monitoring -- Testing your solution -- Unit testing Lambda functions -- Mocking external services -- Using Sinon.JS for mocking. | |
505 | 8 | |a Testing the frontend -- Simulating AWS services locally -- Deploying your application -- Development workflow -- Blue-green deployment -- Deploying new versions with a different database model -- Creating a new table or column -- Renaming a table or column -- Dropping a table or column -- Rollback a deployment -- Creating staging environments -- Being careful with the production environment -- Test data -- Keeping your functions warm -- Monitoring the operation -- Monitoring costs -- Monitoring errors -- Retrieving metrics with the Serverless Framework -- Streaming Lambda logs -- Handling errors -- Monitoring performance -- Monitoring efficiency -- Summary -- Index. | |
610 | 2 | 0 | |a Amazon Web Services (Firm) |0 http://id.loc.gov/authorities/names/no2015140713 |
610 | 2 | 7 | |a Amazon Web Services (Firm) |2 fast |
650 | 0 | |a Web applications |x Development. | |
650 | 0 | |a Application software |x Development. |0 http://id.loc.gov/authorities/subjects/sh95009362 | |
650 | 0 | |a Cloud computing. |0 http://id.loc.gov/authorities/subjects/sh2008004883 | |
650 | 6 | |a Applications Web |x Développement. | |
650 | 6 | |a Logiciels d'application |x Développement. | |
650 | 6 | |a Infonuagique. | |
650 | 7 | |a Application software |x Development |2 fast | |
650 | 7 | |a Cloud computing |2 fast | |
758 | |i has work: |a Building serverless web applications (Text) |1 https://id.oclc.org/worldcat/entity/E39PCH6ymjW3hCKCrkXqfBFqcP |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1565639 |3 Volltext |
938 | |a EBSCOhost |b EBSC |n 1565639 | ||
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n cis36983554 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-on1001253545 |
---|---|
_version_ | 1816882397834117120 |
adam_text | |
any_adam_object | |
author | Zanon, Diego |
author_facet | Zanon, Diego |
author_role | aut |
author_sort | Zanon, Diego |
author_variant | d z dz |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.8883 |
callnumber-search | TK5105.8883 |
callnumber-sort | TK 45105.8883 |
callnumber-subject | TK - Electrical and Nuclear Engineering |
collection | ZDB-4-EBA |
contents | Intro -- 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 deploys -- Uncertainties -- 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 CloudFront -- AWS 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 Framework -- Serverless 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 variables -- Plugins -- 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 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 -- Invalidating client-side cache -- Updating Route 53 to use CloudFront -- Supporting HTTPS -- Creating a mail exchange record -- Requesting free certificates with AWS Certificate Manager -- Configuring CloudFront to support HTTPS connections -- Summary -- Chapter 5: Building the Frontend -- Getting started with React -- React principles -- The Flux pattern -- React hello-world -- Building a shopping cart -- Preparing the development environment -- Organizing the solution -- Composing components. Implementing a component -- The App component -- The Product List component -- The Product component -- The Shopping Cart component -- The Cart Item component -- Publishing our demo -- Making Ajax requests -- Retrieving data from the server -- Sending data to the server -- Handling the page routes -- Linking pages -- Using the query parameters -- Single-Page Applications -- Pros and cons of Single-Page Applications -- Pros -- Cons -- Considerations -- Prerendering pages -- Using PhantomJS -- Using the Lambda functions for prerendering -- Rendering on the fly -- Building an online store -- The Navbar component -- The Home page -- The product details page -- The Shopping Cart page -- The Login and Signup pages -- The error pages -- Summary -- Chapter 6: Developing the Backend -- Defining the project architecture -- Monolith versus Microservices -- Nanoservices -- Microservices -- Monolith -- Graph -- Naming differences -- Developing the backend -- Defining the functionalities -- Organizing the code -- Referencing Lambda functions in other folders -- Using multiple services -- Setting the endpoints -- RESTful APIs -- Routing the HTTP verbs -- Handling HTTP responses -- Implementing the Lambda functions -- Retrieving all products -- Saving the Shopping Cart -- Checking out -- Summary -- Chapter 7: Managing a Serverless Database -- Amazon SimpleDB -- Modeling the database -- Handling one-to-many relations -- Handling numbers -- Handling Booleans -- Handling dates -- Creating a domain -- Limits -- Inserting and querying data -- Performance and concurrency -- Managing the database -- Backing up and restoring data -- Controlling user access -- DynamoDB -- Modeling the database -- Creating a table -- Limits -- Inserting and querying data -- Inserting data -- The Document Client API -- Querying data -- The scan method -- The query method. Performance and concurrency -- Managing the database -- Provisioned throughput -- Auto scaling -- Backing up and restoring data -- Controlling user access -- Improving the serverless store -- Retrieving all products -- Retrieving the user's shopping cart -- Saving the user's shopping cart -- Processing the checkout -- Amazon S3 (for media files) -- Uploading and downloading files -- Enabling CORS -- Backing up and restoring data -- Using S3 versioning -- Summary -- Chapter 8: Securing the Serverless Application -- Security basics -- Information security -- Authentication -- Authorization -- Confidentiality -- Integrity -- Non-repudiation -- Availability -- Security on AWS -- Shared responsibility model -- The Trusted Advisor tool -- Pen testing -- AWS CloudTrail -- MFA -- Handling authentication and authorization -- Amazon Cognito -- Creating a user pool -- Creating an identity pool -- Using Cognito in our serverless store -- The Signup page -- The Login page -- Persisting the user token -- Logging out -- Handling authentication in Lambda functions -- Summary -- Chapter 9: Handling Serverless Notifications -- AWS IoT -- Protocols -- Finding the IoT endpoint -- AWS IoT SDK -- Implementing serverless notifications -- Public notifications -- Adding a comment box -- Updating the list of comments -- Creating a new instance of the IoT SDK -- Sending and receiving new comments -- Triggering a Lambda function with IoT -- Private notifications -- Using credentials of an authenticated user -- Updating the logout feature -- Creating an IoT policy -- Attaching an IoT policy and connecting -- Passing the Cognito Identity to the Lambda function -- Sending IoT messages with Lambda -- Summary -- Chapter 10: Testing, Deploying, and Monitoring -- Testing your solution -- Unit testing Lambda functions -- Mocking external services -- Using Sinon.JS for mocking. Testing the frontend -- Simulating AWS services locally -- Deploying your application -- Development workflow -- Blue-green deployment -- Deploying new versions with a different database model -- Creating a new table or column -- Renaming a table or column -- Dropping a table or column -- Rollback a deployment -- Creating staging environments -- Being careful with the production environment -- Test data -- Keeping your functions warm -- Monitoring the operation -- Monitoring costs -- Monitoring errors -- Retrieving metrics with the Serverless Framework -- Streaming Lambda logs -- Handling errors -- Monitoring performance -- Monitoring efficiency -- Summary -- Index. |
ctrlnum | (OCoLC)1001253545 |
dewey-full | 005.1 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.1 |
dewey-search | 005.1 |
dewey-sort | 15.1 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>13095cam a2200577 i 4500</leader><controlfield tag="001">ZDB-4-EBA-on1001253545</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr unu||||||||</controlfield><controlfield tag="008">170816s2017 enka o 000 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">UMI</subfield><subfield code="b">eng</subfield><subfield code="e">rda</subfield><subfield code="e">pn</subfield><subfield code="c">UMI</subfield><subfield code="d">IDEBK</subfield><subfield code="d">TOH</subfield><subfield code="d">STF</subfield><subfield code="d">COO</subfield><subfield code="d">TEFOD</subfield><subfield code="d">UOK</subfield><subfield code="d">CEF</subfield><subfield code="d">OCLCF</subfield><subfield code="d">KSU</subfield><subfield code="d">UAB</subfield><subfield code="d">N$T</subfield><subfield code="d">QGK</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">NZAUC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield><subfield code="d">DXU</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781787123076</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1787123073</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781787126473</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1001253545</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000884</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">7047D4D9-7FE6-4BBC-AFAA-D41454F7996E</subfield><subfield code="b">OverDrive, Inc.</subfield><subfield code="n">http://www.overdrive.com</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">TK5105.8883</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.1</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Zanon, Diego,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Building serverless web applications :</subfield><subfield code="b">build scalable web apps using Serverless Framework on AWS /</subfield><subfield code="c">Diego Zanon.</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="a">Build scalable web apps using Serverless Framework on AWS</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2017.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource (1 volume) :</subfield><subfield code="b">illustrations</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Online resource; title from title page (Safari, viewed August 14, 2017).</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">Build scalable, efficient, and highly available web apps using AWS About 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 productivity Who This Book Is For If 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 app In Detail This 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 approach This 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 provide ...</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Intro -- 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 deploys -- Uncertainties -- 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 CloudFront -- AWS 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.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">API Gateway pricing -- Lambda pricing -- SimpleDB pricing -- DynamoDB -- Total pricing -- Summary -- Chapter 3: Using the Serverless Framework -- Serverless 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 variables -- Plugins -- 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 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 -- Invalidating client-side cache -- Updating Route 53 to use CloudFront -- Supporting HTTPS -- Creating a mail exchange record -- Requesting free certificates with AWS Certificate Manager -- Configuring CloudFront to support HTTPS connections -- Summary -- Chapter 5: Building the Frontend -- Getting started with React -- React principles -- The Flux pattern -- React hello-world -- Building a shopping cart -- Preparing the development environment -- Organizing the solution -- Composing components.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Implementing a component -- The App component -- The Product List component -- The Product component -- The Shopping Cart component -- The Cart Item component -- Publishing our demo -- Making Ajax requests -- Retrieving data from the server -- Sending data to the server -- Handling the page routes -- Linking pages -- Using the query parameters -- Single-Page Applications -- Pros and cons of Single-Page Applications -- Pros -- Cons -- Considerations -- Prerendering pages -- Using PhantomJS -- Using the Lambda functions for prerendering -- Rendering on the fly -- Building an online store -- The Navbar component -- The Home page -- The product details page -- The Shopping Cart page -- The Login and Signup pages -- The error pages -- Summary -- Chapter 6: Developing the Backend -- Defining the project architecture -- Monolith versus Microservices -- Nanoservices -- Microservices -- Monolith -- Graph -- Naming differences -- Developing the backend -- Defining the functionalities -- Organizing the code -- Referencing Lambda functions in other folders -- Using multiple services -- Setting the endpoints -- RESTful APIs -- Routing the HTTP verbs -- Handling HTTP responses -- Implementing the Lambda functions -- Retrieving all products -- Saving the Shopping Cart -- Checking out -- Summary -- Chapter 7: Managing a Serverless Database -- Amazon SimpleDB -- Modeling the database -- Handling one-to-many relations -- Handling numbers -- Handling Booleans -- Handling dates -- Creating a domain -- Limits -- Inserting and querying data -- Performance and concurrency -- Managing the database -- Backing up and restoring data -- Controlling user access -- DynamoDB -- Modeling the database -- Creating a table -- Limits -- Inserting and querying data -- Inserting data -- The Document Client API -- Querying data -- The scan method -- The query method.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Performance and concurrency -- Managing the database -- Provisioned throughput -- Auto scaling -- Backing up and restoring data -- Controlling user access -- Improving the serverless store -- Retrieving all products -- Retrieving the user's shopping cart -- Saving the user's shopping cart -- Processing the checkout -- Amazon S3 (for media files) -- Uploading and downloading files -- Enabling CORS -- Backing up and restoring data -- Using S3 versioning -- Summary -- Chapter 8: Securing the Serverless Application -- Security basics -- Information security -- Authentication -- Authorization -- Confidentiality -- Integrity -- Non-repudiation -- Availability -- Security on AWS -- Shared responsibility model -- The Trusted Advisor tool -- Pen testing -- AWS CloudTrail -- MFA -- Handling authentication and authorization -- Amazon Cognito -- Creating a user pool -- Creating an identity pool -- Using Cognito in our serverless store -- The Signup page -- The Login page -- Persisting the user token -- Logging out -- Handling authentication in Lambda functions -- Summary -- Chapter 9: Handling Serverless Notifications -- AWS IoT -- Protocols -- Finding the IoT endpoint -- AWS IoT SDK -- Implementing serverless notifications -- Public notifications -- Adding a comment box -- Updating the list of comments -- Creating a new instance of the IoT SDK -- Sending and receiving new comments -- Triggering a Lambda function with IoT -- Private notifications -- Using credentials of an authenticated user -- Updating the logout feature -- Creating an IoT policy -- Attaching an IoT policy and connecting -- Passing the Cognito Identity to the Lambda function -- Sending IoT messages with Lambda -- Summary -- Chapter 10: Testing, Deploying, and Monitoring -- Testing your solution -- Unit testing Lambda functions -- Mocking external services -- Using Sinon.JS for mocking.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Testing the frontend -- Simulating AWS services locally -- Deploying your application -- Development workflow -- Blue-green deployment -- Deploying new versions with a different database model -- Creating a new table or column -- Renaming a table or column -- Dropping a table or column -- Rollback a deployment -- Creating staging environments -- Being careful with the production environment -- Test data -- Keeping your functions warm -- Monitoring the operation -- Monitoring costs -- Monitoring errors -- Retrieving metrics with the Serverless Framework -- Streaming Lambda logs -- Handling errors -- Monitoring performance -- Monitoring efficiency -- Summary -- Index.</subfield></datafield><datafield tag="610" ind1="2" ind2="0"><subfield code="a">Amazon Web Services (Firm)</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2015140713</subfield></datafield><datafield tag="610" ind1="2" ind2="7"><subfield code="a">Amazon Web Services (Firm)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web applications</subfield><subfield code="x">Development.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software</subfield><subfield code="x">Development.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh95009362</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Cloud computing.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2008004883</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Applications Web</subfield><subfield code="x">Développement.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Logiciels d'application</subfield><subfield code="x">Développement.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Infonuagique.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application software</subfield><subfield code="x">Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Cloud computing</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Building serverless web applications (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCH6ymjW3hCKCrkXqfBFqcP</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1565639</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">1565639</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ProQuest MyiLibrary Digital eBook Collection</subfield><subfield code="b">IDEB</subfield><subfield code="n">cis36983554</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-on1001253545 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:27:58Z |
institution | BVB |
isbn | 9781787123076 1787123073 |
language | English |
oclc_num | 1001253545 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource (1 volume) : illustrations |
psigel | ZDB-4-EBA |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | Packt Publishing, |
record_format | marc |
spelling | Zanon, Diego, author. Building serverless web applications : build scalable web apps using Serverless Framework on AWS / Diego Zanon. Build scalable web apps using Serverless Framework on AWS Birmingham, UK : Packt Publishing, 2017. 1 online resource (1 volume) : illustrations text txt rdacontent computer c rdamedia online resource cr rdacarrier Online resource; title from title page (Safari, viewed August 14, 2017). Build scalable, efficient, and highly available web apps using AWS About 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 productivity Who This Book Is For If 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 app In Detail This 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 approach This 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 provide ... Intro -- 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 deploys -- Uncertainties -- 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 CloudFront -- AWS 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 Framework -- Serverless 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 variables -- Plugins -- 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 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 -- Invalidating client-side cache -- Updating Route 53 to use CloudFront -- Supporting HTTPS -- Creating a mail exchange record -- Requesting free certificates with AWS Certificate Manager -- Configuring CloudFront to support HTTPS connections -- Summary -- Chapter 5: Building the Frontend -- Getting started with React -- React principles -- The Flux pattern -- React hello-world -- Building a shopping cart -- Preparing the development environment -- Organizing the solution -- Composing components. Implementing a component -- The App component -- The Product List component -- The Product component -- The Shopping Cart component -- The Cart Item component -- Publishing our demo -- Making Ajax requests -- Retrieving data from the server -- Sending data to the server -- Handling the page routes -- Linking pages -- Using the query parameters -- Single-Page Applications -- Pros and cons of Single-Page Applications -- Pros -- Cons -- Considerations -- Prerendering pages -- Using PhantomJS -- Using the Lambda functions for prerendering -- Rendering on the fly -- Building an online store -- The Navbar component -- The Home page -- The product details page -- The Shopping Cart page -- The Login and Signup pages -- The error pages -- Summary -- Chapter 6: Developing the Backend -- Defining the project architecture -- Monolith versus Microservices -- Nanoservices -- Microservices -- Monolith -- Graph -- Naming differences -- Developing the backend -- Defining the functionalities -- Organizing the code -- Referencing Lambda functions in other folders -- Using multiple services -- Setting the endpoints -- RESTful APIs -- Routing the HTTP verbs -- Handling HTTP responses -- Implementing the Lambda functions -- Retrieving all products -- Saving the Shopping Cart -- Checking out -- Summary -- Chapter 7: Managing a Serverless Database -- Amazon SimpleDB -- Modeling the database -- Handling one-to-many relations -- Handling numbers -- Handling Booleans -- Handling dates -- Creating a domain -- Limits -- Inserting and querying data -- Performance and concurrency -- Managing the database -- Backing up and restoring data -- Controlling user access -- DynamoDB -- Modeling the database -- Creating a table -- Limits -- Inserting and querying data -- Inserting data -- The Document Client API -- Querying data -- The scan method -- The query method. Performance and concurrency -- Managing the database -- Provisioned throughput -- Auto scaling -- Backing up and restoring data -- Controlling user access -- Improving the serverless store -- Retrieving all products -- Retrieving the user's shopping cart -- Saving the user's shopping cart -- Processing the checkout -- Amazon S3 (for media files) -- Uploading and downloading files -- Enabling CORS -- Backing up and restoring data -- Using S3 versioning -- Summary -- Chapter 8: Securing the Serverless Application -- Security basics -- Information security -- Authentication -- Authorization -- Confidentiality -- Integrity -- Non-repudiation -- Availability -- Security on AWS -- Shared responsibility model -- The Trusted Advisor tool -- Pen testing -- AWS CloudTrail -- MFA -- Handling authentication and authorization -- Amazon Cognito -- Creating a user pool -- Creating an identity pool -- Using Cognito in our serverless store -- The Signup page -- The Login page -- Persisting the user token -- Logging out -- Handling authentication in Lambda functions -- Summary -- Chapter 9: Handling Serverless Notifications -- AWS IoT -- Protocols -- Finding the IoT endpoint -- AWS IoT SDK -- Implementing serverless notifications -- Public notifications -- Adding a comment box -- Updating the list of comments -- Creating a new instance of the IoT SDK -- Sending and receiving new comments -- Triggering a Lambda function with IoT -- Private notifications -- Using credentials of an authenticated user -- Updating the logout feature -- Creating an IoT policy -- Attaching an IoT policy and connecting -- Passing the Cognito Identity to the Lambda function -- Sending IoT messages with Lambda -- Summary -- Chapter 10: Testing, Deploying, and Monitoring -- Testing your solution -- Unit testing Lambda functions -- Mocking external services -- Using Sinon.JS for mocking. Testing the frontend -- Simulating AWS services locally -- Deploying your application -- Development workflow -- Blue-green deployment -- Deploying new versions with a different database model -- Creating a new table or column -- Renaming a table or column -- Dropping a table or column -- Rollback a deployment -- Creating staging environments -- Being careful with the production environment -- Test data -- Keeping your functions warm -- Monitoring the operation -- Monitoring costs -- Monitoring errors -- Retrieving metrics with the Serverless Framework -- Streaming Lambda logs -- Handling errors -- Monitoring performance -- Monitoring efficiency -- Summary -- Index. Amazon Web Services (Firm) http://id.loc.gov/authorities/names/no2015140713 Amazon Web Services (Firm) fast Web applications Development. Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Cloud computing. http://id.loc.gov/authorities/subjects/sh2008004883 Applications Web Développement. Logiciels d'application Développement. Infonuagique. Application software Development fast Cloud computing fast has work: Building serverless web applications (Text) https://id.oclc.org/worldcat/entity/E39PCH6ymjW3hCKCrkXqfBFqcP https://id.oclc.org/worldcat/ontology/hasWork FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1565639 Volltext |
spellingShingle | Zanon, Diego Building serverless web applications : build scalable web apps using Serverless Framework on AWS / Intro -- 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 deploys -- Uncertainties -- 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 CloudFront -- AWS 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 Framework -- Serverless 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 variables -- Plugins -- 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 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 -- Invalidating client-side cache -- Updating Route 53 to use CloudFront -- Supporting HTTPS -- Creating a mail exchange record -- Requesting free certificates with AWS Certificate Manager -- Configuring CloudFront to support HTTPS connections -- Summary -- Chapter 5: Building the Frontend -- Getting started with React -- React principles -- The Flux pattern -- React hello-world -- Building a shopping cart -- Preparing the development environment -- Organizing the solution -- Composing components. Implementing a component -- The App component -- The Product List component -- The Product component -- The Shopping Cart component -- The Cart Item component -- Publishing our demo -- Making Ajax requests -- Retrieving data from the server -- Sending data to the server -- Handling the page routes -- Linking pages -- Using the query parameters -- Single-Page Applications -- Pros and cons of Single-Page Applications -- Pros -- Cons -- Considerations -- Prerendering pages -- Using PhantomJS -- Using the Lambda functions for prerendering -- Rendering on the fly -- Building an online store -- The Navbar component -- The Home page -- The product details page -- The Shopping Cart page -- The Login and Signup pages -- The error pages -- Summary -- Chapter 6: Developing the Backend -- Defining the project architecture -- Monolith versus Microservices -- Nanoservices -- Microservices -- Monolith -- Graph -- Naming differences -- Developing the backend -- Defining the functionalities -- Organizing the code -- Referencing Lambda functions in other folders -- Using multiple services -- Setting the endpoints -- RESTful APIs -- Routing the HTTP verbs -- Handling HTTP responses -- Implementing the Lambda functions -- Retrieving all products -- Saving the Shopping Cart -- Checking out -- Summary -- Chapter 7: Managing a Serverless Database -- Amazon SimpleDB -- Modeling the database -- Handling one-to-many relations -- Handling numbers -- Handling Booleans -- Handling dates -- Creating a domain -- Limits -- Inserting and querying data -- Performance and concurrency -- Managing the database -- Backing up and restoring data -- Controlling user access -- DynamoDB -- Modeling the database -- Creating a table -- Limits -- Inserting and querying data -- Inserting data -- The Document Client API -- Querying data -- The scan method -- The query method. Performance and concurrency -- Managing the database -- Provisioned throughput -- Auto scaling -- Backing up and restoring data -- Controlling user access -- Improving the serverless store -- Retrieving all products -- Retrieving the user's shopping cart -- Saving the user's shopping cart -- Processing the checkout -- Amazon S3 (for media files) -- Uploading and downloading files -- Enabling CORS -- Backing up and restoring data -- Using S3 versioning -- Summary -- Chapter 8: Securing the Serverless Application -- Security basics -- Information security -- Authentication -- Authorization -- Confidentiality -- Integrity -- Non-repudiation -- Availability -- Security on AWS -- Shared responsibility model -- The Trusted Advisor tool -- Pen testing -- AWS CloudTrail -- MFA -- Handling authentication and authorization -- Amazon Cognito -- Creating a user pool -- Creating an identity pool -- Using Cognito in our serverless store -- The Signup page -- The Login page -- Persisting the user token -- Logging out -- Handling authentication in Lambda functions -- Summary -- Chapter 9: Handling Serverless Notifications -- AWS IoT -- Protocols -- Finding the IoT endpoint -- AWS IoT SDK -- Implementing serverless notifications -- Public notifications -- Adding a comment box -- Updating the list of comments -- Creating a new instance of the IoT SDK -- Sending and receiving new comments -- Triggering a Lambda function with IoT -- Private notifications -- Using credentials of an authenticated user -- Updating the logout feature -- Creating an IoT policy -- Attaching an IoT policy and connecting -- Passing the Cognito Identity to the Lambda function -- Sending IoT messages with Lambda -- Summary -- Chapter 10: Testing, Deploying, and Monitoring -- Testing your solution -- Unit testing Lambda functions -- Mocking external services -- Using Sinon.JS for mocking. Testing the frontend -- Simulating AWS services locally -- Deploying your application -- Development workflow -- Blue-green deployment -- Deploying new versions with a different database model -- Creating a new table or column -- Renaming a table or column -- Dropping a table or column -- Rollback a deployment -- Creating staging environments -- Being careful with the production environment -- Test data -- Keeping your functions warm -- Monitoring the operation -- Monitoring costs -- Monitoring errors -- Retrieving metrics with the Serverless Framework -- Streaming Lambda logs -- Handling errors -- Monitoring performance -- Monitoring efficiency -- Summary -- Index. Amazon Web Services (Firm) http://id.loc.gov/authorities/names/no2015140713 Amazon Web Services (Firm) fast Web applications Development. Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Cloud computing. http://id.loc.gov/authorities/subjects/sh2008004883 Applications Web Développement. Logiciels d'application Développement. Infonuagique. Application software Development fast Cloud computing fast |
subject_GND | http://id.loc.gov/authorities/names/no2015140713 http://id.loc.gov/authorities/subjects/sh95009362 http://id.loc.gov/authorities/subjects/sh2008004883 |
title | Building serverless web applications : build scalable web apps using Serverless Framework on AWS / |
title_alt | Build scalable web apps using Serverless Framework on AWS |
title_auth | Building serverless web applications : build scalable web apps using Serverless Framework on AWS / |
title_exact_search | Building serverless web applications : build scalable web apps using Serverless Framework on AWS / |
title_full | Building serverless web applications : build scalable web apps using Serverless Framework on AWS / Diego Zanon. |
title_fullStr | Building serverless web applications : build scalable web apps using Serverless Framework on AWS / Diego Zanon. |
title_full_unstemmed | Building serverless web applications : build scalable web apps using Serverless Framework on AWS / Diego Zanon. |
title_short | Building serverless web applications : |
title_sort | building serverless web applications build scalable web apps using serverless framework on aws |
title_sub | build scalable web apps using Serverless Framework on AWS / |
topic | Amazon Web Services (Firm) http://id.loc.gov/authorities/names/no2015140713 Amazon Web Services (Firm) fast Web applications Development. Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Cloud computing. http://id.loc.gov/authorities/subjects/sh2008004883 Applications Web Développement. Logiciels d'application Développement. Infonuagique. Application software Development fast Cloud computing fast |
topic_facet | Amazon Web Services (Firm) Web applications Development. Application software Development. Cloud computing. Applications Web Développement. Logiciels d'application Développement. Infonuagique. Application software Development Cloud computing |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1565639 |
work_keys_str_mv | AT zanondiego buildingserverlesswebapplicationsbuildscalablewebappsusingserverlessframeworkonaws AT zanondiego buildscalablewebappsusingserverlessframeworkonaws |