SlideShare uma empresa Scribd logo
1 de 30
Baixar para ler offline
Ne#lix	
  in	
  the	
  Cloud	
  

      Qcon	
  Beiing	
  April	
  9,	
  2011	
  
         Adrian	
  Cockcro=	
  
@adrianco	
  #ne#lixcloud	
  h@p://slideshare.net/adrianco	
  
              acockcro=@ne#lix.com	
  
Who,	
  Why,	
  What	
  

            Ne#lix	
  in	
  the	
  Cloud	
  
   Cloud	
  Challenges	
  and	
  Learnings	
  
Systems	
  and	
  OperaKons	
  Architecture	
  
  (see	
  presentaKon	
  at	
  15:50-­‐16:50)	
  
Ne#lix	
  Inc.	
  
     With	
  more	
  than	
  20	
  million	
  subscribers	
  in	
  the	
  United	
  
     States	
  and	
  Canada,	
  Ne9lix,	
  Inc.	
  is	
  the	
  world’s	
  leading	
  
     Internet	
  subscripAon	
  service	
  for	
  enjoying	
  movies	
  and	
  
                                      TV	
  shows.	
  
                                             	
  
                           InternaAonal	
  Expansion	
  
     We	
  plan	
  to	
  expand	
  into	
  an	
  addiAonal	
  market	
  in	
  the	
  
     second	
  half	
  of	
  2011…	
  If	
  the	
  second	
  market	
  meets	
  our	
  
     expectaAons…	
  we	
  will	
  conAnue	
  to	
  invest	
  and	
  expand	
  
                              aggressively	
  in	
  2012.	
  
Source:	
  h@p://ir.ne#lix.com	
  
Unlimited	
  streaming	
  for	
  $7.99/month,	
  large	
  and	
  growing	
  catalog	
  of	
  movies	
  and	
  TV	
  
Adrian	
  Cockcro=	
  
•  Director,	
  Architecture	
  for	
  Cloud	
  Systems,	
  Ne#lix	
  Inc.	
  
    –  Previously	
  Director	
  for	
  PersonalizaKon	
  Pla#orm	
  

•  DisKnguished	
  Availability	
  Engineer,	
  eBay	
  Inc.	
  2004-­‐7	
  
    –  Founding	
  member	
  of	
  eBay	
  Research	
  Labs	
  

•  DisKnguished	
  Engineer,	
  Sun	
  Microsystems	
  Inc.	
  1988-­‐2004	
  
    –    2003-­‐4	
  Chief	
  Architect	
  High	
  Performance	
  Technical	
  CompuKng	
  
    –    2001	
  Author:	
  Capacity	
  Planning	
  for	
  Web	
  Services	
  
    –    1999	
  Author:	
  Resource	
  Management	
  
    –    1995	
  &	
  1998	
  Author:	
  Sun	
  Performance	
  and	
  Tuning	
  
    –    1996	
  Japanese	
  EdiKon	
  of	
  Sun	
  Performance	
  and	
  Tuning	
  
          •  	
  SPARC	
  &	
  Solaris                        (                           )	
  
Why	
  is	
  Ne#lix	
  Talking	
  about	
  
               Cloud?	
  
Ne#lix	
  is	
  Path-­‐finding	
  

   The	
  Cloud	
  ecosystem	
  is	
  evolving	
  very	
  fast	
  
Share	
  with	
  and	
  learn	
  from	
  the	
  cloud	
  community	
  
We	
  want	
  to	
  use	
  clouds,	
  
             not	
  build	
  them	
  
   Cloud	
  technology	
  should	
  be	
  a	
  commodity	
  
Public	
  cloud	
  and	
  open	
  source	
  for	
  agility	
  and	
  scale	
  
Why	
  Use	
  Cloud?	
  
                         	
  
        For	
  Be@er	
  Business	
  Agility	
  
For	
  Unpredictable	
  Business	
  Growth	
  
Data	
  Center	
                  Ne#lix	
  could	
  not	
  
                                     build	
  new	
  
                                  datacenters	
  fast	
  
                                      enough	
  

  Capacity	
  growth	
  is	
  acceleraKng,	
  unpredictable	
  
  Product	
  launch	
  spikes	
  -­‐	
  iPhone,	
  Wii,	
  PS3,	
  XBox	
  
20	
  Million	
  Customers	
  
   2010-­‐Q3	
  year/year	
  +52%	
  Total	
  and	
  +145%	
  Streaming	
  
         25	
  

          20	
  

          15	
  

           10	
  

              5	
  

               0	
  
                       2009Q2	
  2009Q3	
  
                                           2009Q4	
   2010Q1	
  
                                                                   2010Q2	
  
                                                                                2010Q3	
  
                                                                                             2010Q4	
  

Source:	
  h@p://ir.ne#lix.com	
  
Out-­‐Growing	
  Data	
  Center	
  
             h@p://techblog.ne#lix.com/2011/02/redesigning-­‐ne#lix-­‐api.html   	
  


                               37x	
  Growth	
  Jan	
  
                               2010-­‐Jan	
  2011	
  


Datacenter	
  
Capacity	
  
Ne#lix.com	
  is	
  now	
  ~100%	
  Cloud	
  

   Account	
  sign-­‐up	
  is	
  currently	
  being	
  moved	
  to	
  cloud	
  
     All	
  internaKonal	
  product	
  will	
  be	
  cloud	
  based	
  
    USA	
  specific	
  logisKcs	
  remains	
  in	
  the	
  Datacenter	
  	
  
Leverage	
  AWS	
  Scale	
  
   “the	
  biggest	
  public	
  cloud”	
  
       AWS	
  investment	
  in	
  tooling	
  and	
  automaKon	
  
Use	
  many	
  AWS	
  zones	
  for	
  high	
  availability,	
  scalability	
  
       AWS	
  skills	
  are	
  most	
  common	
  on	
  resumes…	
  
Leverage	
  AWS	
  Feature	
  Set	
  
      “the	
  market	
  leader”	
  
EC2,	
  S3,	
  SDB,	
  SQS,	
  EBS,	
  EMR,	
  ELB,	
  ASG,	
  IAM,	
  RDB,	
  VPC…	
  
                        h@p://aws.amazon.com/jp	
  
Amazon Cloud Terminology
                                       See http://aws.amazon.com/ for details
                               This is not a full list of Amazon Web Service features

•    AWS	
  –	
  Amazon	
  Web	
  Services	
  (common	
  name	
  for	
  Amazon	
  cloud)	
  
•    AMI	
  –	
  Amazon	
  Machine	
  Image	
  (archived	
  boot	
  disk,	
  Linux,	
  Windows	
  etc.	
  plus	
  applicaKon	
  code)	
  
•    EC2	
  –	
  ElasKc	
  Compute	
  Cloud	
  
       –    Range	
  of	
  virtual	
  machine	
  types	
  m1,	
  m2,	
  c1,	
  cc,	
  cg.	
  Varying	
  memory,	
  CPU	
  and	
  disk	
  configuraKons.	
  
       –    Instance	
  –	
  a	
  running	
  computer	
  system.	
  Ephemeral,	
  when	
  it	
  is	
  de-­‐allocated	
  nothing	
  is	
  kept.	
  
       –    Reserved	
  Instances	
  –	
  pre-­‐paid	
  to	
  reduce	
  cost	
  for	
  long	
  term	
  usage	
  
       –    Availability	
  Zone	
  –	
  datacenter	
  with	
  own	
  power	
  and	
  cooling	
  hosKng	
  cloud	
  instances	
  
       –    Region	
  –	
  group	
  of	
  Availability	
  Zones	
  –	
  US-­‐East,	
  US-­‐West,	
  EU-­‐Eire,	
  Asia-­‐Singapore,	
  Asia-­‐Japan	
  
•    ASG	
  –	
  Auto	
  Scaling	
  Group	
  (instances	
  booKng	
  from	
  the	
  same	
  AMI)	
  
•    S3	
  –	
  Simple	
  Storage	
  Service	
  (h@p	
  access)	
  
•    EBS	
  –	
  ElasKc	
  Block	
  Storage	
  (network	
  disk	
  filesystem	
  can	
  be	
  mounted	
  on	
  an	
  instance)	
  
•    RDB	
  –	
  RelaKonal	
  Data	
  Base	
  (managed	
  MySQL	
  master	
  and	
  slaves)	
  
•    SDB	
  –	
  Simple	
  Data	
  Base	
  (hosted	
  h@p	
  based	
  NoSQL	
  data	
  store)	
  
•    SQS	
  –	
  Simple	
  Queue	
  Service	
  (h@p	
  based	
  message	
  queue)	
  
•    SNS	
  –	
  Simple	
  NoKficaKon	
  Service	
  (h@p	
  and	
  email	
  based	
  topics	
  and	
  messages)	
  
•    EMR	
  –	
  ElasKc	
  Map	
  Reduce	
  (automaKcally	
  managed	
  Hadoop	
  cluster)	
  
•    ELB	
  –	
  ElasKc	
  Load	
  Balancer	
  
•    EIP	
  –	
  ElasKc	
  IP	
  (stable	
  IP	
  address	
  mapping	
  assigned	
  to	
  instance	
  or	
  ELB)	
  
•    VPC	
  –	
  Virtual	
  Private	
  Cloud	
  (extension	
  of	
  enterprise	
  datacenter	
  network	
  into	
  cloud)	
  
•    IAM	
  –	
  IdenKty	
  and	
  Access	
  Management	
  (fine	
  grain	
  role	
  based	
  security	
  keys)	
  
Simple	
  AWS	
  Architecture	
  
    AutomaKc	
  configuraKon	
  of	
  this	
  using	
  “CloudFormaKon”	
  and	
  “ElasKc	
  Beanstalk”	
  


 External	
  DNS	
  CName	
                                                      Route	
  53	
  




                                                                                ElasKc	
  IP	
  
 Persistent	
  IP	
  Address	
                                                 Address	
  EIP	
  




   Round	
  Robin	
  Load	
                                                   ElasKc	
  Load	
  
       Balancer	
                                                             Balancer	
  ELB	
  




 Auto	
  Scaling	
  Groups	
  of	
     m1.xlarge	
  JVM	
     m1.xlarge	
  JVM	
              m1.xlarge	
  JVM	
     m1.xlarge	
  JVM	
  
Instances	
  running	
  AMIs	
           app.war	
              app.war	
                       app.war	
              app.war	
  




                                          Simple	
                                                                     RelaKonal	
  
                                                              Simple	
  Storage	
             Simple	
  Queue	
  
Cloud	
  Storage	
  Services	
           Database	
  
                                        Service	
  SDB	
  
                                                                Service	
  S3	
                Service	
  SQS	
  
                                                                                                                       Database	
  
                                                                                                                     Service	
  mySQL	
  
“The	
  cloud	
  lets	
  its	
  users	
  focus	
  
         on	
  delivering	
  differenAaAng	
  
         business	
  value	
  instead	
  of	
  
         wasAng	
  valuable	
  resources	
  
         on	
  the	
  undifferen)ated	
  
         heavy	
  li0ing	
  that	
  makes	
  
         up	
  most	
  of	
  IT	
  
         infrastructure.”	
  
	
  
     	
  Werner	
  Vogels	
  
     	
  Amazon	
  CTO	
  
	
  
We	
  want	
  to	
  use	
  clouds,	
  
we	
  don’t	
  have	
  Kme	
  to	
  build	
  them	
  
                  Public	
  cloud	
  for	
  agility	
  and	
  scale	
  
 AWS	
  because	
  they	
  are	
  big	
  enough	
  to	
  allocate	
  thousands	
  
           of	
  instances	
  per	
  hour	
  when	
  we	
  need	
  to	
  
Ne#lix	
  EC2	
  Instances	
  per	
  Account	
  
          (summer	
  2010,	
  producKon	
  is	
  much	
  higher	
  now…)	
  
“Many	
  Thousands”	
  




           Content	
  Encoding	
  




          Test	
  and	
  ProducKon	
  
                                             Log	
  Analysis	
  

                                         “Several	
  Months”	
  
Ne#lix	
  Deployed	
  on	
  AWS	
  

Content	
              Logs	
              Play	
              WWW	
             API	
  
      Video	
  
                              S3	
             DRM	
             Search	
         Metadata	
  
     Masters	
  


                                                                 Movie	
  
        EC2	
          EMR	
  Hadoop	
     CDN	
  rouKng	
                      Device	
  Config	
  
                                                                Choosing	
  


                                                                                  TV	
  Movie	
  
         S3	
               Hive	
         Bookmarks	
           RaKngs	
  
                                                                                  Choosing	
  


    Content	
             Business	
                                                Mobile	
  
    Delivery	
                                Logging	
          Similars	
  
                        Intelligence	
                                              iPhone	
  
  Network	
  CDN	
  
Cloud	
  Encoding	
  Pipeline	
  

                                                                   Encode	
       S3	
      Encode	
              S3	
  
Movie	
       Master	
                  Network	
      S3	
                                                                  Copy	
  to	
      CDN	
       Stream	
  
Studios	
                  Ne#lix	
                   Master	
     Mezza-­‐     Mezza-­‐    to	
  	
  50+	
     Origin	
  
                                                                                                                                              Origin	
  
              Tapes	
                   Upload	
                                 nine	
                          files	
       CDN	
                         to	
  TV	
  
                                                                    nine	
                   files	
  




     Licensed	
  content	
  is	
  provided	
  to	
  Ne#lix	
  as	
  high	
  quality	
  master	
  tapes	
  
     Many	
  formats	
  are	
  reduced	
  to	
  a	
  single	
  high	
  quality	
  mezzanine	
  format	
  on	
  S3	
  
     Individual	
  formats	
  and	
  speeds	
  are	
  encoded	
  in	
  over	
  50	
  combinaKons	
  
          	
  Many	
  formats	
  for	
  older	
  and	
  newer	
  hardware	
  and	
  various	
  game	
  consoles	
  
          	
  Many	
  speeds	
  from	
  mobile	
  through	
  standard	
  and	
  high	
  definiKon	
  
     StaKc	
  files	
  are	
  copied	
  to	
  each	
  Content	
  Delivery	
  Network’s	
  “origin	
  server”	
  
     CDNs	
  migrate	
  files	
  to	
  “edge	
  servers”	
  near	
  the	
  end	
  user	
  
     Files	
  stream	
  to	
  PC/Mac/iPad	
  or	
  TV	
  over	
  HTTP	
  using	
  “range	
  get”	
  to	
  move	
  chunks	
  
Cloud	
  Architecture	
  

Separate	
  Talk	
  for	
  Details	
  
     15:50-­‐16:50	
  
Product	
  Trade-­‐off	
  
User	
  Experience	
     ImplementaKon	
  




  Consistent	
           Development	
  
  Experience	
            complexity	
  


                          OperaKonal	
  
 Low	
  Latency	
  
                          complexity	
  
Learnings	
  
•  Datacenter	
  oriented	
  tools	
  don’t	
  work	
  
     –  Ephemeral	
  instances	
  
     –  High	
  rate	
  of	
  change	
  
     –  Need	
  too	
  much	
  hand-­‐holding	
  and	
  manual	
  setup	
  

•  Cloud	
  Tools	
  Don’t	
  Scale	
  for	
  Enterprise	
  
     –  Too	
  many	
  tools	
  are	
  “Startup”	
  oriented	
  
     –  Built	
  our	
  own	
  tools	
  for	
  1000’s	
  of	
  instances	
  
     –  Drove	
  vendors	
  to	
  be	
  dynamic,	
  scale,	
  add	
  APIs	
  

•  Un-­‐modified	
  Datacenter	
  Apps	
  are	
  Fragile	
  
     –  Too	
  many	
  datacenter	
  oriented	
  assumpKons	
  
     –  We	
  re-­‐wrote	
  our	
  code	
  base!	
  
     –  (We	
  re-­‐write	
  it	
  conKnuously	
  anyway)	
  
Wrap	
  Up	
  
ImplicaKons	
  for	
  IT	
  OperaKons	
  
•  Cloud	
  is	
  run	
  by	
  developer	
  organizaKon	
  
    –  Our	
  IT	
  department	
  is	
  Amazon	
  Cloud	
  

•  Cloud	
  capacity	
  is	
  much	
  bigger	
  than	
  Datacenter	
  
    –  Datacenter	
  oriented	
  IT	
  staffing	
  is	
  flat	
  
    –  We	
  have	
  no	
  IT	
  staff	
  working	
  on	
  cloud	
  
    –  We	
  have	
  moved	
  3	
  people	
  out	
  of	
  IT	
  to	
  write	
  code	
  

•  TradiKonal	
  IT	
  Roles	
  are	
  going	
  away	
  
    –  Don’t	
  need	
  SA,	
  DBA,	
  Storage,	
  Network	
  admins	
  
Next	
  Few	
  Years…	
  
•  “System	
  of	
  Record”	
  moves	
  to	
  Cloud	
  (now)	
  
      –  Master	
  copies	
  of	
  data	
  live	
  only	
  in	
  the	
  cloud,	
  with	
  backups	
  
      –  Cut	
  the	
  datacenter	
  to	
  cloud	
  replicaKon	
  link	
  

•  InternaKonal	
  Expansion	
  –	
  Global	
  Clouds	
  (later	
  in	
  2011)	
  
      –  Rapid	
  deployments	
  to	
  new	
  markets	
  

•  Cloud	
  StandardizaKon?	
  
      –      Cloud	
  features	
  and	
  APIs	
  should	
  be	
  a	
  commodity	
  not	
  a	
  differenKator	
  
      –      DifferenKate	
  on	
  scale	
  and	
  quality	
  of	
  service	
  
      –      CompeKKon	
  also	
  drives	
  cost	
  down	
  
      –      Higher	
  resilience	
  and	
  scalability	
  

      	
  
      We	
  would	
  prefer	
  to	
  be	
  an	
  insignificant	
  customer	
  in	
  a	
  giant	
  cloud	
  
Takeaway	
  
                                	
  
Ne9lix	
  is	
  path-­‐finding	
  the	
  use	
  of	
  public	
  AWS	
  
 cloud	
  to	
  replace	
  in-­‐house	
  IT	
  for	
  non-­‐trivial	
  
applicaAons	
  with	
  hundreds	
  of	
  developers	
  and	
  
                  thousands	
  of	
  systems.	
  
                                	
  
                    acockcro=@ne#lix.com	
  
            h@p://www.linkedin.com/in/adriancockcro=	
  
                    @adrianco	
  #ne#lixcloud	
  
