• Keine Ergebnisse gefunden

OpenFaaS Installation Cloud Computing SS19

N/A
N/A
Protected

Academic year: 2021

Aktie "OpenFaaS Installation Cloud Computing SS19"

Copied!
14
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

OpenFaaS Installation

Cloud Computing SS19

Alexander Seng Alexander Tkachov Sebastian Müller Marcus Legendre

1/14 Alexander Seng, Alexander Tkachov, Sebastian Müller, Marcus Legendre | OpenFaaS Installation | Cloud Computing SS19 June 19, 2019

(2)

Agenda

Introduction

Architecture & Components

Production-like environment (Part1) Local development environment Test environment

Production-like environment (Part2) Wrap Up

2/14 OpenFaaS Installation | Cloud Computing SS19

(3)

Introduction

What is Serverless Computing?

Concept of developing and running applications without having to worry about servers.

Also known as Function as a Service (FaaS).

Promises virtually infinite scaling with zero configuration.

Layer of abstraction for developers.

Layer of abstraction for operations.

There are still servers behind that layer.

3/14 OpenFaaS Installation | Cloud Computing SS19

(4)

Introduction

What is OpenFaaS

Framework for running your own serverless computing plattform.

Free and open-source (MIT license).

Runs through Docker Swarm or Kubernetes.

Supports any programming language that can run in a container.

Comes with container templates for many popular programming languages.

4/14 OpenFaaS Installation | Cloud Computing SS19

(5)

Architecture & Components

Figure:OpenFaaS Architecture

Source:https://docs.openfaas.com/architecture/gateway/

5/14 OpenFaaS Installation | Cloud Computing SS19

(6)

Production-like environment

Kubernetes

Leading container orchestration software.

Free and open-source (Apache 2.0 license).

Comes with vertical scaling capabilities by default.

Optional horizontal scaling (cluster auto scaling).

Can be set up for high availability.

6/14 OpenFaaS Installation | Cloud Computing SS19

(7)

Production-like environment

Our technology and tool stack

Terraform (infrastructure as code) Microsoft Azure (cloud provider)

Azure Kubernetes Service (managed Kubernetes cluster) Helm (Kubernetes package manager)

OpenFaaS

« Live Demo »

7/14 OpenFaaS Installation | Cloud Computing SS19

(8)

Local development environment

Docker-Swarm

Idea: Run OpenFaaS on your development machine inside Docker Swarm to develop and test functions

Advantages of that:

No additional hardware required Simple and fast setup

Single user

8/14 OpenFaaS Installation | Docker-Swarm

(9)

Local development environment

What we will do

Create a Docker Swarm Download and start OpenFaaS Deploy a function from the store Write, build and deploy a new function Deploy a function from Docker Hub

« Live Demo »

9/14 OpenFaaS Installation | Docker-Swarm

(10)

Test environment

Bare metal & virtual machines

Test environment created with virtual machines easy exportation and running on different hosts simple troubleshooting in case of malfunction Docker swarm as orchestration software

Possible Setups: All VMs on one Physical host, all VMs on different Physical hosts

simulation of an own physical cluster

10/14 OpenFaaS Installation | Docker-Swarm

(11)

Test environment

VM setups

11/14 OpenFaaS Installation | Docker-Swarm

(12)

Production-like environment

Kubernetes

« Continuation Live Demo »

12/14 OpenFaaS Installation | Docker-Swarm

(13)

Production-like environment

Kubernetes

OpenFaaS running in the cloud.

Highly scalable.

SSL ready.

Lacks monitoring, alerting, backups, disaster recovery.

13/14 OpenFaaS Installation | Docker-Swarm

(14)

Wrap Up

Thanks for your attention!

Questions?

14/14 OpenFaaS Installation | Docker-Swarm

Referenzen

ÄHNLICHE DOKUMENTE

- Microservices und Service Discovery-Systeme - Container-Technologien anhand von Docker - Cluster Scheduling und Cluster Orchestration - Grundlagen von Kubernetes und Docker

SaaS provides the complete infrastructure, software, and solution stack as the service

It is the most complete cloud computing service model because the computing hardware and software, as well as the solution itself, are provided by a vendor as a complete

Für Pioniere von Public IaaS (Amazon) und Public SaaS (Salesforce) werden wichtige Kostenstrukturen umrissen; zweiseitige Märkte liefern den wirtschaftlichen Hintergrund

Danach ist verant- wortliche Stelle jede Person oder Stelle, die personenbezogene Daten für sich selbst erhebt, verarbeitet oder nutzt oder dies durch andere im Auftrag vornehmen

- Vertraulichkeit, Verfügbarkeit und Integrität - zusätzlich: Authentizität, Verbindlichkeit,.

Nachdem die Kernbegrifflichkeiten dieser Arbeit Datensicherheit und Cloud-Compu- ting geklärt wurden, stellt sich die Frage inwiefern diese beiden Begriffe zusammen- hängen.

ƒ Eine mögliche Garantie stellt FIFO (First-In-First-Out) dar: Nachrichten zwischen zwei Prozessen überholen sich nicht: Empfangsreihenfolge = Sendereihenfolge. FIFO