27
Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Microservices and DevOps for Telstra TV3

Grant Simonds, Agile Ways of Working Coach

Page 2: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

4 months to deploy a new application

This Photo is licensed under CC BY-SA

Page 4: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

The TTV3 Dilemma

• More complex than any other TTV with new technical challenges including voice controls

• Critical to get voice response within 5 sec• 3 months to deliver TTV3, Voice and Box Office

on the same day

Copyright Telstra©

Page 5: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

How are we going to do that?

This Photo is licensed under CC BY-SA

Page 7: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Application

Database

Monolith Microservices

Page 8: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

"Find Game of Thrones"

"No problem! Here it is..."

Telstra Cloud

Use-case

Copyright Telstra©

Page 9: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Enterprise Service Bus

Database LDAP

Query Cache

Web Server

Load Balancer

SaaS

No support for HTTP/2

Implementing MA-SSL wasn't straightforward

Hard to add additional resources

Production change time = 5 days

Old World Challenges

Copyright Telstra©

Page 10: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

"Find Game of Thrones"

Connector

ASR/NLU

Search

Analytics

Comms

Pub-Sub

Audio Command

Text Command

Push Notification

Microservices to the rescue

Copyright Telstra©

Page 11: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Architecture Today

• ~44 individual services• Multiple squads work together• Flexible technology stack• Production change time 2-4

hours

Load Balancer

API Gateway

SaaS

Profiles Settings

Search Comms

Distributed Cache

… More Microservices ...

Copyright Telstra©

Page 12: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Copyright Telstra©

Page 13: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Resilience

Scalability

Time to Market

Cost Reduction*

Easy to Debug

Flexibility & Improved Parallelism

Microservices are good…

Copyright Telstra©

Page 14: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

…but there's also a LOT more services to manage

Application

Database

Copyright Telstra©

Page 16: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

DevOps to the rescue

Copyright Telstra©

Dev Ops

Page 17: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach
Page 18: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

• Developers and Operators working together with end to end responsibility• More higher quality deployments• Higher frequency of learning

What is DevOps

Page 19: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

I want change

I want stability!

Dev Ops

Wal

l of C

onfu

sion

Page 20: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

DevOps for Telstra TV• Continuous Integration Pipeline

built by Devs early on• Continuous Delivery built by

Integrators before Prod deployments

• No risky changes: In-service upgrade

• Automate functional and unit tests• Operational acceptance

streamlined• Over 500 deployments of Telstra TV

backend in 6 months• Zero major outages

Copyright Telstra©

Page 21: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Development

Continuous Integration

Test Automation

Continuous Deployment

Monitoring

Optimisation

Page 22: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Copyright Telstra©

CI/CD Pipeline

Jira Issue Write Code

Commit/PR Build Test Deploy

To Dev Test

Deploy To Stage Test Deploy To Prod Test Monitor

Page 23: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Copyright Telstra©

Java 8/11SpringBootDockerKubernetesRancherAWS

Jira/Confluence CloudIntelliJBitbucketBambooNexus

Stack Pipeline

Page 24: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

•Developers and Ops in the same team•Operate what you build•Continuous Everything•Minimise Dependencies•Devs take ops perspective•Ops take dev perspective

Checklist for DevOps

Page 25: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

How the world is better

•From 4 months to 2 hours•Scales within 5 minutes•Responses within 10’s of milliseconds• Tolerates failure

Copyright Telstra©

Page 26: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Team dynamics Monitoring Tools Flexibility vs.

ChaosGraceful

failure

Cost AutomationProgress

over perfection

Service boundaries

The microservice

complex

Copyright Telstra©

Page 27: Microservices and DevOps for Telstra TV3 · Microservices and DevOps for Telstra TV3 Grant Simonds, Agile Ways of Working Coach

Thank You!