Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Serverless Computing

You're reading from  Hands-On Serverless Computing

Product type Book
Published in Jul 2018
Publisher Packt
ISBN-13 9781788836654
Pages 350 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Kuldeep Chowhan Kuldeep Chowhan
Profile icon Kuldeep Chowhan
Toc

Table of Contents (16) Chapters close

Preface 1. What is Serverless Computing? 2. Development Environment, Tools, and SDKs 3. Getting Started with AWS Lambda 4. Triggers and Events for AWS Lambda 5. Your First Serverless Application on AWS 6. Serverless Orchestration on AWS 7. Getting Started with Azure Functions 8. Triggers and Bindings for Azure Functions 9. Your First Serverless Application on Azure 10. Getting Started with Google Cloud Functions 11. Triggers and Events for Google Cloud Functions 12. Your First Serverless Application on Google Cloud 13. Reference Architecture for a Web App 14. Reference Architecture for a Real-time File Processing 15. Other Books You May Enjoy

Add to cart

Let's look at the use case of adding a hotel to the cart. What I'm going to walk through is a very slimmed down version of what an e-commerce, add to cart functionality, will look like. In reality, it is a very complex system to build and operate. As mentioned, we need the following resources for this use case:

  • Amazon Route 53 for storing the domain name of our hotel travel website, as discussed in the previous use case
  • Amazon API Gateway for handling the HTTP(S) that come to our hotel website to add a hotel to their cart
  • The AWS Lambda Function for handling the addition of hotels to carts
  • The Amazon DynamoDB table that stores the cart items, along with information such as hotel details, trip start date and end date, and the number of adults and children

The reference architecture of how the system works is shown in the following diagram. The flow for the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime