pbs @ rightscale user meetup 2010

10

Click here to load reader

Upload: drew-engelson

Post on 02-Jul-2015

156 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: PBS @ RightScale User Meetup 2010

RightScale at PBS

Drew Engelson <[email protected]>

Chief Architect, PBS Interactive

Page 2: PBS @ RightScale User Meetup 2010

PBS is…

• PBS is a national federation of independently owned and operated public television stations and producers– Each with their own management and development resources

• 1500+ highly trafficked websites:– http://www.pbs.org/

– http://www.pbs.org/nova/

– http://pbskids.org/

– http://pbskids.org/sesame/

– http://video.pbs.org/

• Enterprise services/APIs

Page 3: PBS @ RightScale User Meetup 2010

Before the cloud

• Hosting provider for 3rd party developers– Shared hosting platform and database cluster

– Numerous widely varying technologies supported

– No application isolation

• Application deployment– Difficult QA and deployment (Dev > Staging > Live)

• Traditional IT– Fixed bandwidth

– Inflexible infrastructure, poorly scalable = degraded uptime

– Aging operational platform (near EOL)

• Strategic applications coming down the pipeline– Lack of data for forecasting

• Need financial visibility per application

Page 4: PBS @ RightScale User Meetup 2010

Our challenge

• On a limited, shared infrastructure

– Support diverse technologies

– Grant developers full access

– Keep the system running

• Something’s gotta give!

Diverse technologies

System is UpDeveloper

access x

Page 5: PBS @ RightScale User Meetup 2010

Thanks, RightScale

• Amazon EC2, S3, EBS, ELB, SQS, …

• 180 (+/-) server instances and growing

• All managed via RightScale Enterprise sub-accounts

• Standardize baseline configuration

– Streamlined set of standard server templates

» LAMP Stacks (EBS, S3), App server, DB server, Cache

• CentOS 5.2 RightImage

• Standard + custom RightScripts

• Application specific configurations

• Designed for failure, fully repeatable

Page 6: PBS @ RightScale User Meetup 2010

PBS hosting now

• CentOS 5.2 Linux (AWS small)

– Apache, MySQL, Python, PHP

– Memcached (use it!)

• Devs install addl software packages

• Complete server isolation

• Automated backups, “Easy” recovery

– S3 and/or EBS

• SSH access with sudo

• Proxy through www.pbs.org

• Staging and Live

System is Up

Diverse technologies

Developer access

Page 7: PBS @ RightScale User Meetup 2010

In the cloud today

Page 8: PBS @ RightScale User Meetup 2010

PBS Video (video.pbs.org)

ProxyEC2

ProxyEC2

App Server ELB

Dat

abas

e E

LB

App#N

App#3

App#2

AppEC2

US East 1a

App#N

App#3

App#2

AppEC2

US East 1d

DB Slave EC2/EBS

DB Slave EC2/EBS

DB Master EC2/EBS

AdminEC2/EBS

Cac

he

ELB

CacheEC2

CacheEC2

EBS Snapshots

S3 backups

Page 9: PBS @ RightScale User Meetup 2010

Additional uses

• Software vetting/selection

– Spin up new servers to test/vet software packages

– No need to requisition expensive hardware

• Hosting operational services

– Documentation wikis (Confluence)

– Issue tracker (JIRA)

– Source control management (SVN, Git, Gitorious)

– Log monitoring (Splunk)

Page 10: PBS @ RightScale User Meetup 2010

Moving forward

• Hybrid cloud for development

– Eucalyptus

– Build local, deploy to cloud

• Utilize queuing services (SQS) for:

– Video transcoding

– Log processing

• Amazon Relation Database Service

• More Ubuntu

– CentOS packages outdated… lots of upgrading needed