Weitere ähnliche Inhalte Ähnlich wie How to implement microservices (20) Kürzlich hochgeladen (20) How to implement microservices1. How to Implement MicroservicesDevOpsExchangeLondonApr2014
Marc Cluet
DevOps & Automation Advisory
Rackspace
https://www.flickr.com/photos/charlattecreations/2451149483
2. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Who am I?!
Marc Cluet (@lynxman)
More than 16 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 5 years now
3. 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
4. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/wintermute2600/4056854111
7. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/marfis75/3279307888
9. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
https://www.flickr.com/photos/5wa/8593739154
10. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
So… Microservices!!
Microservices force you to!
Design for Failure!!
!!
12. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Recommendations!
https://www.flickr.com/photos/mdpettitt/4818781521
13. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
1 Server per Service!
https://www.flickr.com/photos/90994070@N00/4700774401
14. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Do your HA right!
https://www.flickr.com/photos/daverugby83/4583767689
15. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Containers!
https://www.flickr.com/photos/gcwest/281385801
19. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
API Versioning!
https://www.flickr.com/photos/kevinbyrom/5027408898/
20. 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}
21. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Sync vs Async!
https://www.flickr.com/photos/beate_meier/8337014543
25. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Dark Side of Microservices!
https://www.flickr.com/photos/kalexanderson/7556757396
26. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Costs!
https://www.flickr.com/photos/amagill/3366720659
27. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Concentration!
https://www.flickr.com/photos/z_wenjie/5602616401
28. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
Network Fragmentation!
https://www.flickr.com/photos/small_realm/6898449633
29. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK
https://www.flickr.com/photos/mikko_luntiala/12691267935
https://www.flickr.com/photos/dullhunk/202872717
30. 30
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/ !
!