SlideShare a Scribd company logo
PENINGKATANPERFORMASKALABILITASAPLIKASIIOTBERBASISCLOUD
DENGAN ARSITEKTURMICROSERVICEMENGGUNAKANKUBERNETES
CLUSTER SEBAGAI CONTAINER ORCHESTRATOR
PADAPRODUCTIONENVIRONMENT
Alfian Firmansyah 1706985874
“Art Mage”, illustrated by Surya Asmoro
Available at https://www.artstation.com/artwork/w8RQA9
Pembimbing:
Dr. Ruki Harwahyu, S.T., M.T., M.Sc.
SEMINAR PROPOSAL
https://cloudcow.com/content/5-possible-ways-5g-will-impact-cloud-computing/
ARSITEKTURIOT-CLOUD
Combined Powers
Raises a new
HERO
in the world of
Indonesische
. . .
Only
The IoTMyth
5G
CLOUD
Was able to hold
Such a massive
powers
“Haam Tir-Ilmn”, illustrated by Surya Asmoro
Available at https://suryaasm.artstation.com/projects/aR8qe2
Bagaimana Performa throughput database, latensi pemrosesan server aplikasi, resource
utilization, dan bandwidth utilization dalam uji coba Kubernetes skala besar?
1
Bagaimana respon dan kinerja aplikasi IoT yang berjalan pada cloud kubernetes
cluster ketika massive load test dioperasikan?
2
Apabila mengalami masalah, apakah solusi yang tepat untuk mengatasi masalah
tersebut?
3
Bagaimana merancang arsitektur aplikasi berbasis cloud yang sesuai dengan karakteristik
real-time data IoT?
4
Bagaimana melakukan deployment aplikasi IoT secara kontinyu dan memastikan
bahwa proses deployment tersebut merupakan metode yang efektif?
5
Final Quest
Perencanaan pengembangan aplikasi IoT berbasis cloud yang
sederhana, adaptif, responsif, interaktif, memiliki sistematika
protokol untuk bisa terkoneksi dengan perangkat IoT beserta real-
time data monitoring-nya, penjabaran solusi komponen sistem
IoT, dan use case yang dapat diterapkan dari hasil aplikasi IoT
tersebut.
Membuktikan skalabilitas dari aplikasi IoT berbasis cloud yang
disebar dengan menggunakan arsitektur microservice dengan
Cloud Kubernetes Cluster.
Menganalisis performa berdasarkan hasil yang didapatkan dari
load tests yang datang dari traffic concurrent perangkat IoT skala
besar yang mengirimkan data ke cloud.
. . .
Dungeon Scopes
- Kubernetes AWS EKS
- MEAN Stack
- MQTT & REST
- CI: Github, CD: CodePipeline,CodeBuild, ECR
- SSL/TLS Security
. . .
Internet ofThings
Cloud Computing
Arsitektur
Perangkat Lunak
Protokol IoT
Containerization
Kubernetes dan
Arsitekturnya
Framework Aplikasi
Framework
Monitoring
Dasar Teori
”Ice Berg”, illustrated by Surya Asmoro
Available at https://suryaasm.artstation.com/projects/qA1zaR
Client D (IoT ACTUATOR/SENSOR)
Client C (GENERAL APP)
VISUAL ML
Service D Service C
DB A DB B DB C
Service B Service A
REST
API
REST API
REST API
REST API
API Gateway (BACKEND)
REQ/RES
RESPONSE HTML
Client A (DESKTOP APP)
REQ/RES
RESPONSE HTML
Client B (MOBILE APP)
REQ/RES
RESPONSE HTML
RESPONSE HTML
CONTENT ROUTER (FRONTEND)
OVERLAY NETWORK
API Server
Scheduler
Controller
Manager
etcd
PHYSICAL NETWORK
kubelet
kube-proxy
Container Runtime
Container
1
Container
2
Container
3
Pod
Operating System
Infrastructure
Node 1
kubelet
kube-proxy
Container Runtime
Container
1
Container
2
Container
3
Pod
Operating System
Infrastructure
Node 2
Master Node
. . . Node n
Kubectl
SMART DEVICES
Sensors
Public DNS Routes
(DNSSEC enabled)
developer:
local/bastion terminal /
kubectl /
REST API
over HTTP
Internet Gateway
Static IP
Network
Load Balancer
(TCP)
Cloud Gateway
Kubernetes
Control Plane
If kubectl
AZ C
(Autoscaling Group)
VM
Worker Node
Worker
Node Group
AZ A
(Autoscaling Group)
VM
Worker Node
Worker
Node Group
AZ B
(Autoscaling Group)
VM
Worker Node
Worker
Node Group
If kubectl
APPLICATIONS
API
Access
Ingress
Auto Scaling
Group
Auto Scaling
Group
Auto Scaling
Group
Kubernetes
Master Node
Components
Send Alert to Clients
Email Service /
SMS Service Notification
CI tools (Commit)
Rasp Pi
Millions
of
Connected
Clients / Subscribers
JSON Processing
to
Subscribers
CI/CD Pipeline
Tools
Container
Registry (build)
Deploy
Container
Send Response Message/Webhook
MQTT PUBLISHER
MQTT(s)
Authentication &
Communication
Webhook
Access Token
Door Lock
Car
Lightbulb
House
Utility
Receive data
& GUI
Dashboard
Visualization
Send Trigger to Application
Receive Trigger
(ON / OFF / VALUES)
Security Group
Connected
Actuator /
Smart-Devices
Scalable MQTT
Broker
Response Actions
(Success / Failed)
Persistent &
Cache Storage
Internet Gateway
Arsitektur
Keseluruhan
REST API
to
Application
MQTT
Publish/Subscribe
Broker to Application
Data Flow
MQTT Brokers
https://www.bevywise.com/blog/high-availability-mqtt-cluster/
CodePipeline CodeBuild
Container Registry
Kubernetes
Production
Git Commit
(CI)
Continuous Integration
Continuous Deployment
Strategi CI/CD
Thermostat
Thermostat
Publish
MQTT (JSON)
Thermostat
Auth Server
(application)
MongoDB
Persistent
Storage
Redis Caching
for high IOPS
(temporary)
User
Dashboard
AuthID
Request & Response
Publish
Subscribe
Cloud DB NoSQL
Actuator
Actuator
Actuator
Actuator
Send Trigger Data
to Smart Devices
MQTT (JSON)
Scalable MQTT
Broker
Komunikasi
Data MQTT
Sensor node
establishing
connection to broker
Broker establishing
publisher's new
connection
Auth server detecting
authentication ID.
Process existing
request and create
response
publish data with the
specified topic
Detecting publish
request, forward to
subscriber to check
authentication
Receive response,
publish success
Publisher Broker Subscriber /
Auth Server
Sensor node
establishing
connection to broker
Broker establishing
subscriber's new
connection
subscribe data with
the specified topic
Detecting subscribe
request, forward to
publisher's channel to
and check
authentication
Receive data from
publisher's topic
Subscriber /
Auth Server
Broker
(a) (b)
Komunikasi
Data MQTT
Thermostat
Thermostat
JSON
REST API
(HTTP)
Thermostat
Auth Server
(application)
MongoDB
Persistent
Storage
Redis Caching
for high IOPS
(temporary)
User
Dashboard
/AuthID
/AuthID_2
/AuthID_3
Cloud DB NoSQL
Actuator
Actuator
Actuator
Actuator
Send Trigger Data
to Smart Devices
JSON
Komunikasi
Data REST
Komunikasi
Data REST
Sensor node
establishing
connection to server
server establishing
client's new
connection
Auth server detecting
authentication ID.
Process existing
request and create
response
send JSON data with
REST
Receive response,
success
Client Auth Server
Redis DB
Request
Web App
in Browser
Internet
MongoDB
API
Microservice
Response
GET /data
Accept: application/json
Get the response
and putting in Redis
HTTP/1.1 200 OK
Content-Type: application/json
First request, apps checks data is present in redis
if yes, will return data from redis
else call to the web service to get data from mongo
and put the response in redis
so next time response will be return from redis
Strategi Caching pada
Redis
EMQX Broker
Redis
IoT Application
Redis
Horizontal
scaling of IoT
Application
over MQTT
Broker
Horizontal
scaling of IoT
Application
over HTTP
IoT Application
IoT Application
IoT Application
Stress Tools
IoT Application
EMQX Broker
Redis
Horizontal
scaling of MQTT
Broker
EMQX Broker
Horizontal
scaling of Redis
over MQTT
Broker
Horizontal
scaling of Redis
over HTTP
IoT Application
Mongo
Redis
Redis
IoT Application
Mongo
Redis
Redis
EMQX Broker
Horizontal
scaling of MongoDB
over MQTT Broker
Horizontal
scaling of MongoDB
over HTTP
IoT Application
Mongo
Redis
IoT Application
Redis
EMQX Broker
Mongo
Mongo
Mongo
Skenario Penskalaan
Horizontal
Parameter Configuration
Average Load from the Southbound
1000, 10000, 100000, 1000000
requests per second
Payload size 10 bytes, 100 bytes, 1000 bytes
IoT Protocol Type MQTT, RESTful API over HTTP(s)
IoT Application Pod Resource 300 mCPU; 256 MB
IoT Application Instance To Be Decided
Broker Cluster Instance To Be Decided
mongoDB Instance To Be Decided
Redis Instance To Be Decided
Broker Cluster Instance To Be Decided
Locust.io (stress tool) Instance To Be Decided
MQTT benchmark (stress tool) Instance To Be Decided
Parameter Konfigurasi
Model
Spot Instance
vCPU
Memory
(GiB)
Linux/
Unix Usage
Network
Bandwidth
(Gbps)
EBS Bandwidth
(Mbps)
c5.large 2 4 $0.0313 per Hour Up to 10 Up to 4,750
c5.xlarge 4 8 $0.0638 per Hour Up to 10 Up to 4,750
c5.2xlarge 8 16 $0.1271 per Hour Up to 10 Up to 4,750
c5.4xlarge 16 32 $0.2494 per Hour Up to 10 4,750
c5.9xlarge 36 72 $0.5606 per Hour 10 9,500
c5.12xlarge 48 96 $0.7474 per Hour 12 9,500
c5.18xlarge 72 144 $1.1212 per Hour 25 19,000
c5.24xlarge 96 192 $1.4949 per Hour 25 19,000
c5.metal 96 192 $1.4949 per Hour 25 19,000
c5d.large 2 4 $0.0311 per Hour Up to 10 Up to 4,750
c5d.xlarge 4 8 $0.0623 per Hour Up to 10 Up to 4,750
c5d.2xlarge 8 16 $0.1246 per Hour Up to 10 Up to 4,750
c5d.4xlarge 16 32 $0.2556 per Hour Up to 10 4,750
c5d.9xlarge 36 72 $0.5717 per Hour 10 9,500
c5d.12xlarge 48 96 $0.7474 per Hour 12 9,500
c5d.18xlarge 72 144 $1.1212 per Hour 25 19,000
c5d.24xlarge 96 192 $1.4949 per Hour 25 19,000
c5d.metal 96 192 $1.4949 per Hour 25 19,000
- MQTT
Benchmark
- Locust.io
- IoT Apps
- Redis
- MongoDB
- Broker Cluster
The Final Myth?
Terima Kasih

