35
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Olga Lagunova, Chief Data and Analytics Officer, Pitney Bowes Kyle Pause, Director of SaaS Platform Development, Pitney Bowes November 30, 2016 How Pitney Bowes Is Transforming Their Business in the Cloud WIN203

AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Embed Size (px)

Citation preview

Page 1: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

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

Olga Lagunova, Chief Data and Analytics Officer, Pitney Bowes

Kyle Pause, Director of SaaS Platform Development, Pitney Bowes

November 30, 2016

How Pitney Bowes Is Transforming

Their Business in the Cloud

WIN203

Page 2: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

What to Expect from the Session

Who Pitney Bowes is and what we do to enable global

eCommerce

Why and how we moved critical Windows-based workloads

to AWS

What we are doing next to accelerate the development,

improve the quality and reliability of new eCommerce

services

Page 3: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

What We Do

Anywhere to EverywhereTM

Global

Ecommerce

Digital intersects physical

to elevate and transform

the retail experience for

you and your consumers

Pitney Bowes Global Solutions

Customer Information Management

Using trusted data to drive insights and intelligence

Customer Engagement

Delivering relevant and engaging interactions

across the customer lifecycle

Shipping & Mailing

Driving parcel handling and mailing efficiency

with end-to-end innovation

Location Intelligence

Transforming location and business data into

enhanced insight

Page 4: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Pitney Bowes Transportation Network

Pitney Bowes ships parcels outbound from the US to 104

countries, and outbound from the UK to 88 countries

around the world!

Page 5: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

The Life of a (simple) Parcel

5

Seller ships to PB Hub

The Hub team receives and processes the parcel.

Domestic Linehaul Vendor

picks up the parcel

Lin

ehaul v

endor

ship

s to

their h

ub

and p

rocesses.

Linehaul gets parcel ready for international shipping.

Parcel transported to departure airport.

Parcel uplifted to destination country.

Parcel handed over to customs broker.

Broker clears parcel, pays duty & taxes.

Parcel shipped to consignee by local delivery agent.

It’s here … it’s what I always wanted!!!

Page 6: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

The Life of a (simple) Parcel

6

Seller ships to PB Hub Domestic Linehaul Vendor

picks up the parcel

Lin

ehaul v

endor

ship

s to

their h

ub

and p

rocesses.

Linehaul gets parcel ready for international shipping.

Parcel transported to departure airport.

Parcel uplifted to destination country.

Parcel handed over to customs broker.

Broker clears parcel, pays duty & taxes.

Parcel shipped to consignee by local delivery agent.

It’s here … it’s what I always wanted!!!

The Hub team receives and process the parcel.

Transportation Hub

software supports all

steps in this lifecycle

Page 7: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Hub Processing Overview

• Checks in each parcel

• Parcel matches order

• Parcel weight and dimensions

• Restricted and Dangerous Goods

• Open Box vs. Closed Box processing

• Parcel and Shipment documentation – Shipping Label,

Commercial Invoice, Bill of Lading, eManifest…

• Parcel Containerization

• Parcel Tracking

Page 8: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Infrastructure Situation in 2015

Aging infrastructure in our

Omaha data center

• 3-6 year-old server &

network infrastructure

• Insufficient I/O performance

• Spook factor when

investigating outages and

performance issues

Page 9: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Data Center Operations Support Change

Application

Developers

Application

Operations

NetOps

Page 10: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Data Center Operations Support Change

Application

Developers

Application

Operations

NetOps

Page 11: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Data Center Operations Support Change

Application

Developers

Application

Operations

Page 12: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

A Disaster Waiting To Happen

Primary DR

Page 13: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Decisions, decisions…

Page 14: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

What We Wanted

Opex vs. Capex

Cost-effective infrastructure

Developer productivity

Reliable solution

Page 15: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

What We Wanted

Opex vs. Capex

Cost-effective infrastructure

Developer productivity

Reliable solution

