slide show template -...

44
OPENSHIFT @Amadeus Switching to a containerized application platform © 2015 Amadeus IT Group SA

Upload: phamnhan

Post on 14-Feb-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

OPENSHIFT @AmadeusSwitching to a containerized

application platform

© 2

015 A

madeus I

T G

roup S

A

Page 2: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

Amadeus is a technology company dedicated to the

global travel industry.

We are present in 195 countries with a worldwide team of more than 12,000 people.

Our solutions help improve the

business performanceof travel agencies, corporations, airlines,

airports, hotels, railways and more.

Amadeus in a few words

© 2

015 A

madeus I

T G

roup S

A

Page 3: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Connecting theentire travel ecosystem

Cruiselines

Hotels

Car rental

Ground handlers

Ferry operators

Ground transportation

Airports

Travel agencies

Insurance companies

Airlines

© 2

015 A

madeus I

T G

roup S

A

Page 4: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Supporting the entire traveller life cycle

Post-trip

On trip

Pre-trip Buy/Purchase

Search

Inspire

© 2

015 A

madeus I

T G

roup S

A

Page 5: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Robust global operations

© 2

015 A

madeus I

T G

roup S

A

1.6+billiondata requests processed per day

525+milliontravel agencybookings processed in 2014

695+millionPassengers Boarded (PBs) in 2014

95%of the world’s scheduled network airline seats

Page 6: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Amadeus Constraints

_ Reservation Record / Content Provider Inventory

_ Updated:

• From all around the world

• Concurrent updates

• By several systems (airlines, hotels, travel agency, etc…)

_ Need for:

• Very high-consistency: transaction based

• Low response times

High consistency & low response times

Page 7: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Amadeus Constraints

December 2014 (customer + internal traffic):

• At peak: ~210 000 queries per second

• Average: ~145 000 queries per second

Thousands (and thousands) of application servers

100+ TB of compressed data logged every day

High volume

Page 8: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Large distributed system (SOA)

• 5000+ “micro” services

_ One data-center + disaster-recovery sites

_ Thousands of servers

• x86-64 Linux servers

• Pre-configured upfront for specific tasks

• N+x model as servers can’t be replaced quickly

• Roles cannot be changed

Amadeus System

Where we are

Page 9: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Large distributed system (SOA)

• 5000+ “micro” services

_ One data-center + disaster-recovery sites

_ Thousands of servers

• x86-64 Linux servers

• Pre-configured upfront for specific tasks

• N+x model as servers can’t be replaced quickly

• Roles cannot be changed

Amadeus System

Where we were

Despite the number of servers largely managed as pets

Page 10: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Closer to our customers• Reduce the latency

_ Remote operations• Install appliances within customer premises when appropriate

_ Multiple data-centers / cloud capability

_ Evolve our data-center model• Better use of resources

• Flexibility/Agility

• Higher availability

Amadeus System

Where we are going

Page 11: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Closer to our customers• Reduce the latency

_ Remote operations• Install appliances within customer premises

_ Multiple-data centers

_ Evolve our data-center model• Better use of resources

• Flexibility/Agility

• Higher availability

Amadeus System

Where we are going

Paradigm Shift

Page 12: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Deploy the application as a whole

With all its dependencies

Reproducibility

Homogeneity

Technology agnostic

Simplify operations

Application Centric Deployment

Page 13: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Manage a cluster as a whole

Any task on any server

Start tasks in the cluster

Decouple what should runfrom where it should run

Automated Scheduling

Page 14: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Technological Stack

Page 15: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

• Linux Container Technology

• Container image format

• Easy deployment

• Orchestration of Linux containers

• “Manage a cluster of Linux containers as a single system”

• Automatic placement, self-healing

Technological Stack: OPENSHIFT

Docker + Kubernetes

Page 16: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

Partnership

Page 17: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Partnership with Redhat

_ Started a year ago

_ Software engineers

• From Amadeus embedded in Redhat teams

• From Redhat embedded in Amadeus teams

_ Open Source contributions

Page 18: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3

Page 19: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3

Masters

Page 20: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3

Nodes(aka minions)

Page 21: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Pods: scheduling and scaling unit

POD

Blueprint

Page 22: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3 5 instances of my POD

Page 23: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3

Page 24: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3

Page 25: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3

Page 26: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

OPENSHIFT v3

Page 27: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Always same content

Always listening on same ports

About pods…

Page 28: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Always same content

Always listening on same ports

About pods…

https://github.com/openshift/openshift-sdn

Page 29: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Key/value pairs attached to a pod

_ Labels allow for whatever organizations or conventions you want

_ Example:

• “environment” : “CustomerFacingTest”, “environment”: “Production”, etc…

• “customer”: “X”, “customer”: “Y”

Pods labeling

Page 30: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

How to target a service

that exists on multiple hosts

and can change location ?

Service Discovery

Page 31: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Service represents a group of pods

_ List of Ports

_ A way to select the endpoints: label selectors

• Endpoints are loosely coupled with the service

OPENSHIFT Services

“ports”: [

{

“protocol”: “TCP”

“port”: 80

}

]

“selector”: [

{

“environment”: “production”

“app”: “myGreatApp”

}

]

Page 32: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Endpoints list maintained by API Server

• Endpoint = IP address for a pod

_ REST API

_ Watchable for addition/removal of endpoints

_ Add-on: DNS server watching API server

• Name resolution of services possible

OPENSHIFT Services

Page 33: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© A

madeus I

T G

roup S

A

What OPENSHIFT does for us

Page 34: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Homogenization: everything looks the same !

Operational Model

Page 35: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Not limited to HTTP

_ We use our own protocol over TCP

• Kind of HTTP/2 but before it was invented

_ What we needed to keep:

• Low latency

• Keeping connection open

• Multiplexing

Designed to Accommodate Constraints

Page 36: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Easy deployment

DEV

Page 37: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Easy deployment

Pod v1

Laptop

libvirt

Page 38: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Easy deployment

Pod v1

Private/public clouds

Variety of IaaS

Page 39: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Easy deployment

Pod v1

Production

Openstack

Page 40: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Easy deployment

Pod v1

Production

Openstack

Scale what ran on developers laptops

Page 41: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

Easy deployment

Pod v1

Laptop

libvirt

Pod v1

Private/public clouds

Variety of IaaS

Pod v1

Production

Openstack

Unified Process

Page 42: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© A

madeus I

T G

roup S

A

To conclude…

Page 43: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

© 2

015 A

madeus I

T G

roup S

A

_ Building a cloud-ready system with OPENSHIFT• Macro-management

• Self-healing / resiliency

• Dynamic system

• Multi-cloud/data-center capability

_ Uniform operations• Simplification

• Reduced operational burden

• Enable transition to DevOps model

_ Great collaboration with Red Hat

Key takeways

Page 44: Slide show template - videos.cdn.redhat.comvideos.cdn.redhat.com/summit2015/presentations/12206_amadeus-use… · Car rental Ground handlers ... •Average: ~145 000 queries per second

You can follow us on:

AmadeusITGroup

amadeus.com/blogamadeus.com

Thank you

© 2

015 A

madeus I

T G

roup S

A