which watcher watches cloudwatch

41
Which watcher watches cloudwatch? David Lutz @dlutzy

Upload: david-lutz

Post on 17-Jan-2015

931 views

Category:

Technology


2 download

DESCRIPTION

Product comparison of services that consume CloudWatch data and create dashboards. A talk at the AWS Melbourne user group February 2014.

TRANSCRIPT

Page 1: Which watcher watches CloudWatch

Which watcher watches cloudwatch?

David Lutz@dlutzy

Page 2: Which watcher watches CloudWatch

about me

sysadmin

Page 3: Which watcher watches CloudWatch

about me

sysadmindevops

Page 4: Which watcher watches CloudWatch

about me

sysadmindevopsoperations

Page 5: Which watcher watches CloudWatch

about me

sysadmindevopsweb operations

Page 6: Which watcher watches CloudWatch

about me

sysadmindevopsweb operations

Page 7: Which watcher watches CloudWatch

about me

#monitoringlove

#infracoders

I “drive” website infrastructure

Page 8: Which watcher watches CloudWatch

What do I mean by “drive”?

Operate, anything not build related.

● Gather telemetry or metrics on running system● Use metrics to make decisions about capacity and

architecture● Know what the bottlenecks are and when we’ll hit

them● Advise the business about cost vs performance

tradeoffs● Fix things when the break

Page 9: Which watcher watches CloudWatch

Work with my friends the developers…

They build the things I drive.

Page 10: Which watcher watches CloudWatch

What the developers think they built

Page 11: Which watcher watches CloudWatch

What they actually built

Page 12: Which watcher watches CloudWatch

How operations see themselves

Page 13: Which watcher watches CloudWatch

How dev sees ops

Page 14: Which watcher watches CloudWatch

The Perfect Dashboard

Page 15: Which watcher watches CloudWatch

How fast are we going?(km/h)

Page 16: Which watcher watches CloudWatch

How hard is the engine working

(RPM)

Page 17: Which watcher watches CloudWatch

Is anything broken?(alerts)

Page 18: Which watcher watches CloudWatch

How fast can we go before redline

How far can we go before running out of fuel

(Thresholds)

Page 19: Which watcher watches CloudWatch

How fast are we going? latency (ms)

Page 20: Which watcher watches CloudWatch

How hard are the servers working? throughput (rpm)

Page 21: Which watcher watches CloudWatch

Is anything broken?

Page 22: Which watcher watches CloudWatch

What about thresholds?

You must load test to find the breaking points and bottlenecks yourself.

Load testing is hard.

Page 23: Which watcher watches CloudWatch

AWS CloudWatch pros and cons.Comparison of three SAAS products that consume CloudWatch metrics.

NewRelic StackdriverLibrato

Page 24: Which watcher watches CloudWatch

CloudWatch limitations

Page 25: Which watcher watches CloudWatch

CloudWatch limitations...

● two week data retention● can’t create custom dashboards● UI is better than it used to be…● can’t time shift metrics to compare last

week to this week

Page 26: Which watcher watches CloudWatch

However in CloudWatch’s defense

● good for ad hoc exploration of data● most up to date● can set thresholds and alert on them● can push custom metrics (does anyone use

this?)

Page 27: Which watcher watches CloudWatch
Page 28: Which watcher watches CloudWatch
Page 29: Which watcher watches CloudWatch
Page 30: Which watcher watches CloudWatch

Setting up access

Create IAM group and user

Give Access Key and Secret Key to Librato

Page 31: Which watcher watches CloudWatch

Setting up access

Create IAM group and user

Launch t1.micro AMI from marketplace (or run it on your own server) Configure and run Sync process (is a ruby gem)

Page 32: Which watcher watches CloudWatch

Setting up access

Create role for “cross account access” for “3rd party”, “read only”

Give stackdriver the Role ARN.

Page 33: Which watcher watches CloudWatch

NewRelic Stackdriver Librato

3 months 13 months(Elite tier)

12 months (rolled up to 1 hour resolution)

Data retention

Page 34: Which watcher watches CloudWatch

Features

NewRelic Stackdriver Librato

Custom dashboards ✓ ✓ ✓

Real time update ✓ ✓ ✓

Metric lag time display ✓

Time shift overlay ✓

Server agent ✓ ✓

Mobile client ✓

Custom metrics ✓ ✓ ✓

Events (like deployments) ✓ ✓ ✓

Page 35: Which watcher watches CloudWatch

NewRelic Stackdriver Librato

integration with existing system

open up access to those who wouldn’t otherwise have access

easily define and clusters and aggregate

imports CloudTrail data, who did what when?

anomaly detection

integration with existing system

flexibility of data collection and retention

Key benefits IMHO

Page 36: Which watcher watches CloudWatch

NewRelic Stackdriver Librato

Free if you already use NewRelic

But you need a server to run the collector

$12 per resource (Elite tier)

AWS Billing $0.60DynamoDB $1.10EBS $0.50EC2 $0.50ELB $0.65ElastiCache $1.95EMR $1.30OpsWorks $0.75RDS $0.70Redshift $0.75Route53 $0.05SNS $0.20SQS $0.40...

(per instance)

Costs (per month)

Page 37: Which watcher watches CloudWatch
Page 38: Which watcher watches CloudWatch
Page 39: Which watcher watches CloudWatch
Page 40: Which watcher watches CloudWatch
Page 41: Which watcher watches CloudWatch

Say g’day to me

@dlutzy