AWS Other Vendors

Page 16: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

What We Wanted

Opex vs. Capex

Cost-effective infrastructure

Developer productivity

Reliable solution

AWS Other Vendors

Page 17: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Moving the Hub to AWS

Page 18: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

PB AWS Cloud Adoption Patterns

Lift and Shift

Amazon EC2,

AMIs, VPCs, ELBs,

Amazon Route 53

Cloud Optimized

Amazon S3, Amazon EFS, Amazon RDS, AWS CloudFormation, Amazon CloudWatch

Cloud Native

AWS Elastic Beanstalk, Auto-scaling, Docker, Amazon ECS, AWS Lambda

Page 19: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Lift and Shift Selected for Transportation Hub

Lift and Shift

Amazon EC2, AMIs, VPCs, ELBs, Amazon Route 53

Need to get this done quickly

Development consumed with delivering

feature content

Let’s crawl before we walk

Page 20: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Development moved first

IT no longer going to manage development and QA

environments in our private data center

Dev team set up new environments in AWS in a matter of

days

Dev

Dev

Page 21: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Production Migration Key Requirements

• Seamless – no negative impact to customers and

development teams

• Improve supportability of the system

• Eliminate single points of failure (add HA)

• Improve monitoring

• Enable seasonal bursting & scaling down

• Complete Production cut over prior to holiday readiness

preparations

Page 22: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Migration Execution Step 1

• Product Services Group (operations team) built out a

“production test environment”

Page 23: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Migration Execution Step 2

• Conducted load tests

• Iteratively tuned the server configurations till they were

just right

Discovered that they needed to increased provisioned IOPS

No problem – simple config change

Page 24: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Migration Execution Step 3

Cut AMIs from tuned servers in product test environments

and used them to provision production environment

Page 25: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Migration Execution Step 4

Replicated data to AWS, configured AWS as DR site for

Omaha, and failed over during maintenance window

Omaha AWS US East

Page 26: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Migration Execution Step 5

Configured DR Site in AWS US West

AWS US EastAWS US West

Page 27: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Results

Wire to wire it took 5 months

Performance and uptime significantly improved

• Availability Zone went down and it was just a blip on the radar

Developers and operations have much higher confidence

level in infrastructure

• The spook factor is gone

Page 28: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

What's Next for Us

Page 29: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Start moving Transportation Hub to Optimized

Lift and Shift

EC2, AMIs, VPCs,

ELB, Route 53

Cloud Optimized

S3, EFS, RDS,

CloudFormation,

CloudWatch

Implementing RDS

Streamline

deployment

pipeline

Page 30: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

BorderFree Lift and Shift

Primary Site for BorderFree

DR in AWS East

Page 31: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Evolving BorderFree To Cloud Native

• Development team is breaking up monolithic application

architecture into separate services

• Moving from Windows to Linux

• Continuous Integration environment built on AWS

• Defining AWS resources as CloudFormation Stacks

• Packaging application layer in Docker containers

• Ansible for orchestrating deployments

Page 32: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Environment

Stack

Target State

Ansible

Controller

Instances

SCM

Playbooks

Generate

templates

Deploy

Configure

Orchestrate

(SSH)

Pull Docker images for

apps and services

Creates Stacks

Tag Resources

Boot time

configuration

Cloud-init

ansible

Cloudformation

Templates

Docker

Registry

Page 33: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Wrap Up

• Faced with aging infrastructure

• Selected AWS primarily on cost and developer

productivity

• AWS adoption patterns – lift & shift, cloud optimized and

cloud native

• Successfully moved Transportation Hub via lift & shift,

adding high availability & true DR

• Evolving BorderFree to cloud native, building AWS

based CI with Ansible, CloudFormation & Docker

Page 34: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Thank you!

Page 35: AWS re:Invent 2016: How Pitney Bowes is transforming their business in the cloud (WIN203)

Remember to complete

your evaluations!