28
Getting started with Microservices MATE GULYAS

Startup safary | Getting started with microservices

Embed Size (px)

Citation preview

Page 1: Startup safary | Getting started with microservices

Getting started with MicroservicesMATE GULYAS

Page 2: Startup safary | Getting started with microservices

CTO & Co-FounderGULYÁS MÁTÉ

@gulyasm

Page 3: Startup safary | Getting started with microservices

what is MICROSERVICES?

Not size, responsibility!

Single, well defined role!

But usually really SMALL!

Page 4: Startup safary | Getting started with microservices

WHY use it?

Engineering team independence

Fast prototyping

Easy to reason about

Page 5: Startup safary | Getting started with microservices

HOW TO START?

Page 6: Startup safary | Getting started with microservices
Page 7: Startup safary | Getting started with microservices
Page 8: Startup safary | Getting started with microservices
Page 9: Startup safary | Getting started with microservices

I. EVOLUTION

Page 10: Startup safary | Getting started with microservices

I. EVOLUTION

1. the SERVICE

Page 11: Startup safary | Getting started with microservices
Page 12: Startup safary | Getting started with microservices
Page 13: Startup safary | Getting started with microservices

I. EVOLUTION

2. AUTOMATION

Page 14: Startup safary | Getting started with microservices
Page 15: Startup safary | Getting started with microservices

I. EVOLUTION

Burn it in your DNA!

Page 16: Startup safary | Getting started with microservices

I. EVOLUTION

3. MONITORING

Page 17: Startup safary | Getting started with microservices

I. EVOLUTION

Hint: Use boring technology

➔ Graphite➔ Statsd➔ Grafana

Start with application metrics, not OS, machine stats!

Page 18: Startup safary | Getting started with microservices

I. EVOLUTION

4. CONFIGURATION

Page 19: Startup safary | Getting started with microservices

I. EVOLUTION

$ ENV= staging \MONITORING=staging.monitor.mydomain.com \./ipservice

Page 20: Startup safary | Getting started with microservices

I. EVOLUTION

5. DISCOVERY

Page 21: Startup safary | Getting started with microservices

I. EVOLUTION

Page 22: Startup safary | Getting started with microservices

II. TOOLS

Languages● Go● Python

Service Configuration● S3 (JSON)

● Consul

Automation● Bash● Ansible● Terraform● Packer

Page 23: Startup safary | Getting started with microservices

II. TOOLSMonitoring● Graphite● Statsd● Collectd● Grafana

AWS Services● EC2● S3● RDS● Route53

Other● Pagerduty● Github

Page 24: Startup safary | Getting started with microservices

AMI

PACKER

GITHUB

ANSIBLE

TERRAFORM

CONSUL

AMI-ID

Page 25: Startup safary | Getting started with microservices

HAVE FUN!

Page 26: Startup safary | Getting started with microservices

WE ARE HIRING!

Page 27: Startup safary | Getting started with microservices

WE ARE HIRING!

Page 28: Startup safary | Getting started with microservices

MATE [email protected]

@gulyasm@enbritely

THANK YOU!