Getting started on AWS is easy, but building a scalable, reliable and performant product in the cloud can be a challenge for startups and enterprises alike. Netflix has famously migrated all our services to the cloud. Along the way, we have open sourced large portions of our platform that helped make this a reality. In this talk, Mike McGarr (Manager, Netflix Build Tools) will provide a survey of the @NetflixOSS products available. Mike will also share patterns and lessons Netflix learned migrating to the cloud. Lastly, Mike will leave you with a roadmap for how to get started with @NetflixOSS on your cloud today. This talk will cover the following @NetflixOSS products, and more!
1. Zero to the Cloud
with @NetflixOSS
Mike McGarr
mmcgarr@netflix.com
@SonOfGarr
http://www.MikeMcGarr.com
2. about me
• J. Michael (Mike) McGarr
• Engineering Manager, Netflix Build Tools
• Founder, DC Continuous Delivery Meetup
• Former Director of DevOps, Blackboard
• Excella Consulting
• Booz Allen Hamilton
11/17/14 @SonOfGarr 2
7. The Netflix Way
Everything is “built for three”
Fully automated build tools to
test and make packages
Fully automated machine
image bakery
11/17/14 @SonOfGarr 7
8. The Netflix Way
Fully automated image deployment
Service teams responsible for both
“Dev” and “Ops”
Redundancy through multi-region
deployment
11/17/14 @SonOfGarr 8
12. Zero to the Cloud
• Stand-up your own
NetflixOSS cloud
• Aminator
• BaseAMI
• Asgard
• Edda
• Eureka
http://nflx.it/zerotocloud
11/17/14 @SonOfGarr 12
13. foundations
• account setup
• user, roles, security groups
• jumphost
• foundation AMI
11/17/14 @SonOfGarr 13
22. Aminator
• python library used
to “bake” EBS AMI’s
• must bake per
region
• works with system
packages, Chef,
Puppet, Ansible, etc
11/17/14 @SonOfGarr 22
35. service discovery?
• ephemeral nature of the cloud
– instances come and go
– ASG’s come and go
• need to register/de-register a server
• load balance middle-tier services w/o public
exposure
11/17/14 @SonOfGarr 35
38. state of the cloud?
• your cloud is dynamic:
– new instances
– IP address reuse
– new firewalls
• I want to track changes over time
– not provided by AWS
11/17/14 @SonOfGarr 38
39. edda
• polls AWS resources
• quick search via REST API
• changes over time
• architecture:
– Scala
– MongoDB backend
11/17/14 @SonOfGarr 39
40. cloud persistence
• a variety of NoSQL persistence needs
• utilize open source
• Problems:
– not cloud native
– poor operational features
http://techblog.netflix.com/2011/01/nosql-at-netflix.html
11/17/14 @SonOfGarr 40
64. We are Hiring!
Senior Cloud Tools Engineer
http://nflx.it/140BnJN
Senior Tooling Integration Engineer
Mike McGarr
mmcgarr@netflix.com
@SonOfGarr
http://www.mikemcgarr.com
http://nflx.it/1xyhkeD
11/17/14 @SonOfGarr 64
Editor's Notes
----- Meeting Notes (10/9/14 12:28) -----
voice track here
47 repos
----- Meeting Notes (11/17/14 13:47) -----
redraw as two separate Amis
-e = environment
-b = starting AMI
-n = use a named image
aminator adds the –ebs to the AMI name
problems:
ZK statically configured
limited tools to manage the ensemble
backup/restore
visualization
periodic cleanup
Ephemeral - The data stored is for a short duration as specified by its TTL(Time To Live).
Volatile - The data can disappear any time (Evicted).
Cache – An in-memory key-value store.