More Related Content

Similar to IoTMyth Proposal

20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발
영욱 김
 
Cwin16 tls-a micro-service deployment - v1.0
Cwin16 tls-a micro-service deployment - v1.0Cwin16 tls-a micro-service deployment - v1.0
Cwin16 tls-a micro-service deployment - v1.0
Capgemini
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData Services
Cisco DevNet
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop Overview
Shubhra Kar
 
3 Software Stacks for IoT Solutions
3 Software Stacks for IoT Solutions3 Software Stacks for IoT Solutions
3 Software Stacks for IoT Solutions
Ian Skerrett
 
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Amazon Web Services
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Amazon Web Services
 
Innovate on Cloud with AWS
Innovate on Cloud with AWSInnovate on Cloud with AWS
Innovate on Cloud with AWS
Amazon Web Services
 
mqttvsrest_v4.pdf
mqttvsrest_v4.pdfmqttvsrest_v4.pdf
mqttvsrest_v4.pdf
RaghuKiran29
 
Enabling SDN for Service Providers by Khay Kid Chow
Enabling SDN for Service Providers by Khay Kid ChowEnabling SDN for Service Providers by Khay Kid Chow
Enabling SDN for Service Providers by Khay Kid Chow
MyNOG
 
IoT Analytics from Edge to Cloud - using IBM Informix
IoT Analytics from Edge to Cloud - using IBM InformixIoT Analytics from Edge to Cloud - using IBM Informix
IoT Analytics from Edge to Cloud - using IBM Informix
Pradeep Muthalpuredathe
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
Sameer Mahajan
 
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure FunctionsMessaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
John Staveley
 
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
DEVCON
 
