You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
147 lines
2.1 KiB
147 lines
2.1 KiB
= Cloud computing - Service mesh and containerized microservices!
|
|
Apostolos rootApostolos@swarmlab.io
|
|
// Metadata:
|
|
:description: Dockerfile instructions
|
|
:keywords: Dockerfile
|
|
ifndef::env-browser[]
|
|
:data-uri:
|
|
endif::[]
|
|
:images-cdn: http://localhost:3080/images
|
|
:toc: right
|
|
:toc-title: Table of contents
|
|
:toclevels: 4
|
|
:source-highlighter: highlight
|
|
:no-header-footer:
|
|
:nofooter:
|
|
:last-update-label!:
|
|
:icons: font
|
|
:sectnums:
|
|
:url_mongodb: https://en.wikipedia.org/wiki/MongoDB
|
|
|
|
:hardbreaks:
|
|
|
|
{empty} +
|
|
{empty}
|
|
|
|
:!hardbreaks:
|
|
|
|
== From Static -> Dynamic
|
|
|
|
.Service mesh and microservices networking
|
|
|
|
We will be trying to create a swarm implementation that will allow communication between all of the members/nodes.
|
|
|
|
|
|
[.float-group]
|
|
--
|
|
[.right]
|
|
image::./containerd-appl1.png[Docker,550,role=right]
|
|
|
|
:hardbreaks:
|
|
|
|
{empty} +
|
|
{empty}
|
|
|
|
:!hardbreaks:
|
|
|
|
.From -> To
|
|
|
|
* [*] monolithic -> networking architecture
|
|
* [*] static -> Dynamic
|
|
* [*] host based -> Service based
|
|
* [*] linear -> agile
|
|
--
|
|
|
|
Code, coordinate and orchestrate a swarm of self-acting nodes.
|
|
|
|
== Service based
|
|
|
|
[.float-group]
|
|
--
|
|
[.right]
|
|
image:./my-univer-2.png[Docker,350,role=right]
|
|
|
|
:hardbreaks:
|
|
|
|
{empty} +
|
|
{empty} +
|
|
{empty}
|
|
|
|
:!hardbreaks:
|
|
|
|
|
|
.Build app’s container image
|
|
|
|
* Build Docker images from a Dockerfile
|
|
* push/pull Docker images.
|
|
* build a Sample NodeJS application
|
|
--
|
|
|
|
|
|
--
|
|
[.left]
|
|
image::./myun2a1.png[DockerSwarm,599,float="left"]
|
|
--
|
|
|
|
:hardbreaks:
|
|
|
|
{empty} +
|
|
{empty}
|
|
|
|
:!hardbreaks:
|
|
|
|
.From Code to Cloud
|
|
|
|
* Create cloud and platform agnostic container-based applications.
|
|
** from a single container on your local machine
|
|
** to a running cloud native - container-based environment
|
|
** in the simplest and most logical format as possible.
|
|
|
|
:hardbreaks:
|
|
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty}
|
|
|
|
:!hardbreaks:
|
|
|
|
--
|
|
[.right]
|
|
image::./myun2a2.png[alt="Swarm",680,float="right"]
|
|
|
|
:hardbreaks:
|
|
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty}
|
|
|
|
:!hardbreaks:
|
|
|
|
.Build systems
|
|
|
|
* Build services in a dynamic and Scalable Distributed Architecture
|
|
** The distributed nature of a service mesh
|
|
|
|
|
|
--
|
|
|
|
:hardbreaks:
|
|
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty} +
|
|
{empty}
|
|
|
|
:!hardbreaks:
|
|
|
|
|
|
|
|
|
|
|