Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Learn AWS Serverless Computing
Learn AWS Serverless Computing

Learn AWS Serverless Computing: A beginner's guide to using AWS Lambda, Amazon API Gateway, and services from Amazon Web Services

eBook
$9.99 $29.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Learn AWS Serverless Computing

The Evolution of Compute

You're here to learn a new skill, to expand your understanding of new ways of compute, and to follow along with the examples in this book to gain practical experience. Before we begin, it would be helpful to know a bit of the history and context behind why serverless exists. This chapter will explain the progression of thinking from the humble data center through to the new goalposts of serverless.

We'll learn how the placement of physical hardware has evolved from the perspective of the infrastructure engineer and developer, and how the different stages have allowed us to achieve new layers of compute abstraction. The evolution of these factors has also driven new ways of structuring software, and we will explore some of the reasons behind this.

The following topics will be covered in this chapter:

  • Understanding enterprise data...

Understanding enterprise data centers

How we view a data center has changed with the introduction of new technologies and software development methods. We will begin with a recap of the characteristics of a fully self-managed data center and go on to explain how our views have changed over time:

Evolutionary changes in hardware, compute, and software architectures

It's worth noting that, in all the examples in this book, there is still an underlying data center that has to be managed, but now we're talking about shifting that responsibility of management. In the preceding diagram, each stream of evolution is not tightly linked. For example, monoliths can still be run on private or public clouds. In this section, we will cover the evolution of hardware over time and focus in on the following topics:

  • The physical data center
  • Colocating our gear
  • Cloud born
...

Exploring the units of compute

In the previous section, we were reminded of the progression of building data centers to consuming cloud resources. We can also relate this shift to how we provision, deploy, and scale our compute resources. Let's have a look at how our thinking has moved from deploying physical servers to scaling our applications and to scaling at an application function level:

  • Physical servers: Scale at the physical server layer
  • Virtual machines: Density efficiencies achieved by virtualizing the hardware
  • Containers: Better density with faster start times
  • Functions: Best density by abstracting the runtime

Physical servers – scale at the physical server layer

When designing for scale in...

Understanding software architectures

The evolution of compute has also opened new possibilities regarding how we structure and architect our applications. Mark Richards talks about "Ingredients that go into an evolutionary cauldron agility, velocity, and modularity" (source: keynote talk, Fundamentals of software architecture at O'Reilly Software Architecture Conference in London 2016). By this, he means that, when we are talking about the topic of software architecture, we need the ability to change and evolve the way we do things in order to keep up with the ever-increasing expectations we have of new technologies. Instead of investing in complex analysis and planning, organizations should invest in making sure their software solutions include the essential evolutionary ingredients so they can change and evolve at an acceptable pace when...

Predicting what comes next

So, what is the next evolution after nanoservices? We've already seen applications being broken into smaller and smaller parts with the edition of repositories so that developers can share useful functions with others in the community. 

I think we're going to see more sharing of things we can build into our applications, especially things we may not be specialists in building. I postulate that an Algorithms as a Service concept will emerge and become increasingly popular very soon. Developers who have knowledge in a particular problem domain or technology vertical will be able to share their models or the use of those models with others to achieve the same inferences.

A simple example could be a recommendation engine that predicts the likelihood of a customer purchasing a product, given their previous buying or browsing behaviors. Models...

Summary 

This chapter has been a reminder of the reasons behind hardware, compute, and software architectures evolving to where they are today. As we discovered, the progression of how we want to be less and less responsible for the hardware and compute we consume has been a large driver to abstracting management and responsibility away. 

In the next chapter, we're going to explore some of the factors contributing to how designing and building applications has changed with the adoption of serverless architectures.

Questions

  1. Which compute option gives you the best workload density?

A) Virtual machines
B) Containers
C) Functions
D) Bare metal

  1. Which of the following is a benefit of an n-tier architecture?

A) Defined and separated areas of responsibility
B) Each tier can be scaled individually
C) Controlled network isolation between tiers
D) All of the above

  1. What is the typical lifetime of a container?

A) Minutes or hours
B) Milliseconds or seconds
C) Days or weeks
D) Months or years

  1. When creating virtual machines on a physical server, what must you take into account?

A) Air temperature and humidity
B) The type of workloads running on the physical host
C) The amount of available CPU and memory

Further reading

Left arrow icon Right arrow icon

Key benefits

  • Learn how to write, run, and deploy serverless applications in Amazon Web Services
  • Make the most of AWS Lambda functions to build scalable and cost-efficient systems
  • Build and deploy serverless applications with Amazon API Gateway and AWS Lambda functions

Description