Reply Webinar Online - Mastering AWS - IoT Foundations
Reply Webinar Online - Mastering AWS - IoT FoundationsReply Webinar Online - Mastering AWS - IoT Foundations
Reply Webinar Online - Mastering AWS - IoT Foundations
Andrea Mercanti
 
Introduction To Cloud Computing
Introduction To Cloud ComputingIntroduction To Cloud Computing
Introduction To Cloud Computing
Rinat Shagisultanov
 
Shmoocon 2013 - OpenStack Security Brief
Shmoocon 2013 - OpenStack Security BriefShmoocon 2013 - OpenStack Security Brief
Shmoocon 2013 - OpenStack Security Brief
openfly
 
WSO2 Cloud Strategy Update
WSO2 Cloud Strategy UpdateWSO2 Cloud Strategy Update
WSO2 Cloud Strategy Update
Imesh Gunaratne
 
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
WSO2Con ASIA 2016: WSO2 Cloud Strategy UpdateWSO2Con ASIA 2016: WSO2 Cloud Strategy Update
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
WSO2
 
Deep Dive: AWS IOT
Deep Dive: AWS IOTDeep Dive: AWS IOT
Deep Dive: AWS IOT
Amazon Web Services
 

Similar to IoTMyth Proposal (20)

20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발
 
