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
All 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
Arrow up icon
GO TO TOP
AWS Administration Cookbook

You're reading from   AWS Administration Cookbook Harness the full capability of AWS

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781787127630
Length 394 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Udell Udell
Author Profile Icon Udell
Udell
 Chan Chan
Author Profile Icon Chan
Chan
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. AWS Fundamentals FREE CHAPTER 2. Managing AWS Accounts 3. Storage and Content Delivery 4. Using AWS Compute 5. Management Tools 6. Database Services 7. Networking 8. Security and Identity 9. Estimating Costs

Creating e-mail alarms


While e-mail alarms may not be the most scalable of all alarms (due to the amount of e-mail most people get), they are the easiest to integrate—almost everyone has an e-mail address!

This recipe uses two AWS services:

  • CloudWatch (CW)
  • Simple Notification Service (SNS)

As you will often want to create alarms for metrics after viewing them through the CloudWatch dashboard, this recipe will use the console to create the alarms.

How to do it...

  1. In the CloudWatch console, go to the Alarms section:
  1. Click Create Alarm to start the wizard:
  1. Select the metric you are interested in alerting on. In this case, we will choose By Function Name under Lambda Metrics:
  1. Select the specific metric. You can filter by any of the values in the table. In this case, we will select Errors and click Next:
  1. Define the alarm, giving at least a name and a threshold. In this case, we will alert if there are ever any errors (such as > 0):
  1. In the Actions section, create a new list by giving the e-mail address...
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 $15.99/month. Cancel anytime
Visually different images