SlideShare a Scribd company logo
Docker Implementation for
IoT at Warung pintar
farhan0syakir@gmail.com
farhan@warungpintar.co
Outline
 Warung Pintar’s problems
 Stack implementation
 Deployments
 Challenge and tools
 Lesson learned
Warung Pintar’s problem
Apps
Communication
Management
Monitoring
Things Modem CCTV P.O.S.
Stack
Deployment (raspberry)
Install
raspbian
Join vpn
Join
kubernetes
via ansible
Kubectl
add label
Deployment (Apps)
Create
container
Push to
registry
Create
kubernetes
file
Kubectl
apply –f file
Label nodes
target
video cluster
Challenge
 Behind NAT (Modem gsm)
 Full control
 Cheap
 Simple
 Scalable
 Easy to investigate logs/monitor etc
 Handle disconnect problem
 Versioning capability
Tools (OpenVpn)
 Simple
 Ip based not port based
 Built-in security
 Free
 Simple configuration
 Solve behind NAT problem
 Can use ssh
Challenge
 Behind NAT (Modem gsm)
 Full control
 Cheap
 Scalable
 Easy to deploy/destroy
 Easy to investigate logs/monitor etc
 Versioning
 Handle disconnect problem
Tools (Ansible)
 Pros
 Lightweight config manager
 Lots of resource online
 Cons
 Config manager not cluster manager
 Cannot handle disconnect problem
Challenge
 Behind NAT (Modem gsm)
 Full control
 Cheap
 Scalable
 Easy to deploy/destroy
 Easy to investigate logs/monitor etc
 Versioning
 Handle disconnect problem
 Versioning capability
Tools (Docker)
 Why?
 Compatible for kubernetes
 Versioning
 What we found
 Container can mount to Hdmi
 Container for Hotspot (iptables, dnsmasq, hostsapd, etc)
Tools (Docker)
Challenge
 Behind NAT (Modem gsm)
 Full control
 Cheap
 Scalable
 Easy to deploy/destroy
 Easy to investigate logs/monitor etc
 Versioning
 Handle disconnect problem
Challenge
Tools (Kubernetes)
 Why?
 Capable for handling disconnection
 What we found
 Network plugins for multiplatform use flannel
 Network clash with vpn we use custom service
 To make sure one apps on every node (by label) use Daemonset
Tools (Kubernetes)
Challenge
 Behind NAT
 Full control
 Cheap
 Scalable
 Easy to deploy/destroy
 Easy to investigate logs/monitor etc
 Versioning
 Handle disconnect problem
Next
 Open source our work
 Explore more alternative (k3s, Elliot, balena-engine, yocto)
 Create tutorial
 More sharing
Thank You
We are hiring
https://medium.com/warung-pintar

More Related Content

PDF
What frameworks can do for you – and what not (IPC14 SE)
PPTX
Meteor Angular
PPTX
Build PWA with Ionic Toolkit
PDF
Python Web Conference 2022 - Why should devs care about container security.pdf
PPTX
Supply Chainsaw
PDF
Newspeak: Evolving Smalltalk for the Age of the Net
PDF
Workspace on asp.net web aplication development
ODP
LLAMP
What frameworks can do for you – and what not (IPC14 SE)
Meteor Angular
Build PWA with Ionic Toolkit
Python Web Conference 2022 - Why should devs care about container security.pdf
Supply Chainsaw
Newspeak: Evolving Smalltalk for the Age of the Net
Workspace on asp.net web aplication development
LLAMP

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation theory and applications.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Big Data Technologies - Introduction.pptx
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
sap open course for s4hana steps from ECC to s4
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
Empathic Computing: Creating Shared Understanding
20250228 LYD VKU AI Blended-Learning.pptx
cuic standard and advanced reporting.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Ad
Ad

Docker implementation for iot at warung pintar

Editor's Notes

  • #6: Jelasin lagi
  • #8: Jelasin daemonset and flannel Jelasin tentang weave
  • #12: Tambah screenshot awx
  • #22: Slide warung pintar Bagian kode