Cwin16 tls-a micro-service deployment - v1.0
Cwin16 tls-a micro-service deployment - v1.0Cwin16 tls-a micro-service deployment - v1.0
Cwin16 tls-a micro-service deployment - v1.0
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData Services
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop Overview
 
3 Software Stacks for IoT Solutions
3 Software Stacks for IoT Solutions3 Software Stacks for IoT Solutions
3 Software Stacks for IoT Solutions
 
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
 
Innovate on Cloud with AWS
Innovate on Cloud with AWSInnovate on Cloud with AWS
Innovate on Cloud with AWS
 
mqttvsrest_v4.pdf
mqttvsrest_v4.pdfmqttvsrest_v4.pdf
mqttvsrest_v4.pdf
 
Enabling SDN for Service Providers by Khay Kid Chow
Enabling SDN for Service Providers by Khay Kid ChowEnabling SDN for Service Providers by Khay Kid Chow
Enabling SDN for Service Providers by Khay Kid Chow
 
IoT Analytics from Edge to Cloud - using IBM Informix
IoT Analytics from Edge to Cloud - using IBM InformixIoT Analytics from Edge to Cloud - using IBM Informix
IoT Analytics from Edge to Cloud - using IBM Informix
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure FunctionsMessaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
 
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
 
Reply Webinar Online - Mastering AWS - IoT Foundations
Reply Webinar Online - Mastering AWS - IoT FoundationsReply Webinar Online - Mastering AWS - IoT Foundations
Reply Webinar Online - Mastering AWS - IoT Foundations
 
Introduction To Cloud Computing
Introduction To Cloud ComputingIntroduction To Cloud Computing
Introduction To Cloud Computing
 
Shmoocon 2013 - OpenStack Security Brief
Shmoocon 2013 - OpenStack Security BriefShmoocon 2013 - OpenStack Security Brief
Shmoocon 2013 - OpenStack Security Brief
 
WSO2 Cloud Strategy Update
WSO2 Cloud Strategy UpdateWSO2 Cloud Strategy Update
WSO2 Cloud Strategy Update
 
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
WSO2Con ASIA 2016: WSO2 Cloud Strategy UpdateWSO2Con ASIA 2016: WSO2 Cloud Strategy Update
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
 
