AECF: A Look into Cyber Crime - Doomsday Preppers for the Naked and Afraid
Are Your Microservices Naked and Afraid?
-
Upload
pivotal -
Category
Technology
-
view
220 -
download
0
Transcript of Are Your Microservices Naked and Afraid?
![Page 1: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/1.jpg)
©2015 Apigee Corp. All Rights Reserved. 1
ARE YOUR MICROSERVICES
![Page 2: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/2.jpg)
©2015 Apigee Corp. All Rights Reserved.
First a Story……
2
![Page 3: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/3.jpg)
©2015 Apigee Corp. All Rights Reserved.
Microservices on the Internet
3
![Page 4: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/4.jpg)
©2015 Apigee Corp. All Rights Reserved. 4
?
![Page 5: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/5.jpg)
©2015 Apigee Corp. All Rights Reserved. 5
Amazon Internal Datacenter circa 2008
![Page 6: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/6.jpg)
©2015 Apigee Corp. All Rights Reserved.
SOLUTION :
Zero-Trust Microservices
6
![Page 7: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/7.jpg)
©2015 Apigee Corp. All Rights Reserved.
5 steps to make this better
NO CODE CHANGES NECESSARY !!
7
![Page 8: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/8.jpg)
©2015 Apigee Corp. All Rights Reserved.
Step 1: Setting up a Pass-Through proxies
8
API Gateway
Microservice
Microservice
![Page 9: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/9.jpg)
©2015 Apigee Corp. All Rights Reserved.
Step 2: Stay on the lookout
9
![Page 10: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/10.jpg)
©2015 Apigee Corp. All Rights Reserved.
Step 3: Protect your backend
10
= BAD
![Page 11: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/11.jpg)
©2015 Apigee Corp. All Rights Reserved.
Micro-circle of doom
11
Spike in Traffic
100% CPU Utilization
Poor response time
Users Press Refresh /Retry Logic
![Page 12: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/12.jpg)
©2015 Apigee Corp. All Rights Reserved.
Spike Arrest Filtering
12
Spike Arrest Filter
![Page 13: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/13.jpg)
©2015 Apigee Corp. All Rights Reserved.
Step 4: Catch bad API bots
13
![Page 14: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/14.jpg)
©2015 Apigee Corp. All Rights Reserved.
Solution = Machine Learning + Crowdsourcing
14
Company 1Microservice
sCompany 2Microservice
s
Traffic Analytics with Machine Learning
![Page 15: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/15.jpg)
©2015 Apigee Corp. All Rights Reserved.
Step 5 – Cache it Don’t Waste it
15
![Page 16: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/16.jpg)
©2015 Apigee Corp. All Rights Reserved.
Joint probability governs microservice behavior
16
# of App Server calls3
Availability:97%
Assume each service has 99% availability
![Page 17: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/17.jpg)
©2015 Apigee Corp. All Rights Reserved.
Caching the Edge = Instant Cost Reduction & Availability
17
Cache# of App Server calls
1.5 vs 3
Availability:98.5% vs 97%
50% Cache hit rate
![Page 18: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/18.jpg)
©2015 Apigee Corp. All Rights Reserved.
Cache Analytics
18
![Page 19: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/19.jpg)
©2015 Apigee Corp. All Rights Reserved.
Caching all layers = Instant Cost Reduction & Availability
19
Cache
# of App Server calls1 vs 3
Availability:99.25% vs 97%
50% Cache hit rate Cache
Cache
![Page 20: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/20.jpg)
©2015 Apigee Corp. All Rights Reserved.
Recap of Benefits
1. Proxy with no code changes2. Find easy opportunities to improve
performance3. Guard against traffic spikes4. Guard against bots5. Cache to improve availability + costs
20
![Page 21: Are Your Microservices Naked and Afraid?](https://reader035.fdocuments.us/reader035/viewer/2022081605/587b98921a28ab4e4f8b6e3b/html5/thumbnails/21.jpg)
©2015 Apigee Corp. All Rights Reserved. 21
COME BY APIGEE BOOTH TO LEARN MORE