杭州站 · 2011年10月20日~22日
 www.qconhangzhou.com(6月启动)




QCon北京站官方网站和资料下载
     www.qconbeijing.com

Mais conteúdo relacionado

Mais procurados

Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsAdrian Cockcroft
 
Cloud Architecture Tutorial - Running in the Cloud (3of3)
Cloud Architecture Tutorial - Running in the Cloud (3of3)Cloud Architecture Tutorial - Running in the Cloud (3of3)
Cloud Architecture Tutorial - Running in the Cloud (3of3)Adrian Cockcroft
 
Cloud Computing and Eclipse technology - how does it fit together?
Cloud Computing and Eclipse technology - how does it fit together?Cloud Computing and Eclipse technology - how does it fit together?
Cloud Computing and Eclipse technology - how does it fit together?Markus Knauer
 
Cloud Computing for Developers and Architects - QCon 2008 Tutorial
Cloud Computing for Developers and Architects - QCon 2008 TutorialCloud Computing for Developers and Architects - QCon 2008 Tutorial
Cloud Computing for Developers and Architects - QCon 2008 TutorialStuart Charlton
 
Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1Ram Chinta
 
Raindance - Tooling for the Clouds
Raindance - Tooling for the CloudsRaindance - Tooling for the Clouds
Raindance - Tooling for the CloudsMarkus Knauer
 
Scalable Database Options on AWS
Scalable Database Options on AWSScalable Database Options on AWS
Scalable Database Options on AWSAmazon Web Services
 
Cloud Architecture Tutorial - Platform Component Architecture (2of3)
Cloud Architecture Tutorial - Platform Component Architecture (2of3)Cloud Architecture Tutorial - Platform Component Architecture (2of3)
Cloud Architecture Tutorial - Platform Component Architecture (2of3)Adrian Cockcroft
 
Journey Through the AWS Cloud; Application Services
Journey Through the AWS Cloud; Application ServicesJourney Through the AWS Cloud; Application Services
Journey Through the AWS Cloud; Application ServicesAmazon Web Services
 
AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...
AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...
AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...Amazon Web Services
 
Netflix cloud architecture...continued
Netflix cloud architecture...continuedNetflix cloud architecture...continued
Netflix cloud architecture...continuedCloud Genius
 
AWS Update | London - Overview of New Releases
AWS Update | London - Overview of New ReleasesAWS Update | London - Overview of New Releases
AWS Update | London - Overview of New ReleasesAmazon Web Services
 
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.comCloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.comAmazon Web Services
 
Masterworks talk on Big Data and the implications of petascale science
Masterworks talk on Big Data and the implications of petascale scienceMasterworks talk on Big Data and the implications of petascale science
Masterworks talk on Big Data and the implications of petascale scienceDeepak Singh
 
Talk given at "Cloud Computing for Systems Biology" workshop
Talk given at "Cloud Computing for Systems Biology" workshopTalk given at "Cloud Computing for Systems Biology" workshop
Talk given at "Cloud Computing for Systems Biology" workshopDeepak Singh
 

Mais procurados (20)

Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and Ops
 
Cloud Architecture Tutorial - Running in the Cloud (3of3)
Cloud Architecture Tutorial - Running in the Cloud (3of3)Cloud Architecture Tutorial - Running in the Cloud (3of3)
Cloud Architecture Tutorial - Running in the Cloud (3of3)
 
Cloud Computing and Eclipse technology - how does it fit together?
Cloud Computing and Eclipse technology - how does it fit together?Cloud Computing and Eclipse technology - how does it fit together?
Cloud Computing and Eclipse technology - how does it fit together?
 
Cloud Computing for Developers and Architects - QCon 2008 Tutorial
Cloud Computing for Developers and Architects - QCon 2008 TutorialCloud Computing for Developers and Architects - QCon 2008 Tutorial
Cloud Computing for Developers and Architects - QCon 2008 Tutorial
 
Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1
 
Raindance - Tooling for the Clouds
Raindance - Tooling for the CloudsRaindance - Tooling for the Clouds
Raindance - Tooling for the Clouds
 
Scalable Database Options on AWS
Scalable Database Options on AWSScalable Database Options on AWS
Scalable Database Options on AWS
 
OpenStack Report
OpenStack ReportOpenStack Report
OpenStack Report
 
Cloud Architecture Tutorial - Platform Component Architecture (2of3)
Cloud Architecture Tutorial - Platform Component Architecture (2of3)Cloud Architecture Tutorial - Platform Component Architecture (2of3)
Cloud Architecture Tutorial - Platform Component Architecture (2of3)
 
Global Netflix Platform
Global Netflix PlatformGlobal Netflix Platform
Global Netflix Platform
 
Journey Through the AWS Cloud; Application Services
Journey Through the AWS Cloud; Application ServicesJourney Through the AWS Cloud; Application Services
Journey Through the AWS Cloud; Application Services
 
Keynote - AWS India Summit 2012
Keynote - AWS India Summit 2012Keynote - AWS India Summit 2012
Keynote - AWS India Summit 2012
 
AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...
AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...
AWS for Start-ups - Architectural Best Practices & Automating Your Infrastruc...
 
Netflix cloud architecture...continued
Netflix cloud architecture...continuedNetflix cloud architecture...continued
Netflix cloud architecture...continued
 
Masterclass Webinar: Amazon S3
Masterclass Webinar: Amazon S3Masterclass Webinar: Amazon S3
Masterclass Webinar: Amazon S3
 
AWS Update | London - Overview of New Releases
AWS Update | London - Overview of New ReleasesAWS Update | London - Overview of New Releases
AWS Update | London - Overview of New Releases
 
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.comCloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
 
AWS GovCloud (US)
AWS GovCloud (US)AWS GovCloud (US)
AWS GovCloud (US)
 
Masterworks talk on Big Data and the implications of petascale science
Masterworks talk on Big Data and the implications of petascale scienceMasterworks talk on Big Data and the implications of petascale science
Masterworks talk on Big Data and the implications of petascale science
 
Talk given at "Cloud Computing for Systems Biology" workshop
Talk given at "Cloud Computing for Systems Biology" workshopTalk given at "Cloud Computing for Systems Biology" workshop
Talk given at "Cloud Computing for Systems Biology" workshop
 

Destaque