Deep Dive: AWS IOT
Deep Dive: AWS IOTDeep Dive: AWS IOT
Deep Dive: AWS IOT
 

Recently uploaded

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 

Recently uploaded (20)

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 

IoTMyth Proposal

  • 1. PENINGKATANPERFORMASKALABILITASAPLIKASIIOTBERBASISCLOUD DENGAN ARSITEKTURMICROSERVICEMENGGUNAKANKUBERNETES CLUSTER SEBAGAI CONTAINER ORCHESTRATOR PADAPRODUCTIONENVIRONMENT Alfian Firmansyah 1706985874 “Art Mage”, illustrated by Surya Asmoro Available at https://www.artstation.com/artwork/w8RQA9 Pembimbing: Dr. Ruki Harwahyu, S.T., M.T., M.Sc. SEMINAR PROPOSAL
  • 2.
  • 3.
  • 4.
  • 6.
  • 8. Combined Powers Raises a new HERO in the world of Indonesische . . .
  • 9. Only The IoTMyth 5G CLOUD Was able to hold Such a massive powers “Haam Tir-Ilmn”, illustrated by Surya Asmoro Available at https://suryaasm.artstation.com/projects/aR8qe2
  • 10. Bagaimana Performa throughput database, latensi pemrosesan server aplikasi, resource utilization, dan bandwidth utilization dalam uji coba Kubernetes skala besar? 1 Bagaimana respon dan kinerja aplikasi IoT yang berjalan pada cloud kubernetes cluster ketika massive load test dioperasikan? 2 Apabila mengalami masalah, apakah solusi yang tepat untuk mengatasi masalah tersebut? 3
  • 11. Bagaimana merancang arsitektur aplikasi berbasis cloud yang sesuai dengan karakteristik real-time data IoT? 4 Bagaimana melakukan deployment aplikasi IoT secara kontinyu dan memastikan bahwa proses deployment tersebut merupakan metode yang efektif? 5
  • 12. Final Quest Perencanaan pengembangan aplikasi IoT berbasis cloud yang sederhana, adaptif, responsif, interaktif, memiliki sistematika protokol untuk bisa terkoneksi dengan perangkat IoT beserta real- time data monitoring-nya, penjabaran solusi komponen sistem IoT, dan use case yang dapat diterapkan dari hasil aplikasi IoT tersebut. Membuktikan skalabilitas dari aplikasi IoT berbasis cloud yang disebar dengan menggunakan arsitektur microservice dengan Cloud Kubernetes Cluster. Menganalisis performa berdasarkan hasil yang didapatkan dari load tests yang datang dari traffic concurrent perangkat IoT skala besar yang mengirimkan data ke cloud. . . .
  • 13. Dungeon Scopes - Kubernetes AWS EKS - MEAN Stack - MQTT & REST - CI: Github, CD: CodePipeline,CodeBuild, ECR - SSL/TLS Security . . .
  • 14. Internet ofThings Cloud Computing Arsitektur Perangkat Lunak Protokol IoT Containerization Kubernetes dan Arsitekturnya Framework Aplikasi Framework Monitoring Dasar Teori ”Ice Berg”, illustrated by Surya Asmoro Available at https://suryaasm.artstation.com/projects/qA1zaR
  • 15. Client D (IoT ACTUATOR/SENSOR) Client C (GENERAL APP) VISUAL ML Service D Service C DB A DB B DB C Service B Service A REST API REST API REST API REST API API Gateway (BACKEND) REQ/RES RESPONSE HTML Client A (DESKTOP APP) REQ/RES RESPONSE HTML Client B (MOBILE APP) REQ/RES RESPONSE HTML RESPONSE HTML CONTENT ROUTER (FRONTEND)
  • 16. OVERLAY NETWORK API Server Scheduler Controller Manager etcd PHYSICAL NETWORK kubelet kube-proxy Container Runtime Container 1 Container 2 Container 3 Pod Operating System Infrastructure Node 1 kubelet kube-proxy Container Runtime Container 1 Container 2 Container 3 Pod Operating System Infrastructure Node 2 Master Node . . . Node n Kubectl
  • 17. SMART DEVICES Sensors Public DNS Routes (DNSSEC enabled) developer: local/bastion terminal / kubectl / REST API over HTTP Internet Gateway Static IP Network Load Balancer (TCP) Cloud Gateway Kubernetes Control Plane If kubectl AZ C (Autoscaling Group) VM Worker Node Worker Node Group AZ A (Autoscaling Group) VM Worker Node Worker Node Group AZ B (Autoscaling Group) VM Worker Node Worker Node Group If kubectl APPLICATIONS API Access Ingress Auto Scaling Group Auto Scaling Group Auto Scaling Group Kubernetes Master Node Components Send Alert to Clients Email Service / SMS Service Notification CI tools (Commit) Rasp Pi Millions of Connected Clients / Subscribers JSON Processing to Subscribers CI/CD Pipeline Tools Container Registry (build) Deploy Container Send Response Message/Webhook MQTT PUBLISHER MQTT(s) Authentication & Communication Webhook Access Token Door Lock Car Lightbulb House Utility Receive data & GUI Dashboard Visualization Send Trigger to Application Receive Trigger (ON / OFF / VALUES) Security Group Connected Actuator / Smart-Devices Scalable MQTT Broker Response Actions (Success / Failed) Persistent & Cache Storage Internet Gateway Arsitektur Keseluruhan
  • 21. CodePipeline CodeBuild Container Registry Kubernetes Production Git Commit (CI) Continuous Integration Continuous Deployment Strategi CI/CD
  • 22. Thermostat Thermostat Publish MQTT (JSON) Thermostat Auth Server (application) MongoDB Persistent Storage Redis Caching for high IOPS (temporary) User Dashboard AuthID Request & Response Publish Subscribe Cloud DB NoSQL Actuator Actuator Actuator Actuator Send Trigger Data to Smart Devices MQTT (JSON) Scalable MQTT Broker Komunikasi Data MQTT
  • 23. Sensor node establishing connection to broker Broker establishing publisher's new connection Auth server detecting authentication ID. Process existing request and create response publish data with the specified topic Detecting publish request, forward to subscriber to check authentication Receive response, publish success Publisher Broker Subscriber / Auth Server Sensor node establishing connection to broker Broker establishing subscriber's new connection subscribe data with the specified topic Detecting subscribe request, forward to publisher's channel to and check authentication Receive data from publisher's topic Subscriber / Auth Server Broker (a) (b) Komunikasi Data MQTT
  • 24. Thermostat Thermostat JSON REST API (HTTP) Thermostat Auth Server (application) MongoDB Persistent Storage Redis Caching for high IOPS (temporary) User Dashboard /AuthID /AuthID_2 /AuthID_3 Cloud DB NoSQL Actuator Actuator Actuator Actuator Send Trigger Data to Smart Devices JSON Komunikasi Data REST
  • 25. Komunikasi Data REST Sensor node establishing connection to server server establishing client's new connection Auth server detecting authentication ID. Process existing request and create response send JSON data with REST Receive response, success Client Auth Server
  • 26. Redis DB Request Web App in Browser Internet MongoDB API Microservice Response GET /data Accept: application/json Get the response and putting in Redis HTTP/1.1 200 OK Content-Type: application/json First request, apps checks data is present in redis if yes, will return data from redis else call to the web service to get data from mongo and put the response in redis so next time response will be return from redis Strategi Caching pada Redis
  • 27. EMQX Broker Redis IoT Application Redis Horizontal scaling of IoT Application over MQTT Broker Horizontal scaling of IoT Application over HTTP IoT Application IoT Application IoT Application Stress Tools IoT Application EMQX Broker Redis Horizontal scaling of MQTT Broker EMQX Broker Horizontal scaling of Redis over MQTT Broker Horizontal scaling of Redis over HTTP IoT Application Mongo Redis Redis IoT Application Mongo Redis Redis EMQX Broker Horizontal scaling of MongoDB over MQTT Broker Horizontal scaling of MongoDB over HTTP IoT Application Mongo Redis IoT Application Redis EMQX Broker Mongo Mongo Mongo Skenario Penskalaan Horizontal
  • 28. Parameter Configuration Average Load from the Southbound 1000, 10000, 100000, 1000000 requests per second Payload size 10 bytes, 100 bytes, 1000 bytes IoT Protocol Type MQTT, RESTful API over HTTP(s) IoT Application Pod Resource 300 mCPU; 256 MB IoT Application Instance To Be Decided Broker Cluster Instance To Be Decided mongoDB Instance To Be Decided Redis Instance To Be Decided Broker Cluster Instance To Be Decided Locust.io (stress tool) Instance To Be Decided MQTT benchmark (stress tool) Instance To Be Decided Parameter Konfigurasi
  • 29. Model Spot Instance vCPU Memory (GiB) Linux/ Unix Usage Network Bandwidth (Gbps) EBS Bandwidth (Mbps) c5.large 2 4 $0.0313 per Hour Up to 10 Up to 4,750 c5.xlarge 4 8 $0.0638 per Hour Up to 10 Up to 4,750 c5.2xlarge 8 16 $0.1271 per Hour Up to 10 Up to 4,750 c5.4xlarge 16 32 $0.2494 per Hour Up to 10 4,750 c5.9xlarge 36 72 $0.5606 per Hour 10 9,500 c5.12xlarge 48 96 $0.7474 per Hour 12 9,500 c5.18xlarge 72 144 $1.1212 per Hour 25 19,000 c5.24xlarge 96 192 $1.4949 per Hour 25 19,000 c5.metal 96 192 $1.4949 per Hour 25 19,000 c5d.large 2 4 $0.0311 per Hour Up to 10 Up to 4,750 c5d.xlarge 4 8 $0.0623 per Hour Up to 10 Up to 4,750 c5d.2xlarge 8 16 $0.1246 per Hour Up to 10 Up to 4,750 c5d.4xlarge 16 32 $0.2556 per Hour Up to 10 4,750 c5d.9xlarge 36 72 $0.5717 per Hour 10 9,500 c5d.12xlarge 48 96 $0.7474 per Hour 12 9,500 c5d.18xlarge 72 144 $1.1212 per Hour 25 19,000 c5d.24xlarge 96 192 $1.4949 per Hour 25 19,000 c5d.metal 96 192 $1.4949 per Hour 25 19,000 - MQTT Benchmark - Locust.io - IoT Apps - Redis - MongoDB - Broker Cluster

