Giant Swarm @Devhouse friday

18
Timo Derstappen @teemow Introducing the Giant Swarm

description

Introducing the Giant Swarm.

Transcript of Giant Swarm @Devhouse friday

Page 1: Giant Swarm @Devhouse friday

Timo Derstappen@teemow

Introducing the Giant Swarm

Page 2: Giant Swarm @Devhouse friday

● Motivation● Challenges● The Swarm● Demo

Overview

Page 3: Giant Swarm @Devhouse friday

Motivation

Page 4: Giant Swarm @Devhouse friday

Example Application

Page 5: Giant Swarm @Devhouse friday

● Twelve Factors● Scale out your apps

Stateless Web Applications

Page 6: Giant Swarm @Devhouse friday

● No monolithic database anymore● Use the right tool for the job

Polyglot Persistence

Page 7: Giant Swarm @Devhouse friday

● Group small apps around business capabilities

● Services handle their state● Independently deployable and scalable

Microservices

Page 8: Giant Swarm @Devhouse friday

Microservices

Page 9: Giant Swarm @Devhouse friday

Challenges

Page 10: Giant Swarm @Devhouse friday

● How do services find each other?● Deploy new versions of your services● Scale your services

Service Discovery

Page 11: Giant Swarm @Devhouse friday

● Decides where to run your service● Track resources and workloads● Optimize the utilization of your servers

Scheduling

Page 12: Giant Swarm @Devhouse friday

● Should be easy and automated● Different strategies● A/B Testing

Deployment

Page 13: Giant Swarm @Devhouse friday

● Network● Storage● Provisioning● Logging● Monitoring

Operations

Page 14: Giant Swarm @Devhouse friday

The Swarm

Page 15: Giant Swarm @Devhouse friday

service1: components: - image: dockerfile/redis - image: giantswarm/service1 dependencies: redis min: 2service2: min: 4 components: - image: dockerfile/redis - image: giantswarm/service2 dependencies: redis dependencies: service1

Example

Page 16: Giant Swarm @Devhouse friday

● Declare your services and their dependencies

● Repeatable and shareable

Template

Page 17: Giant Swarm @Devhouse friday

Demo

Page 18: Giant Swarm @Devhouse friday

Timo Derstappen@teemow

http://giantswarm.io

Thanks for listening!We’re

hiring!