building a service delivery infrastructure

39
Building a Service Delivery Infrastructure 1

Upload: others

Post on 10-Feb-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Building a Service Delivery Infrastructure

Building a Service Delivery Infrastructure

1

Page 2: Building a Service Delivery Infrastructure

Paula Paul

@paulapaultweets

ThoughtworksTechnology Principal

Rosemary Wang

@joatmon08

ThoughtworksInfrastructure Consultant

2

Page 3: Building a Service Delivery Infrastructure

What is it?

3

Page 4: Building a Service Delivery Infrastructure

4

services & applications

business capability

delivered in

Page 5: Building a Service Delivery Infrastructure

services & applications

business capability

delivered in

infrastructure

delivered on

delivered by

business value

5

Page 6: Building a Service Delivery Infrastructure

Literal “Delivery” Infrastructure

6

Page 7: Building a Service Delivery Infrastructure

Given a record identifier associated with a customer,

When I call an API endpoint

Then I should get the customer’s name.

7

Deliver Me, “Hello Customer!”

Page 8: Building a Service Delivery Infrastructure

CONSTRAINTS

8

Given a record identifier associated with a customer,

When I call an API endpoint

Then I should get the customer’s name.

Deliver Me, “Hello Customer!”

Page 9: Building a Service Delivery Infrastructure

As a developer...

9

Page 10: Building a Service Delivery Infrastructure

I WANT TO BE PRODUCTIVE.

10

Page 11: Building a Service Delivery Infrastructure

Narratives

As a… I want to… So that…

More / less detail

Consider acceptance criteria

11

Page 12: Building a Service Delivery Infrastructure

As a developer

I want to use CPU and memory resources

So that I can deliver some business capability.

Core Compute

12

Page 13: Building a Service Delivery Infrastructure

As a developer

I want to securely and automatically manage my secrets

So that I can mitigate the exposure to sensitive strings such as passwords and keys.

Secrets Management

13

Page 14: Building a Service Delivery Infrastructure

As a developer

I want to have access control for my service endpoints

So that I can enforce authorized access and mitigate security risks.

Identity & Authorization

14

Page 15: Building a Service Delivery Infrastructure

Infrastructure Boundaries

CORE COMPUTE BUILD PIPELINES NETWORK

CONTAINER ORCHESTRATION

IDENTITY AND ACCESS

SECRETS MANAGEMENT

OBSERVABILITY

VULNERABILITY MANAGEMENT

(SECURITY)

CONTAINER AND IMAGE REGISTRY

SAAS ANDEXTERNAL SYSTEMS

INTEGRATION

DATA AND PERSISTENCE

15

Page 16: Building a Service Delivery Infrastructure

Infrastructure as Software

Agile Infrastructure

Domain-Driven DesignTest-Driven DevelopmentThin SlicingYAGNIPairingAcceptance Criteria

16

Page 17: Building a Service Delivery Infrastructure

As an infrastructure engineer...

17

Page 18: Building a Service Delivery Infrastructure

I WANT TO RECLAIM NIGHTS & WEEKENDS.

18

Page 19: Building a Service Delivery Infrastructure

NEITHER!

Achieve a ubiquitous language.

Learn infrastructure-as-code.

Remember - you want to deliver “Hello, Customer!”.

“Expert Developer” or “Hero Operator”?

19

Page 20: Building a Service Delivery Infrastructure

As a [ developer | infrastructure engineer ]

I want to deliver my [service | infrastructure ] in an automated way

So that it is secure, legally compliant, and ready for my user.

Deployment Pipelines

20

Page 21: Building a Service Delivery Infrastructure

Infrastructure Deployment Pipeline

Unit Build Secure Monitor Perform PromoteTestConfiguration

CheckAutomation Integration Test

Conformance Tests

(can run async)

Production Ready!

terraform plan

terraform apply

pytest inspec-gcpawspec

scout2g-scout pytest locust

pumba

21

Page 22: Building a Service Delivery Infrastructure

As an [ developer | infrastructure engineer ]

I want to control how other services reach each other

So that I can minimize my threat surface.

Networking

https://www.youtube.com/watch?v=j7HYpSCCEY0 22

Page 23: Building a Service Delivery Infrastructure

unit

smoke

integration

e2e

exploratory

component

validates config/syntax

signals that we can test further

tests multiple components not in our control

tests component is configured

tests EVERYTHINGco

st

23

Page 24: Building a Service Delivery Infrastructure

Network Policy Example

24

Page 25: Building a Service Delivery Infrastructure

As an architect...

25

Page 26: Building a Service Delivery Infrastructure

I WANT TO CHAMPION PRODUCTIVITY &

ARCHITECTURE “-ILITIES”.

26

Page 27: Building a Service Delivery Infrastructure

Objective Metrics

architecturalfitness functions

security0 high vulnerabilities

resiliency< 1% deployment error rate

auditability< 90 days since last audit

27http://evolutionaryarchitecture.com/

Page 28: Building a Service Delivery Infrastructure

https://www.thoughtworks.com/insights/blog/fitness-function-driven-development 28

Page 29: Building a Service Delivery Infrastructure

services & applications

business capability

delivered in

infrastructure

delivered on

delivered by

business value

29

Page 30: Building a Service Delivery Infrastructure

As a CxO...

30

Page 31: Building a Service Delivery Infrastructure

The Balancing Act

Build vs.Buy

Vendor Lock-in

Fixed vs.On-Demand

Capacity

Cost

Compliance

Vendor Management

Global vs. Regional

Evolvability

Autonomy

Complexity

31

Page 32: Building a Service Delivery Infrastructure

2019 IT Budgets

The 2019 State of IT, spiceworks

32

Page 33: Building a Service Delivery Infrastructure

Metrics

33

Evolvability Mean Time to Resolution

Time to Market

Page 34: Building a Service Delivery Infrastructure

services & applications

business capability

delivered in

infrastructure

delivered on

delivered by

business value

34

Page 35: Building a Service Delivery Infrastructure

Where do we start?

35

Page 36: Building a Service Delivery Infrastructure

Team Structure?

Capabilities Development?

Executive Buy-In?

Known Journey?

As an organization...

36

Page 37: Building a Service Delivery Infrastructure

▢ remember your customer!

▢ experiment

▢ read examples

▢ join / build a community

As an individual...

37

Page 38: Building a Service Delivery Infrastructure

Paula Paul

@paulapaultweets

Thank you!Rosemary Wang

@joatmon08

38

Page 39: Building a Service Delivery Infrastructure

Rate today ’s session!

Session page on oreillysacon.com/ny O’Reilly Events App

39