Editor's Notes

  1. 5G leaders adalah negara yang sudah mature dari segi teknis, regulasi, ekonomi, dan penerapan usecase. 5G Followers sudah melakukan ujicoba dan juga sudah setengah matang 5G Laggards yang masih melakukan ujicoba
  2. hard real time (seperti palang kereta api, self driving car, industry automation), soft real time (seperti sensor, aktuator, yang jika tugasnya berjalan mengalami delay tidak akan menyebabkan resiko yang besar).
  3. Tren ini memungkinkan pengembangan perangkat elektronik skala kecil melesat secara ekstrem menjauhi titik origin 
  4. Namun, hingga saat ini belum ada penelitian yang secara khusus mendalami performa backend Kubernetes yang secara khusus digunakan dalam perspektif deployment aplikasi IoT skala besar.
  5. Dari integrasi teknologi tersebut, kita bisa melakukan kombinasi kekuatan yang melahirkan pahlawan teknologi yang baru di indonesia
  6. Saya menamakan project saya IoTMyth, di mana ia merupakan representasi dari Platform IoT yang kuat, yang mampu menangani kekuatan yang besar tadi untuk melawan traffic IoT yang masif. Memiliki konsep kekuatan pengoleksian data atau power of sensing.
  7. Ini adalah aarsitektur skala besar, yang mampu menangani traffic yang sangat tinggi.
  8. Kurang tepat, seharusnya codepipeline yang menerima response dari tiap aplikasi selesai menjalankan eksekusi pipeline.
  9. WEBSOCKET
  10. WEBSOCKET
  11. WEBSOCKET
  12. WEBSOCKET
  13. Karena aplikasi monitoring IoT mayoritas berfokus pada real-time retrieval data, maka caching ini sangat cocok.