59
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Constantin Gonzalez Principal Solutions Architect, Amazon Web Services [email protected], @zalez Dancing with dependencies maximizing opportunities while dealing with lock-in AWS Software Business Leader Forum

09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Constantin Gonzalez

Principal Solutions Architect, Amazon Web [email protected], @zalez

Dancing with dependencies maximizing opportunities while dealing with lock-in

AWS Software Business Leader Forum

Page 2: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

New IT• Unlimited resources • No financial risk • Software-defined,

dynamic architecture • 100% automated • Flexible • Deployed in minutes • World-wide • Secure • Robust

Page 3: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

New Players• Cloud vendors

• Automation tools

• Frameworks

• Components

Page 4: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Are We Getting Locked In?(again?)

Page 5: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

What does it mean to be “locked-in”?

Page 6: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real
Page 7: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Lack of choice

Page 8: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Limits & Dependencies

Page 9: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in

Page 10: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in• Standardization

Page 11: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in• Standardization • Contract

Page 12: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in• Standardization • Contract • Organization

Page 13: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in• Standardization • Contract • Organization • Time

Page 14: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in• Standardization • Contract • Organization • Time • Cost $$

$

Page 15: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in• Standardization • Contract • Organization • Time • Cost • Technology $$

$

Page 16: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Types of lock-in• Standardization • Contract • Organization • Time • Cost • Technology • Resource

$$$

Page 17: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Avoiding one type of lock-in can create other lock-ins

Page 18: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Example: Abstraction layer

We built our own abstraction layer

on our own infrastructure

Page 19: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Idea Completed Project

Not possible

We don’t support thatMaybe next

year

That’s a change order

Page 20: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Most “lock-ins” are internal• Standardization • Contract • Organization • Time • Cost • Technology • Resource

We built our own abstraction layer

on our own infrastructure

Page 21: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

We built our own abstraction layer

on our own infrastructure

Most “lock-ins” are internal

• Standardization • Contract • Organization • Time • Cost • Technology • Resource

FAIL

Page 22: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Risks when „preventing lock-in“

• High costs • High resource requirements • Long time to market, long time to react • Re-inventing uglier wheels

Page 23: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Two Options

Accept lock-in (and enjoy the benefits)

– or –

Eliminate lock-in

Page 24: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Eliminating lock-in …for good!

Page 25: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

A simple solution

Page 26: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

A simple solutionLack of choice,

lots of dependencies

Page 27: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

A simple solution

Maximum choice, minimum dependencies

Lack of choice,lots of dependencies

Page 28: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Maximum choice, minimum dependencies

• Any standard you want • No contractual obligations • No organizational burden • At any time • Flexible cost • Any technology • Free up resources

Page 29: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Maximum choice, minimum dependencies

• Any standard you want • No contractual obligations • No organizational burden • At any time • Flexible cost • Any technology • Free up resources

Page 30: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

But…

Page 31: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

You can’t“buy”, “rent”, or “outsource”

Choice

Page 32: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Instead:

Page 33: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Increase your ability

to choose

Page 34: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real
Page 35: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Agility

Page 36: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

In 2004, we had an agility problem.

Page 37: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real
Page 38: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Can you spot the dependency?

developers

releasetestbuild

delivery pipelineapp

Page 39: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Our solution:

1.Change the architecture

Page 40: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Service-oriented

Single-purpose

Connectedthrough APIs

Highly decoupled

“Microservices”

Page 41: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Our solution:

1.Change the architecture 2.Change the organization

Page 42: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Two-pizza teams

Full ownership

Full accountability

Aligned incentives

“DevOps”

Page 43: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Microservice development lifecycle

developers delivery pipelinesservices

releasetestbuild

releasetestbuild

releasetestbuild

releasetestbuild

releasetestbuild

releasetestbuild

Page 44: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Continuous Integration Small, frequent changes, constantly

integrating into production.

Page 45: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real
Page 46: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Thousands of teams

Page 47: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Thousands of teams × Microservice architecture

Page 48: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Thousands of teams × Microservice architecture

× Continuous delivery

Page 49: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Thousands of teams × Microservice architecture

× Continuous delivery× Multiple environments

Page 50: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

= 50 million deployments a year

Thousands of teams × Microservice architecture

× Continuous delivery× Multiple environments

(5708 per hour, or every 0,63 second)

Page 51: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

How do I get there?

Page 52: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

1. Split up the monolith

Page 53: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

1. Split up the monolith

1. Add an API

A m a z o n A P I G at e w a y

Page 54: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

1. Split up the monolith

1. Add an API 2. Carve out services

A m a z o n A P I G at e w a y

Page 55: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

1. Split up the monolith

1. Add an API 2. Carve out services 3. Repeat

A m a z o n A P I G at e w a y

Page 56: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

2. Split up the organization• Small teams • Autonomous • Business + developers + ops in same team • Governance to align teams • Hierarchy for support • Introduce Lean, Agile, DevOps methods • Think: “group of startups”, not “large company”

Page 57: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Summary• “Lock-in” is a perception, the real problem is lack of choice. • Lack of choice has many dimensions: Standards, contracts,

organizations, time, cost, technology, resources. • Focusing on individual lock-ins can introduce other lock-ins. • A better solution is to maximize choice and minimize

dependencies by enabling technological and organizational agility.

• Microservices and the Cloud enable technological agility. • Lean, Agile and DevOps enable organizational agility.

Page 58: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

Recommended Books

Page 59: 09 2016-05-31 Dancing with Dependencies - Amazon Web Servicesaws-de-media.s3.amazonaws.com/images/ISV/09 2016-05-31_Danci… · Summary • “Lock-in” is a perception, the real

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Constantin Gonzalez

Thank you!Use the opportunity to discuss openly with me during the break!

Principal Solutions Architect, Amazon Web [email protected], @zalez