Spring Boot, Microservices, Containers and Kubernetes - How To
Maximizing the Value of Containers and Microservices with the Right Platform
-
Upload
miska-kaipiainen -
Category
Technology
-
view
99 -
download
0
Transcript of Maximizing the Value of Containers and Microservices with the Right Platform
![Page 1: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/1.jpg)
Maximizing the Value of Containers and Microservices with the Right Platform
Miska Kaipiainen, Kontena, Inc.
CEO & Founder
![Page 2: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/2.jpg)
About Me
Miska KaipiainenNameCurrent Work
@miskakaiTwitter
CEO & Founder of Kontena, Inc.Previous Digia, Visualweb, Meshcom
Technologies, Radionet
Bio Running high tech companies to international markets with passion to technology. Hobby programmer and electronic music producer.
Meetups Docker Helsinki MeetupAmazon AWS Finland Meetup
![Page 3: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/3.jpg)
Why, What? Containers?
![Page 4: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/4.jpg)
Virtualization vs DockerInterest over Time
Virtualization Docker
GoogleTrends:5yfrom23Oct,2016
![Page 5: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/5.jpg)
Rolling Out DockerFor Production
= Hard
![Page 6: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/6.jpg)
![Page 7: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/7.jpg)
Managing Micro Services= Hard
![Page 8: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/8.jpg)
![Page 9: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/9.jpg)
Microservices with Containers…
![Page 10: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/10.jpg)
Luckily for us, there are some solutions!
![Page 11: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/11.jpg)
![Page 12: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/12.jpg)
The Choices
Do-it-yourselfplatform
Useoneofthehostedplatforms
Useoneoftheexistingplatforms
![Page 13: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/13.jpg)
Do-It-YourselfContainerPlatform
![Page 14: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/14.jpg)
Do you really want to build this by yourself?
![Page 15: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/15.jpg)
![Page 16: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/16.jpg)
Creating Your Own Container Platform is Hard!
• Don’t do it! Seriously, you don’t want to do it!
The only valid reasons to go for DIY platform
1. Use the experience to learn all the nasty parts of container technology
2. You are doing something so special that it does not work with any of the existing solutions
3. Get into container platform business
![Page 17: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/17.jpg)
Let’s create a container platform!
How’s Kontena created? What components does it contain?
Getting Perspective:
![Page 18: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/18.jpg)
Example:KontenaContainerPlatform
KontenaGridAnumberofphysicalorvirtualmachines– KontenaNodes –createaKontenaGrid.Thenodesmaybelocatedanywhere;insingledatacenter,differentAZsordifferentcloudproviders.
OverlayNetworkKontenawillautomaticallycreateanoverlaynetworkpoweredbyWeave andconnectallnodesofaGrid.Overlaynetworkenableservicestocommunicatewitheachotherinmulti-host,multi-AZenvironment.
ServiceDiscoveryKontenahasabuilt-inservicediscoverypoweredbyetcd.ItisusedtoautomaticallyassignDNSaddressesforanyservicesrunninginKontena.ItisalsousedbyKontena’sloadbalancerforzero-downtimeoperation.
OrchestrationKontena’sorchestratorisdistributing,runningandmonitoringallKontenaServicesinaGrid.Servicesmaybestatelessorstateful,andtheyareautomaticallydistributedacrossNodesinaGrid.
ContainerizedWorkloadsWithKontena,allcontainerizedworkloadsaredescribedasServices.KontenaServiceiscomposedofcontainersbasedonthesameimagefile.Servicesmaybescaledandlinkedtogethertocreatecomplexelasticapps.
OS
Docker
KontenaNodes&AgentKontenaAgentmaybeinstalledtoanymachinecapableofrunningDocker.Itisrunningasaprivilegedcontainerina
machine.
KontenaMasterKontenaMasterisorchestratingtheentireKontenasystem.Itprovides
APIsusedbyKontenaCLI,WebUIandthirdpartyintegrations.
KontenaMastermaybeinstalledashigh-availabilitysetupifneeded.
![Page 19: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/19.jpg)
AllBatteriesIncluded!
Built-InImageRegistrySometimesprojectscannotusepubliclyhosted
containerimageregistrieslikeDockerHub.Kontenacomeswithbuilt-incontainerimageregistryprovidingprivateandsecuresolution.
Built-InVPNAccessAllcontainersareruninsideavirtualprivatenetworkbydefault.Nothingisexposedto
Internetunlessexplicitlydefined.WithKontena’sbuilt-inVPNaccessdeveloperscan
securelyaccessthoseresources.
Built-InLoadBalancerKontenacomeswithbuilt-inloadbalancer.
BasedonHaproxy.Itfeaturesfullyautomatic,zero-downtimeoperationduetodeep
integrationwithKontena’sservicediscoveryandorchestrationtechnology.
AggregatedStats&LogsKontenaprovidesreal-timelogandstatisticsstreamscontainers.Thestreamsmaybegroupedandaggregatedtoproduceservicelevelstreams.ThisallowseasyviewingoflogsandstatisticsforyourapplicationCPU,memory,diskandnetworkusage.
UserManagementwithAuditTrailAlleventsandactionsperformedthroughKontenaCLIorAPIsareloggedintoaudittrail.Combinedwithusersandaccesscontrol,theaudittrailsupportmakesKontenaareliableandsecuresolutionforanyenterprisedeployments.
Built-InSecretsManagementWhenyourapplicationrequiresaccesstoAPIsordatabases,you'lloftenneedtousesecretssuchaspasswordsandaccesstokensforauthenticatingtheaccess.KontenaVaultisasecurekey/valuestoragethatcanbeusedtomanagesecretsinKontena.
![Page 20: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/20.jpg)
Works on any infrastructure!Kontena works on any public cloud or in your own private datacenter; hybrid environment,
virtualized or bare metal.
![Page 21: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/21.jpg)
We have 1k+ members in 35 Meetup groups globallyThe Community Effort
![Page 22: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/22.jpg)
Summary about Kontena Project• The Kontena platform development started in the beginning of
2015. It’s almost 2 years now!• Over the past 2 years we have
• Written nearly 50K lines of code• Released 78 releases• Had 1991 commits from 30 contributors• Closed 309 issues• Processed feedback from hundreds of end users and projects depending on
Kontena
Please use this info as reference when thinking if you should start creating your own container platform J
![Page 23: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/23.jpg)
Off-the-ShelfContainerPlatforms
![Page 24: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/24.jpg)
![Page 25: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/25.jpg)
So, how to choose the right platform?• There is no single platform that everybody
should be using• All of the platforms and solutions are still
“in progress”• Don’t trust any of the advertised features!• Don’t get carried away by hype!• Only way to choose the right platform is
to try them out• While testing, try to think what is the total
cost of ownership for that platform!
Happy platform hunting!
![Page 26: Maximizing the Value of Containers and Microservices with the Right Platform](https://reader031.fdocuments.us/reader031/viewer/2022030312/58ee13e41a28ab321e8b46e9/html5/thumbnails/26.jpg)
Thank You!! [email protected]
" @kontenainc
# slack.kontena.io
$ github.com/kontena/kontena
meetup.com/pro/kontena
% www.kontena.io