barcelona meetup - kontena intro
TRANSCRIPT
![Page 1: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/1.jpg)
The Developer FriendlyContainer & Micro Services
PlatformJussi Nummelin, Resident Wharfie
@JNummelin
![Page 2: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/2.jpg)
" @kontenainc
# slack.kontena.io
$ github.com/kontena/kontena
meetup.com/pro/kontena
% www.kontena.io
Stay up to date!
![Page 3: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/3.jpg)
The Past, Present and Future of Computing
© 2016 Kontena, Inc.
INFRA
HOST OS
APP
INFRA
HOST OS
APP
INFRA
HOST OS
APP
INFRA
HOST OS
HYPERVISOR
GUEST OS
GUEST OS
GUEST OS
APP APP APP
INFRA
HOST OS
CONTAINER ENGINE
APP APP APP
Legacy Virtualization ContainerizationYear 2014 à
![Page 4: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/4.jpg)
What is Containerization?
© 2016 Kontena, Inc.
Light-weight OS level sandboxing of applicationsRuns multiple isolated apps on single host without hypervisor
Currently, the hottest trend in datacenter innovationNext step for optimizing computing resources post VMs
Build and configure once, run anywhereIdeal for DevOps and modern micro-service architectures
Significant buy-in from both start-ups and large vendorsPackaged Software: MySQL, MongoDB, Redis, NodeJS…OS Vendors: Microsoft, Apple, Red Hat, SUSE, CoreOS...Clouds: Amazon, Microsoft, IBM, Rackspace, Google...Major Users: Netflix, Paypal, eBay, Google, Spotify...
![Page 5: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/5.jpg)
Why Containers?
© 2015 Kontena, Inc.
Containers provide a more efficient use of Resources:: Eliminates Hypervisor reducing virtualization overhead while still allowing separation and isolation of multiple tasks on one host without relying on a separate OS, saving huge amount of HW resources compared to bulky VMs which emulate physical servers complete with OS
Allows Easy Application Portability between different hosts within DCs, DC to DC/ DC to Cloud (Private, Public, Hybrid) / Cloud to Cloud
![Page 6: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/6.jpg)
What is Kontena?
© 2015 Kontena, Inc.
Open Source container & micro services platform built to maximize developer
happiness. Works on any cloud, easy to setup, simple to use.
![Page 7: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/7.jpg)
Quick Facts
$ 700+GITHUB STARGAZERS
>100kNUMBER OF INSTALLS
FEATURED IN
![Page 8: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/8.jpg)
Quotes from Community
“You guys have clearly put a heck of a lot of time and thought into Kontena, it's really pretty cool.”
- thecatwasnot
“Hello! I am looking at Kontena and it looks amazing”- massimiliano-mantione
“Your project looks amazing, and is exactly what I want.”- dbones
Source: Kontena Gitter
![Page 9: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/9.jpg)
How does it work?
Kontena GridA number of physical or virtual machines – Kontena Nodes– create a Kontena Grid. The nodes may be located anywhere; in single data center, different AZs or different cloud providers.
Overlay NetworkKontena will automatically create an overlay network powered by Weave and connect all nodes of a Grid. Overlay network enable services to communicate with each other in multi-host, multi-AZ environment.
Service DiscoveryKontena has a built-in service discovery powered by etcd. It is used to automatically assign DNS addresses for any services running in Kontena. It is also used by Kontena’s load balancer for zero-downtime operation.
OrchestrationKontena’s orchestrator is distributing, running and monitoring all Kontena Services in a Grid. Services may be stateless or stateful, and they are automatically distributed across Nodes in a Grid.
Containerized WorkloadsWith Kontena, all containerized workloads are described as Services. Kontena Service is composed of containers based on the same image file. Services may be scaled and linked together to create complex elastic apps.
OS
Docker
Kontena Nodes & AgentKontena Agent may be installed to
any machine capable of running Docker. It is running as a privileged
container in a machine.
Kontena MasterKontena Master is orchestrating the
entire Kontena system. It provides APIs used by Kontena CLI, Web UI and
third party integrations.
Kontena Master may be installed as high-availability setup if needed.
![Page 10: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/10.jpg)
All Batteries Included!
Built-In Image RegistrySometimes projects can not use publicly
hosted container image registries like DockerHub. Kontena comes with built-in
container image registry providing private and secure solution.
Built-In VPN AccessAll containers are run inside a virtual private
network by default. Nothing is exposed to Internet unless explicitly defined. With
Kontena’s built-in VPN access developers can securely access those resources.
Built-In Load BalancerKontena comes with built-in load balancer.
Based on Haproxy. It features fully automatic, zero-downtime operation due to deep
integration with Kontena’s service discovery and orchestration technology.
Aggregated Stats & LogsKontena provides real-time log and statistics streams containers. The streams may be grouped and aggregated to produce service level streams. This allows easy viewing of logs and statistics for your application CPU, memory, disk and network usage.
User Management with Audit TrailAll events and actions performed through Kontena CLI or APIs are logged into audit trail. Combined with users and access control, the audit trail support makes Kontena a reliable and secure solution for any enterprise deployments.
Built-In Secrets ManagementWhen your application requires access to APIs or databases, you'll often need to use secrets such as passwords and access tokens for authenticating the access. Kontena Vault is a secure key/value storage that can be used to manage secrets in Kontena.
![Page 11: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/11.jpg)
“Includes all the s**t you don’t want to implement by yourself”
![Page 12: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/12.jpg)
Works on any Infrastructure
© 2015 Kontena, Inc.
Kontena works on any public cloud or in your own private datacenter; hybrid environment, virtualized or bare metal.
![Page 13: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/13.jpg)
Demo Time
![Page 14: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/14.jpg)
Demo outline
1. Create Kontena master on DigitalOcean
2. Create node(s) on new grid
3. Deploy simple app
4. Clusterize the app
5. Scale the app
![Page 15: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/15.jpg)
Grid
Grid setup
© 2016 Kontena, Inc.
Node1
Node2
Node3
MasterCLI
![Page 16: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/16.jpg)
Demo App – v1
Todo-app
mongodb
![Page 17: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/17.jpg)
Demo App – v2
Repl
ica-
set
Todo-app
Mongodb-1
Todo-app
Mongodb-2
Todo-app
Mongodb-3
LB LB LBSSL Termination
![Page 18: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/18.jpg)
Our mission is to becomenumber 1 container &
microservices platformfor developers
![Page 19: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/19.jpg)
" @kontenainc
# slack.kontena.io
$ github.com/kontena/kontena
meetup.com/pro/kontena
% www.kontena.io
Stay up to date!
![Page 20: Barcelona MeetUp - Kontena Intro](https://reader031.vdocument.in/reader031/viewer/2022030304/5876fd791a28abf3398b6a65/html5/thumbnails/20.jpg)
Thank You!www.kontena.io