Download - Microservices and the Cloud
![Page 1: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/1.jpg)
Microservices and the Cloud DevOps Meetup Amsterdam May 2014
Marc Cluet DevOps & Automation Advisory Rackspace
https://www.flickr.com/photos/zachd1_618/5344850282
![Page 2: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/2.jpg)
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
![Page 3: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/3.jpg)
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
![Page 4: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/4.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/wintermute2600/4056854111
![Page 5: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/5.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
Microservices are not new!!!
![Page 6: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/6.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
![Page 7: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/7.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/marfis75/3279307888
![Page 8: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/8.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
Microservices are reliant!!!
![Page 9: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/9.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/5wa/8593739154
![Page 10: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/10.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
Microservices force you to!Design for Failure!!
!!
![Page 11: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/11.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
![Page 12: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/12.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Recommendations!
https://www.flickr.com/photos/sarunas_b/9630357613
![Page 13: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/13.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!
https://www.flickr.com/photos/egs/183990473
![Page 14: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/14.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Could Fitting!
https://www.flickr.com/photos/egs/183990473
Orchestration!Cost Control!Anti-Fragile!Security in all Layers!!!
![Page 15: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/15.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!
Router
API Server
Scheduler
MQ
Worker
![Page 16: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/16.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!Load
Balancer
API Server API Server API Server API Server MQ
Worker Worker Worker Worker
Scheduler
![Page 17: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/17.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!
Orchestration
Provisioning Config Mgmt Metrics
![Page 18: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/18.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Cloud Fitting!Orchestration! Metrics!
Provisioning! Config Mgmt!
cloud-init!
mcollective!
![Page 19: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/19.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Recommendations!
https://www.flickr.com/photos/mdpettitt/4818781521
![Page 20: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/20.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
1 Server per Service!
https://www.flickr.com/photos/90994070@N00/4700774401
![Page 21: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/21.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Do your HA right!https://www.flickr.com/photos/daverugby83/4583767689
![Page 22: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/22.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
https://www.flickr.com/photos/gcwest/281385801
![Page 23: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/23.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
![Page 24: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/24.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
<3!!!
![Page 25: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/25.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
![Page 26: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/26.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
API Versioning!
https://www.flickr.com/photos/kevinbyrom/5027408898/
![Page 27: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/27.jpg)
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}
![Page 28: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/28.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
https://www.flickr.com/photos/beate_meier/8337014543
![Page 29: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/29.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
Action 1 Action 2 Action 3
![Page 30: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/30.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
Action 1 Action 2
Action 2b
Action 3
![Page 31: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/31.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
Router
API Server
Scheduler
MQ
Worker
![Page 32: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/32.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Break things!!
https://www.flickr.com/photos/small_realm/6898449633
![Page 33: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/33.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Break things!!
https://www.flickr.com/photos/small_realm/6898449633
![Page 34: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/34.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Dark Side of Microservices!
https://www.flickr.com/photos/kalexanderson/7556757396
![Page 35: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/35.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Costs!
https://www.flickr.com/photos/amagill/3366720659
![Page 36: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/36.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Concentration!
https://www.flickr.com/photos/z_wenjie/5602616401
![Page 37: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/37.jpg)
RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Network Fragmentation!
https://www.flickr.com/photos/small_realm/6898449633
![Page 38: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/38.jpg)
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/ !
!
![Page 39: Microservices and the Cloud](https://reader033.vdocuments.us/reader033/viewer/2022051210/54b6b3f64a795942358b4582/html5/thumbnails/39.jpg)
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/ !
!