microservices and the cloud
DESCRIPTION
Persentation from the Amsterdam DevOps Meeting May 2014TRANSCRIPT
Microservices and the Cloud DevOps Meetup Amsterdam May 2014
Marc Cluet DevOps & Automation Advisory Rackspace
https://www.flickr.com/photos/zachd1_618/5344850282
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Who am I?!Marc Cluet (@lynxman)
Head of DevOps Advisory 17 years of experience as a SysAdmin Founding member of Juju and MAAS while at Canonical Leading a DevOps Engineering Team at Rackspace Been DevOps’in for the last 5 years
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
What is Rackspace?!Founded in 1998 in San Antonio, TX by three guys that wanted to create a hosting company Home of Fanatical Support /o/ Second biggest Public Cloud in the world OpenStack Project co-founder
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/wintermute2600/4056854111
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
Microservices are not new!!!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/marfis75/3279307888
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
Microservices are reliant!!!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/5wa/8593739154
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
Microservices force you to!Design for Failure!!
!!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Recommendations!
https://www.flickr.com/photos/sarunas_b/9630357613
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!
https://www.flickr.com/photos/egs/183990473
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Could Fitting!
https://www.flickr.com/photos/egs/183990473
Orchestration!Cost Control!Anti-Fragile!Security in all Layers!!!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!
Router
API Server
Scheduler
MQ
Worker
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!Load
Balancer
API Server API Server API Server API Server MQ
Worker Worker Worker Worker
Scheduler
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!
Orchestration
Provisioning Config Mgmt Metrics
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!Orchestration! Metrics!
Provisioning! Config Mgmt!
cloud-init!
mcollective!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Recommendations!
https://www.flickr.com/photos/mdpettitt/4818781521
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
1 Server per Service!
https://www.flickr.com/photos/90994070@N00/4700774401
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Do your HA right!https://www.flickr.com/photos/daverugby83/4583767689
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
https://www.flickr.com/photos/gcwest/281385801
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
<3!!!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
API Versioning!
https://www.flickr.com/photos/kevinbyrom/5027408898/
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
API Versioning!
https://www.flickr.com/photos/kevinbyrom/5027408898/
Version 1 /servers?image=imageId& flavor=flavorId& name=serverName& status=serverStatus& marker=markerID& limit=int&changes-since=dateTime& RAX-SI:image_schedule=boolean
Version 2 /v2/{tenant_id}/servers{?changes-since,image,flavor,name,marker,limit,status,host}
Version 3 /v3/servers/{server_id}/action {?changes-since,image,flavor,name,marker,limit,status,host}
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
https://www.flickr.com/photos/beate_meier/8337014543
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
Action 1 Action 2 Action 3
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
Action 1 Action 2
Action 2b
Action 3
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
Router
API Server
Scheduler
MQ
Worker
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Break things!!
https://www.flickr.com/photos/small_realm/6898449633
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Break things!!
https://www.flickr.com/photos/small_realm/6898449633
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Dark Side of Microservices!
https://www.flickr.com/photos/kalexanderson/7556757396
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Costs!
https://www.flickr.com/photos/amagill/3366720659
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Concentration!
https://www.flickr.com/photos/z_wenjie/5602616401
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Network Fragmentation!
https://www.flickr.com/photos/small_realm/6898449633
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
https://www.flickr.com/photos/mikko_luntiala/12691267935
https://www.flickr.com/photos/dullhunk/202872717
@lynxman!
http://slideshare.net/lynxmanuk/!
http://www.rackspace.co.uk/technicalservices/ !
!
39 RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.CO.UK
RACKSPACE® HOSTING | 5 MILLINGTON ROAD | HAYES, UNITED KINGDOM UB3 4AZ UK SALES: +44 (0)20 8712 6507 | UK SUPPORT: 0800 988 0300 | WWW.RACKSPACE.CO.UK
@lynxman!
http://slideshare.net/lynxmanuk/!
http://www.rackspace.co.uk/technicalservices/ !
!