Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Serverless Web Applications

You're reading from   Building Serverless Web Applications Develop scalable web apps using the Serverless Framework on AWS

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781787126473
Length 354 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Diego Zanon Diego Zanon
Author Profile Icon Diego Zanon
Diego Zanon
Arrow right icon
View More author details
Toc

Monitoring the operation


The serverless concept is defined as running your code without worrying about the infrastructure that will be responsible for supporting it. This still holds true, but there are some DevOps tasks that may improve your application's efficiency and stability. Therefore, you should not confuse serverless with NoOps. You just don't need to worry that much about the infrastructure.

Since we are using AWS, we are going to use its monitoring tool: Amazon CloudWatch. There are some other paid and free tools that can also be used for this task, so feel free to compare them before selecting your own tool.

To use CloudWatch, open the Management Console at https://console.aws.amazon.com/cloudwatch, and let's see in the following subsections how we can monitor our Lambda functions:

Monitoring costs

Estimating costs in serverless is a difficult task, since it depends highly on usage. Also, deploying a new function may result in unexpected costs due to programming errors. For example...

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 €18.99/month. Cancel anytime