3. Hello!
I am smalltown
AMIS Lead Site Reliability Engineering
Taipei HashiCorp User Group Organizer
AWS User Group Taiwan Staff
4. Agenda
● Background
● ElasticSearch on Private Cloud
● AWS ElasticSearch Service
● ElasticSearch Operator on Kubernetes
● Open Distro for ElasticSearch on Kubernetes
9. What is My ElasticSearch Journey?!
● ElasticSearch on Private Cloud
● AWS ElasticSearch Service
● ElasticSearch Operator on Kubernetes
● Open Distro for ElasticSearch on Kubernetes
11. What Happened?!
● First Time Maintain Official ElasticSearch Cluster
● Manually Scale Instance Number & Type, also Disk Volume, IOPS
● Don’t Know Cost How Much (Chargeback)
12. Retrospective
Advantage
The Cost of Large-Scale Data Center is Lower than Public Cloud
Soft Reminder
Cannot Scale Resource Automatically, Need to colleagues’ assistant
14. What Happened?!
● There is no Time for a Crazy Growing Startup Company to Survey, Setup
● ElasticSearch Service Provide a Fast, Stable Way for Log Central
Management
● Only One Click, Everything Works
17. What Happened?!
● The Log Size Grows Day by Day, Hence, The Cost also Grows
● Some Teams Only Use Kubernetes as Application Workload
● Find the Easy Way to Deploy ElasticSearch into Kubernetes (Operator)
18. What is ElasticSearch (K8S) Operator?
● It is a Software with ElasticSearch Operation Knowledge
● Enable Users to Create, Configure, and Manage ElasticSearch
Cluster Automatically
Ref
19. Retrospective
Advantage
Leverage Vishwakarma to Self-Hosted Kubernetes Cluster W/ All Spot Instances
Leverage ElasticSearch Operator to Deploy ElasticSearch Cluster within Several Hours
Soft Reminder
The Log Size Still Grows, Operator Cannot Adjust Detail ElasticSearch Configuration
ElasticSearch OSS Version Doesn’t Fulfill Company’s Compliance
21. What Happened?!
● Still Using Vishwakarma to Self-Hosted Kubernetes Cluster W/ All Spot
Instances
● Leverage Elastic Official Helm Chart W/ Little Customize to Deploy
ElasticSearch & Kibana
● Replace ElasticSearch & Kibana OSS W/ Open Distro for ElasticSearch
22. What is Open Distro for ElasticSearch?
● AWS Official Depends on ElasticSearch OSS version to Append More
Strong Features
● Currently There are Security, Alerting, SQL, Performance Analyzer, Index
Management...etc
● Preparing to add Anomaly Detection, k-NN Search, Security integration
with alerting in the future
23. Retrospective
Advantage
Elastic Official Helm Chart Let me do whatever I want for the ElasticSearch Cluster
The Kubernetes Cluster Still Keeps the Lowest Cost
The ElasticSearch Cluster Meet My Company Compliance Now
Soft Reminder
It takes Time to Setup Open Distro for ElasticSearch (Document is not so Friendly)
25. 💰 Money! 💰 Money! 💰 Money!
By Month
(US$)
ElasticSearch
(r5.2xlarge * 5)
Logstash
(t3.large * 2)
ETCD/Kibana
(t3.medium * 1)
K8S Master
(t3.medium * 1)
Total
Service 2,675 120 30 (Kibana) N/A 2,825
Self-Hosted 540 (Spot) N/A 30 (ETCD) 9 (Spot) 579
● This is just a Simple Example
● Not Including EBS Volume, Redis...etc (Both Solution Necessary)
26. THANKS!
ANY QUESTIONS?
You can find me at my office:
● Frontend Engineer
● Software Engineer
● Software Engineer in Test
● Project Manager Job Page