OpenSocial - Past, Present, Future
OpenSocial - Past, Present, FutureOpenSocial - Past, Present, Future
OpenSocial - Past, Present, FutureBastian Hofmann
 
Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...
Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...
Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...Sarah M Worthy
 
1359 Vi Editor
1359 Vi Editor1359 Vi Editor
1359 Vi Editortechbed
 
Lab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationLab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationtechbed
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web applicationtechbed
 
Part 2 java development
Part 2 java developmentPart 2 java development
Part 2 java developmenttechbed
 
Helix安装说明
Helix安装说明Helix安装说明
Helix安装说明Yiwei Ma
 

Destaque (7)

OpenSocial - Past, Present, Future
OpenSocial - Past, Present, FutureOpenSocial - Past, Present, Future
OpenSocial - Past, Present, Future
 
Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...
Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...
Notes Version - NonProfit Website Fundraising Foundations - ESCHouston 2013 A...
 
1359 Vi Editor
1359 Vi Editor1359 Vi Editor
1359 Vi Editor
 
Lab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationLab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee application
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web application
 
Part 2 java development
Part 2 java developmentPart 2 java development
Part 2 java development
 
Helix安装说明
Helix安装说明Helix安装说明
Helix安装说明
 

Semelhante a Netflix keynote-adrian-qcon

Migrating Netflix from Datacenter Oracle to Global Cassandra
Migrating Netflix from Datacenter Oracle to Global CassandraMigrating Netflix from Datacenter Oracle to Global Cassandra
Migrating Netflix from Datacenter Oracle to Global CassandraAdrian Cockcroft
 
Netflix Velocity Conference 2011
Netflix Velocity Conference 2011Netflix Velocity Conference 2011
Netflix Velocity Conference 2011Adrian Cockcroft
 
Netflix in the Cloud at SV Forum
Netflix in the Cloud at SV ForumNetflix in the Cloud at SV Forum
Netflix in the Cloud at SV ForumAdrian Cockcroft
 
Netflix Global Cloud Architecture
Netflix Global Cloud ArchitectureNetflix Global Cloud Architecture
Netflix Global Cloud ArchitectureAdrian Cockcroft
 
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...Amazon Web Services
 
2011 oct ctxs at boston stack customer conference final pdf
2011 oct   ctxs at boston stack customer conference final pdf2011 oct   ctxs at boston stack customer conference final pdf
2011 oct ctxs at boston stack customer conference final pdfSameer Dholakia
 
Cloud Architecture Tutorial - Why and What (1of 3)
Cloud Architecture Tutorial - Why and What (1of 3) Cloud Architecture Tutorial - Why and What (1of 3)
Cloud Architecture Tutorial - Why and What (1of 3) Adrian Cockcroft
 
O'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Media
 
Convergence of Containers and Serverless by Mency Woo
Convergence of Containers and Serverless by Mency WooConvergence of Containers and Serverless by Mency Woo
Convergence of Containers and Serverless by Mency WooTriNimbus
 
2013.07.05 [IBM] Cloud Ecosystem Forum - Atelier Directions Techniques
2013.07.05   [IBM] Cloud Ecosystem Forum - Atelier Directions Techniques2013.07.05   [IBM] Cloud Ecosystem Forum - Atelier Directions Techniques
2013.07.05 [IBM] Cloud Ecosystem Forum - Atelier Directions TechniquesClub Cloud des Partenaires
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerAmazon Web Services
 
Netflix web-adrian-qcon
Netflix web-adrian-qconNetflix web-adrian-qcon
Netflix web-adrian-qconYiwei Ma
 
Aws top 50 interview questions
Aws top 50 interview questionsAws top 50 interview questions
Aws top 50 interview questionsInfosecTrain
 
AWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWSAWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWSAmazon Web Services
 
Cloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWebCloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWebjineshvaria
 
Ga cloud scaling 3 30-2012
Ga cloud scaling 3 30-2012Ga cloud scaling 3 30-2012
Ga cloud scaling 3 30-2012Andy Parsons
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Amazon Web Services
 

Semelhante a Netflix keynote-adrian-qcon (20)

Migrating Netflix from Datacenter Oracle to Global Cassandra
Migrating Netflix from Datacenter Oracle to Global CassandraMigrating Netflix from Datacenter Oracle to Global Cassandra
Migrating Netflix from Datacenter Oracle to Global Cassandra
 
Netflix Velocity Conference 2011
Netflix Velocity Conference 2011Netflix Velocity Conference 2011
Netflix Velocity Conference 2011
 
Netflix in the Cloud at SV Forum
Netflix in the Cloud at SV ForumNetflix in the Cloud at SV Forum
Netflix in the Cloud at SV Forum
 
Netflix Global Cloud Architecture
Netflix Global Cloud ArchitectureNetflix Global Cloud Architecture
Netflix Global Cloud Architecture
 
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
 
2011 oct ctxs at boston stack customer conference final pdf
2011 oct   ctxs at boston stack customer conference final pdf2011 oct   ctxs at boston stack customer conference final pdf
2011 oct ctxs at boston stack customer conference final pdf
 
Netflix in the Cloud
Netflix in the CloudNetflix in the Cloud
Netflix in the Cloud
 
Cloud Architecture Tutorial - Why and What (1of 3)
Cloud Architecture Tutorial - Why and What (1of 3) Cloud Architecture Tutorial - Why and What (1of 3)
Cloud Architecture Tutorial - Why and What (1of 3)
 
O'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The Cloud
 
Convergence of Containers and Serverless by Mency Woo
Convergence of Containers and Serverless by Mency WooConvergence of Containers and Serverless by Mency Woo
Convergence of Containers and Serverless by Mency Woo
 
2013.07.05 [IBM] Cloud Ecosystem Forum - Atelier Directions Techniques
2013.07.05   [IBM] Cloud Ecosystem Forum - Atelier Directions Techniques2013.07.05   [IBM] Cloud Ecosystem Forum - Atelier Directions Techniques
2013.07.05 [IBM] Cloud Ecosystem Forum - Atelier Directions Techniques
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and Docker
 
Netflix web-adrian-qcon
Netflix web-adrian-qconNetflix web-adrian-qcon
Netflix web-adrian-qcon
 
Aws top 50 interview questions
Aws top 50 interview questionsAws top 50 interview questions
Aws top 50 interview questions
 
AWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWSAWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWS
 
Cloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWebCloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWeb
 
Ga cloud scaling 3 30-2012
Ga cloud scaling 3 30-2012Ga cloud scaling 3 30-2012
Ga cloud scaling 3 30-2012
 
[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop
 
Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)
 

Mais de Yiwei Ma

Cibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconCibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconYiwei Ma
 
Cibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconCibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconYiwei Ma
 
Taobao casestudy-yufeng-qcon
Taobao casestudy-yufeng-qconTaobao casestudy-yufeng-qcon
Taobao casestudy-yufeng-qconYiwei Ma
 
Alibaba server-zhangxuseng-qcon
Alibaba server-zhangxuseng-qconAlibaba server-zhangxuseng-qcon
Alibaba server-zhangxuseng-qconYiwei Ma
 
Zhongxing practice-suchunshan-qcon
Zhongxing practice-suchunshan-qconZhongxing practice-suchunshan-qcon
Zhongxing practice-suchunshan-qconYiwei Ma
 
Taobao practice-liyu-qcon
Taobao practice-liyu-qconTaobao practice-liyu-qcon
Taobao practice-liyu-qconYiwei Ma
 
Thoughtworks practice-hukai-qcon
Thoughtworks practice-hukai-qconThoughtworks practice-hukai-qcon
Thoughtworks practice-hukai-qconYiwei Ma
 
Ufida design-chijianqiang-qcon
Ufida design-chijianqiang-qconUfida design-chijianqiang-qcon
Ufida design-chijianqiang-qconYiwei Ma
 
Spring design-juergen-qcon
Spring design-juergen-qconSpring design-juergen-qcon
Spring design-juergen-qconYiwei Ma
 
Google arch-fangkun-qcon
Google arch-fangkun-qconGoogle arch-fangkun-qcon
Google arch-fangkun-qconYiwei Ma
 
Cibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconCibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconYiwei Ma
 
Alibaba arch-jiangtao-qcon
Alibaba arch-jiangtao-qconAlibaba arch-jiangtao-qcon
Alibaba arch-jiangtao-qconYiwei Ma
 
Twitter keynote-evan-qcon
Twitter keynote-evan-qconTwitter keynote-evan-qcon
Twitter keynote-evan-qconYiwei Ma
 
Facebook keynote-nicolas-qcon
Facebook keynote-nicolas-qconFacebook keynote-nicolas-qcon
Facebook keynote-nicolas-qconYiwei Ma
 
Domainlang keynote-eric-qcon
Domainlang keynote-eric-qconDomainlang keynote-eric-qcon
Domainlang keynote-eric-qconYiwei Ma
 
Devjam keynote-david-qcon
Devjam keynote-david-qconDevjam keynote-david-qcon
Devjam keynote-david-qconYiwei Ma
 
Baidu keynote-wubo-qcon
Baidu keynote-wubo-qconBaidu keynote-wubo-qcon
Baidu keynote-wubo-qconYiwei Ma
 
淘宝线上线下性能跟踪体系和容量规划-Qcon2011
淘宝线上线下性能跟踪体系和容量规划-Qcon2011淘宝线上线下性能跟踪体系和容量规划-Qcon2011
淘宝线上线下性能跟踪体系和容量规划-Qcon2011Yiwei Ma
 
网游服务器性能优化-Qcon2011
网游服务器性能优化-Qcon2011网游服务器性能优化-Qcon2011
网游服务器性能优化-Qcon2011Yiwei Ma
 
Xietingbao-Qcon2011
Xietingbao-Qcon2011Xietingbao-Qcon2011
Xietingbao-Qcon2011Yiwei Ma
 

Mais de Yiwei Ma (20)

Cibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconCibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qcon
 
Cibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconCibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qcon
 
Taobao casestudy-yufeng-qcon
Taobao casestudy-yufeng-qconTaobao casestudy-yufeng-qcon
Taobao casestudy-yufeng-qcon
 
Alibaba server-zhangxuseng-qcon
Alibaba server-zhangxuseng-qconAlibaba server-zhangxuseng-qcon
Alibaba server-zhangxuseng-qcon
 
Zhongxing practice-suchunshan-qcon
Zhongxing practice-suchunshan-qconZhongxing practice-suchunshan-qcon
Zhongxing practice-suchunshan-qcon
 
Taobao practice-liyu-qcon
Taobao practice-liyu-qconTaobao practice-liyu-qcon
Taobao practice-liyu-qcon
 
Thoughtworks practice-hukai-qcon
Thoughtworks practice-hukai-qconThoughtworks practice-hukai-qcon
Thoughtworks practice-hukai-qcon
 
Ufida design-chijianqiang-qcon
Ufida design-chijianqiang-qconUfida design-chijianqiang-qcon
Ufida design-chijianqiang-qcon
 
Spring design-juergen-qcon
Spring design-juergen-qconSpring design-juergen-qcon
Spring design-juergen-qcon
 
Google arch-fangkun-qcon
Google arch-fangkun-qconGoogle arch-fangkun-qcon
Google arch-fangkun-qcon
 
Cibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qconCibank arch-zhouweiran-qcon
Cibank arch-zhouweiran-qcon
 
Alibaba arch-jiangtao-qcon
Alibaba arch-jiangtao-qconAlibaba arch-jiangtao-qcon
Alibaba arch-jiangtao-qcon
 
Twitter keynote-evan-qcon
Twitter keynote-evan-qconTwitter keynote-evan-qcon
Twitter keynote-evan-qcon
 
Facebook keynote-nicolas-qcon
Facebook keynote-nicolas-qconFacebook keynote-nicolas-qcon
Facebook keynote-nicolas-qcon
 
Domainlang keynote-eric-qcon
Domainlang keynote-eric-qconDomainlang keynote-eric-qcon
Domainlang keynote-eric-qcon
 
Devjam keynote-david-qcon
Devjam keynote-david-qconDevjam keynote-david-qcon
Devjam keynote-david-qcon
 
Baidu keynote-wubo-qcon
Baidu keynote-wubo-qconBaidu keynote-wubo-qcon
Baidu keynote-wubo-qcon
 