Serverless computing is a way to run your code without having to provision or manage servers. Amazon Web Services provides serverless services that you can use to build and deploy cloud-native applications. Starting with the basics of AWS Lambda, this book takes you through combining Lambda with other services from AWS, such as Amazon API Gateway, Amazon DynamoDB, and Amazon Step Functions. You’ll learn how to write, run, and test Lambda functions using examples in Node.js, Java, Python, and C# before you move on to developing and deploying serverless APIs efficiently using the Serverless Framework. In the concluding chapters, you’ll discover tips and best practices for leveraging Serverless Framework to increase your development productivity. By the end of this book, you’ll have become well-versed in building, securing, and running serverless applications using Amazon API Gateway and AWS Lambda without having to manage any servers.

Who is this book for?

This AWS book is for cloud architects and developers who want to build and deploy serverless applications using AWS Lambda. A basic understanding of AWS is required to get the most out of this book.

What you will learn

  • Understand the core concepts of serverless computing in AWS
  • Create your own AWS Lambda functions and build serverless APIs using Amazon API Gateway
  • Explore best practices for developing serverless applications at scale using Serverless Framework
  • Discover the DevOps patterns in a modern CI/CD pipeline with AWS CodePipeline
  • Build serverless data processing jobs to extract, transform, and load data
  • Enforce resource tagging policies with continuous compliance and AWS Config
  • Create chatbots with natural language understanding to perform automated tasks

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 24, 2019
Length: 382 pages
Edition : 1st
Language : English
ISBN-13 : 9781789959956
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Dec 24, 2019
Length: 382 pages
Edition : 1st
Language : English
ISBN-13 : 9781789959956
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 131.97
Serverless Architectures with Kubernetes
$43.99
Networking Fundamentals
$43.99
Learn AWS Serverless Computing
$43.99
Total $ 131.97 Stars icon
Banner background image

Table of Contents

19 Chapters
Section 1: Why We're Here Chevron down icon Chevron up icon
The Evolution of Compute Chevron down icon Chevron up icon
Event-Driven Applications Chevron down icon Chevron up icon
Section 2: Getting Started with AWS Lambda Functions Chevron down icon Chevron up icon
The Foundations of a Function in AWS Chevron down icon Chevron up icon
Adding Amazon API Gateway Chevron down icon Chevron up icon
Leveraging AWS Services Chevron down icon Chevron up icon
Going Deeper with Lambda Chevron down icon Chevron up icon
Section 3: Development Patterns Chevron down icon Chevron up icon
Serverless Framework Chevron down icon Chevron up icon
CI/CD with the Serverless Framework Chevron down icon Chevron up icon
Section 4: Architectures and Use Cases Chevron down icon Chevron up icon
Data Processing Chevron down icon Chevron up icon
AWS Automation Chevron down icon Chevron up icon
Creating Chatbots Chevron down icon Chevron up icon
Hosting Single-Page Web Applications Chevron down icon Chevron up icon
GraphQL APIs Chevron down icon Chevron up icon
Assessment Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(5 Ratings)
5 star 60%
4 star 0%
3 star 20%
2 star 20%
1 star 0%
Rajib Das Aug 14, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I read it through the packet subscription. This is a great introduction to this subject plus I really liked the writing style. My recommendation is to buy it here or go for a packet subscription which is only quite cheap.
Amazon Verified review Amazon
Mike Lewis Feb 09, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Amazing book. takes the reader from simple steps to actually building Lamdba functions in a few chapters. great foundational knowledge. you will go from 'zero to hero' with this book. cannot recommend it enough. Awesome read
Amazon Verified review Amazon
Alex Thomson Feb 26, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a very useful guide for best-practices when designing and implementing server-less solutions on AWS. It has plenty of REAL WORLD use-cases and examples, and is surprisingly easy to read. 100% recommend
Amazon Verified review Amazon
Jason in Chicago Jul 06, 2021
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
Just read Full Stack Serverless from O’Reilley (good) before this (meh) and it seemed more useful for AWS + JS with about half the pages.The Packt series seems to be focused on the Serverless Framework (SF) as opposed to AWS Amplify which seems better for an AWS focused project. Maybe SF was better when these Packt books were written, but my noob opinion is that Amplify is better.In the book I liked the examples seemed both simpler and more useful. In this book many examples seemed more like complicated “hello world” by comparison.
Amazon Verified review Amazon
marcuscassius Oct 17, 2020
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
It might be a good beginners guide if you're a developer and know a language already. The flurry of terms I was expected to know was overwhelming. I tried rereading this four and five times to figure out what he was talking about and got completely lost. This is not a beginners book.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.