s u m m i t - amazon web services... · 2019-03-04 · culture of innovation - learn from...

33
SUMMIT BERLIN

Upload: others

Post on 28-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

S U MM I TB E R L I N

Page 2: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Think you are ready for Microservices?

Markus KaiserSolutions ArchitectAWS

Kilian RuessSolutions ArchitectAWS

Page 3: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

What to expect from this session

> Key Business Drivers for Microservices Adoption

> Expectations & Challenges

> How to start, today? Best-Practices

Page 4: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 5: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Characteristics of Microservices

Page 6: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 7: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Monolithic Applications

• Functional teams are responsible for

different layers

• Business requirement involves

multiple layers, i.e. multiple teams

• Common deployment

• Quarterly or annually release cycles

Page 8: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Microservices & Agility

• Do one thing well – Requires knowledge

of a small, well-understood domain.

• Independent – Empowers small,

independent teams to move at their own

pace → shortening the cycle times

• You build it; you run it – Fully-

responsible incl. QA, deployment, and

production

Page 9: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Challenges

Break-down the monolith along

meaningful domain boundaries

Do one thing well – Requires

knowledge of a small, well-

understood domain.

• Requires Cross-Functional Team

with all necessary skills

• Increased Architectural and

Operational Complexity

Independent – Empowers small,

independent teams to move at

their own pace → shortening the

cycle times

Requires different deployment

technics & operations model

You build it; you run it – Fully-

responsible incl. QA, deployment,

and production

Page 10: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Where to start?Y

ou

bu

ild

it;

yo

u r

un

it • Continuous Deployment: CI/CD

pipelines

• Test Automation

Requires different deployment

technics & operations model

Do

on

e

thin

g w

ell

Decompose into 2-3 services along

main business domains

Break-down the monolith

along meaningful domain

boundaries

Page 11: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

How AWS can help?

Separation of Concerns

• AWS Features, e.g. Multi-Account Strategy

Continuous Deployment

• AWS Services for CI/CD

• On-Demand Resources & Infrastructure Automation

Architectural & Operational Complexity

• Managed Services, Serverless?

• Architecture Review by Solutions Architect

Page 12: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 13: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Microservices & Innovation

Do one thing well – Vertical alignment with

the business owners

Independent – Fast-feedback loops

& low cost of failure

Decentral & Polyglot – freedom to choose

and replace the technology stack

individually (per domain)

Page 14: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Challenges

Do one thing well – Vertical

alignment with the business owners

Independent – Fast-feedback loops

& low cost of failure

Synergy effects such as sharing

libs and people get lost

Decentral & Polyglot – freedom to choose and replace the technology stack individually

Cultural of experimenting &

failure tolerance needed

Cultural transformation, from

hierarchical decisions to empowered

teams

Page 15: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Where to start?D

o o

ne

thin

g w

ell • Retreat governance structures

• Shift business model to product

strategy

Cultural transformation, from

hierarchical decisions to

empowered teams

Ind

ep

en

de

nt • Identify business KPIs to measure

success / failure

• Embrace change & experiments,

evaluate the risks

Cultural of experimenting &

failure tolerance needed

Page 16: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

How AWS can help?

Culture of Innovation - Learn from Amazon‘s experience

and culture: Working backwards, two-way doors, etc.

Technological Innovation - Benefit from the breadth of AWS services and AWS pace of innovation

Experiment with low cost and risk – On-demand, pay-

per-use reduces the cost of experimenting with new ideas.

Page 17: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 18: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Microservices & Scalability

• Independent – Properly decoupled

services can be scaled horizontally and

independently from each other

• Decentral – leverage the optimal data

persistence solution per service

• Polyglot – appropriate and optimal

technologies for a specific service

Page 19: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Challenges

Independent – Properly decoupled

services can be scaled horizontally

and independently from each other

• Put individual scalability

measures in place

• Identify scalability bottlenecks

in overall system

Decentral & Polyglot – leverage

the optimal technologies for a

specific service

Overall system scalability

difficult to understand

Page 20: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Where to start? S

ca

lab

ilit

y

Dri

ve

rs

• Identify & measure scalability

drivers

• Know your limits, perform

scalability tests

Make scalability tangible to

enable focused architecture

decisions

Cla

ssic

• If needed break monolith along

different scalability requirements

• Employ classical options for

horizontal scaling

Follow classical approach for

distributed systems

Page 21: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

How AWS can help?

AWS Services

• Auto-Scaling Features

• Monitoring & Automatic Response

• Serverless?

Page 22: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 23: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Microservices & Quality

• Do one thing well – Reduced complexity

• Independent – Leads to smaller deployments

& failure isolation, and allows graceful failure

handling

• You build it; you run it – Fully responsible

teams

Page 24: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Challenges

Do one thing well – Reduced

Complexity

Increased infrastructure complexity

introduces new sources of failure

(Networking, etc.)

Independent – Graceful failure

handling

Graceful failure handling is not for

free

Page 25: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Page 26: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMITSUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

“If you can’t build a well-structured monolith, what makes you think microservices is the answer?”

Simon Brown

Page 27: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Where to start?In

de

pe

nd

en

t

Graceful failure handling is not

for free

Do

on

e

thin

g w

ell

Increased infrastructure

complexity → introduces new

sources of failure

• Architect for Failure

• Build a Learning Organization:

e.g. Root Cause Analysis & Lesson

Learned process

Continuous Deployment

Page 28: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

How AWS can help?

Continuous Deployment

• AWS Services for CI/CD

• On-Demand Resources & Infrastructure Automation

• Features for Deployment Strategies

such as blue/green, canary, etc.

Page 29: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 30: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Summary

Microservices

• are technically demanding

• have impact on organization & people

• emerge / benefit from a certain company cultural

Page 31: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 32: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT

Thank you!

SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Markus Kaiser@[email protected]

Kilian Ruess@[email protected]

Page 33: S U M M I T - Amazon Web Services... · 2019-03-04 · Culture of Innovation - Learn from Amazon‘s experience and culture: Working backwards, two-way doors, etc. Technological Innovation

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMITSUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.