淘宝线上线下性能跟踪体系和容量规划-Qcon2011
淘宝线上线下性能跟踪体系和容量规划-Qcon2011淘宝线上线下性能跟踪体系和容量规划-Qcon2011
淘宝线上线下性能跟踪体系和容量规划-Qcon2011
 
网游服务器性能优化-Qcon2011
网游服务器性能优化-Qcon2011网游服务器性能优化-Qcon2011
网游服务器性能优化-Qcon2011
 
Xietingbao-Qcon2011
Xietingbao-Qcon2011Xietingbao-Qcon2011
Xietingbao-Qcon2011
 

Netflix keynote-adrian-qcon

  • 1. Ne#lix  in  the  Cloud   Qcon  Beiing  April  9,  2011   Adrian  Cockcro=   @adrianco  #ne#lixcloud  h@p://slideshare.net/adrianco   acockcro=@ne#lix.com  
  • 2. Who,  Why,  What   Ne#lix  in  the  Cloud   Cloud  Challenges  and  Learnings   Systems  and  OperaKons  Architecture   (see  presentaKon  at  15:50-­‐16:50)  
  • 3. Ne#lix  Inc.   With  more  than  20  million  subscribers  in  the  United   States  and  Canada,  Ne9lix,  Inc.  is  the  world’s  leading   Internet  subscripAon  service  for  enjoying  movies  and   TV  shows.     InternaAonal  Expansion   We  plan  to  expand  into  an  addiAonal  market  in  the   second  half  of  2011…  If  the  second  market  meets  our   expectaAons…  we  will  conAnue  to  invest  and  expand   aggressively  in  2012.   Source:  h@p://ir.ne#lix.com  
  • 4. Unlimited  streaming  for  $7.99/month,  large  and  growing  catalog  of  movies  and  TV  
  • 5. Adrian  Cockcro=   •  Director,  Architecture  for  Cloud  Systems,  Ne#lix  Inc.   –  Previously  Director  for  PersonalizaKon  Pla#orm   •  DisKnguished  Availability  Engineer,  eBay  Inc.  2004-­‐7   –  Founding  member  of  eBay  Research  Labs   •  DisKnguished  Engineer,  Sun  Microsystems  Inc.  1988-­‐2004   –  2003-­‐4  Chief  Architect  High  Performance  Technical  CompuKng   –  2001  Author:  Capacity  Planning  for  Web  Services   –  1999  Author:  Resource  Management   –  1995  &  1998  Author:  Sun  Performance  and  Tuning   –  1996  Japanese  EdiKon  of  Sun  Performance  and  Tuning   •   SPARC  &  Solaris ( )  
  • 6. Why  is  Ne#lix  Talking  about   Cloud?  
  • 7. Ne#lix  is  Path-­‐finding   The  Cloud  ecosystem  is  evolving  very  fast   Share  with  and  learn  from  the  cloud  community  
  • 8. We  want  to  use  clouds,   not  build  them   Cloud  technology  should  be  a  commodity   Public  cloud  and  open  source  for  agility  and  scale  
  • 9. Why  Use  Cloud?     For  Be@er  Business  Agility   For  Unpredictable  Business  Growth  
  • 10. Data  Center   Ne#lix  could  not   build  new   datacenters  fast   enough   Capacity  growth  is  acceleraKng,  unpredictable   Product  launch  spikes  -­‐  iPhone,  Wii,  PS3,  XBox  
  • 11. 20  Million  Customers   2010-­‐Q3  year/year  +52%  Total  and  +145%  Streaming   25   20   15   10   5   0   2009Q2  2009Q3   2009Q4   2010Q1   2010Q2   2010Q3   2010Q4   Source:  h@p://ir.ne#lix.com  
  • 12. Out-­‐Growing  Data  Center   h@p://techblog.ne#lix.com/2011/02/redesigning-­‐ne#lix-­‐api.html   37x  Growth  Jan   2010-­‐Jan  2011   Datacenter   Capacity  
  • 13. Ne#lix.com  is  now  ~100%  Cloud   Account  sign-­‐up  is  currently  being  moved  to  cloud   All  internaKonal  product  will  be  cloud  based   USA  specific  logisKcs  remains  in  the  Datacenter    
  • 14. Leverage  AWS  Scale   “the  biggest  public  cloud”   AWS  investment  in  tooling  and  automaKon   Use  many  AWS  zones  for  high  availability,  scalability   AWS  skills  are  most  common  on  resumes…  
  • 15. Leverage  AWS  Feature  Set   “the  market  leader”   EC2,  S3,  SDB,  SQS,  EBS,  EMR,  ELB,  ASG,  IAM,  RDB,  VPC…   h@p://aws.amazon.com/jp  
  • 16. Amazon Cloud Terminology See http://aws.amazon.com/ for details This is not a full list of Amazon Web Service features •  AWS  –  Amazon  Web  Services  (common  name  for  Amazon  cloud)   •  AMI  –  Amazon  Machine  Image  (archived  boot  disk,  Linux,  Windows  etc.  plus  applicaKon  code)   •  EC2  –  ElasKc  Compute  Cloud   –  Range  of  virtual  machine  types  m1,  m2,  c1,  cc,  cg.  Varying  memory,  CPU  and  disk  configuraKons.   –  Instance  –  a  running  computer  system.  Ephemeral,  when  it  is  de-­‐allocated  nothing  is  kept.   –  Reserved  Instances  –  pre-­‐paid  to  reduce  cost  for  long  term  usage   –  Availability  Zone  –  datacenter  with  own  power  and  cooling  hosKng  cloud  instances   –  Region  –  group  of  Availability  Zones  –  US-­‐East,  US-­‐West,  EU-­‐Eire,  Asia-­‐Singapore,  Asia-­‐Japan   •  ASG  –  Auto  Scaling  Group  (instances  booKng  from  the  same  AMI)   •  S3  –  Simple  Storage  Service  (h@p  access)   •  EBS  –  ElasKc  Block  Storage  (network  disk  filesystem  can  be  mounted  on  an  instance)   •  RDB  –  RelaKonal  Data  Base  (managed  MySQL  master  and  slaves)   •  SDB  –  Simple  Data  Base  (hosted  h@p  based  NoSQL  data  store)   •  SQS  –  Simple  Queue  Service  (h@p  based  message  queue)   •  SNS  –  Simple  NoKficaKon  Service  (h@p  and  email  based  topics  and  messages)   •  EMR  –  ElasKc  Map  Reduce  (automaKcally  managed  Hadoop  cluster)   •  ELB  –  ElasKc  Load  Balancer   •  EIP  –  ElasKc  IP  (stable  IP  address  mapping  assigned  to  instance  or  ELB)   •  VPC  –  Virtual  Private  Cloud  (extension  of  enterprise  datacenter  network  into  cloud)   •  IAM  –  IdenKty  and  Access  Management  (fine  grain  role  based  security  keys)  
  • 17. Simple  AWS  Architecture   AutomaKc  configuraKon  of  this  using  “CloudFormaKon”  and  “ElasKc  Beanstalk”   External  DNS  CName   Route  53   ElasKc  IP   Persistent  IP  Address   Address  EIP   Round  Robin  Load   ElasKc  Load   Balancer   Balancer  ELB   Auto  Scaling  Groups  of   m1.xlarge  JVM   m1.xlarge  JVM   m1.xlarge  JVM   m1.xlarge  JVM   Instances  running  AMIs   app.war   app.war   app.war   app.war   Simple   RelaKonal   Simple  Storage   Simple  Queue   Cloud  Storage  Services   Database   Service  SDB   Service  S3   Service  SQS   Database   Service  mySQL  
  • 18. “The  cloud  lets  its  users  focus   on  delivering  differenAaAng   business  value  instead  of   wasAng  valuable  resources   on  the  undifferen)ated   heavy  li0ing  that  makes   up  most  of  IT   infrastructure.”      Werner  Vogels    Amazon  CTO    
  • 19. We  want  to  use  clouds,   we  don’t  have  Kme  to  build  them   Public  cloud  for  agility  and  scale   AWS  because  they  are  big  enough  to  allocate  thousands   of  instances  per  hour  when  we  need  to  
  • 20. Ne#lix  EC2  Instances  per  Account   (summer  2010,  producKon  is  much  higher  now…)   “Many  Thousands”   Content  Encoding   Test  and  ProducKon   Log  Analysis   “Several  Months”  
  • 21. Ne#lix  Deployed  on  AWS   Content   Logs   Play   WWW   API   Video   S3   DRM   Search   Metadata   Masters   Movie   EC2   EMR  Hadoop   CDN  rouKng   Device  Config   Choosing   TV  Movie   S3   Hive   Bookmarks   RaKngs   Choosing   Content   Business   Mobile   Delivery   Logging   Similars   Intelligence   iPhone   Network  CDN  
  • 22. Cloud  Encoding  Pipeline   Encode   S3   Encode   S3   Movie   Master   Network   S3   Copy  to   CDN   Stream   Studios   Ne#lix   Master   Mezza-­‐ Mezza-­‐ to    50+   Origin   Origin   Tapes   Upload   nine   files   CDN   to  TV   nine   files   Licensed  content  is  provided  to  Ne#lix  as  high  quality  master  tapes   Many  formats  are  reduced  to  a  single  high  quality  mezzanine  format  on  S3   Individual  formats  and  speeds  are  encoded  in  over  50  combinaKons    Many  formats  for  older  and  newer  hardware  and  various  game  consoles    Many  speeds  from  mobile  through  standard  and  high  definiKon   StaKc  files  are  copied  to  each  Content  Delivery  Network’s  “origin  server”   CDNs  migrate  files  to  “edge  servers”  near  the  end  user   Files  stream  to  PC/Mac/iPad  or  TV  over  HTTP  using  “range  get”  to  move  chunks  
  • 23. Cloud  Architecture   Separate  Talk  for  Details   15:50-­‐16:50  
  • 24. Product  Trade-­‐off   User  Experience   ImplementaKon   Consistent   Development   Experience   complexity   OperaKonal   Low  Latency   complexity  
  • 25. Learnings   •  Datacenter  oriented  tools  don’t  work   –  Ephemeral  instances   –  High  rate  of  change   –  Need  too  much  hand-­‐holding  and  manual  setup   •  Cloud  Tools  Don’t  Scale  for  Enterprise   –  Too  many  tools  are  “Startup”  oriented   –  Built  our  own  tools  for  1000’s  of  instances   –  Drove  vendors  to  be  dynamic,  scale,  add  APIs   •  Un-­‐modified  Datacenter  Apps  are  Fragile   –  Too  many  datacenter  oriented  assumpKons   –  We  re-­‐wrote  our  code  base!   –  (We  re-­‐write  it  conKnuously  anyway)  
  • 27. ImplicaKons  for  IT  OperaKons   •  Cloud  is  run  by  developer  organizaKon   –  Our  IT  department  is  Amazon  Cloud   •  Cloud  capacity  is  much  bigger  than  Datacenter   –  Datacenter  oriented  IT  staffing  is  flat   –  We  have  no  IT  staff  working  on  cloud   –  We  have  moved  3  people  out  of  IT  to  write  code   •  TradiKonal  IT  Roles  are  going  away   –  Don’t  need  SA,  DBA,  Storage,  Network  admins  
  • 28. Next  Few  Years…   •  “System  of  Record”  moves  to  Cloud  (now)   –  Master  copies  of  data  live  only  in  the  cloud,  with  backups   –  Cut  the  datacenter  to  cloud  replicaKon  link   •  InternaKonal  Expansion  –  Global  Clouds  (later  in  2011)   –  Rapid  deployments  to  new  markets   •  Cloud  StandardizaKon?   –  Cloud  features  and  APIs  should  be  a  commodity  not  a  differenKator   –  DifferenKate  on  scale  and  quality  of  service   –  CompeKKon  also  drives  cost  down   –  Higher  resilience  and  scalability     We  would  prefer  to  be  an  insignificant  customer  in  a  giant  cloud  
  • 29. Takeaway     Ne9lix  is  path-­‐finding  the  use  of  public  AWS   cloud  to  replace  in-­‐house  IT  for  non-­‐trivial   applicaAons  with  hundreds  of  developers  and   thousands  of  systems.     acockcro=@ne#lix.com   h@p://www.linkedin.com/in/adriancockcro=   @adrianco  #ne#lixcloud  
  • 30. 杭州站 · 2011年10月20日~22日 www.qconhangzhou.com(6月启动) QCon北京站官方网站和资料下载 www.qconbeijing.com