SlideShare a Scribd company logo
1 of 30
Download to read offline
April 2013
Considerations	
  for	
  Building	
  
a	
  Private	
  Cloud
Folsom	
  Update
	
  
Ryan	
  Richard,	
  RHCA
OpenStack	
  Architect	
  -­‐	
  Private	
  Cloud
ryan.richard@rackspace.com
@rackninja
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Why	
  Folsom?
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
What	
  is	
  a	
  Private	
  Cloud?
Elastic	
  or	
  Traditional	
  Virtualization	
  (hint:	
  Pick	
  One!)
Multi-­‐tenant	
  (Multi-­‐Application)
Size
Private	
  API	
  endpoints
Limited	
  inbound	
  connectivity
Customized	
  for	
  specific	
  workloads
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
	
  #	
  of	
  instances	
  on	
  this	
  physical	
  host?
Flavor: m1.tiny
Ram: 512MiB
vCPU: 1
Disk: 0 (size of image)
Total instances:
?
48
vCPU Ram Disk
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
	
  #	
  of	
  instances	
  on	
  this	
  physical	
  host?
Flavor: m1.medium
Ram: 4096MiB
vCPU: 2
Disk: 10GiB + 40GiB
Total instances:
24
vCPU Ram Disk
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
	
  #	
  of	
  instances	
  on	
  this	
  physical	
  host?
Flavor: ram heavy
Ram: 64GiB
vCPU: 8
Disk: 100GiB
Total instances:
2
vCPU Ram Disk
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Capacity	
  Thoughts
Don’t allow disk size of 0
Public Cloud: Limit flavors to image size
Private Cloud: Can add flavors for specific
application profiles
Network Utilization
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Capacity	
  Thoughts
I can always add more machines....
But you can’t change or modify the fixed
network once instances are running
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Capacity	
  Thoughts
(resource	
  /	
  resource	
  in	
  smallest	
  flavor)	
  =	
  maximum	
  #	
  of	
  
instances	
  per	
  machine
Fixed	
  Network	
  -­‐	
  Double	
  or	
  quadruple	
  number	
  of	
  expected	
  
instances
I can always add more machines....
But you can’t change or modify the fixed
network once instances are running
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
2	
  networks	
  (3	
  w/	
  floating	
  IPs)
1)	
  Host	
  Network
2)	
  Fixed	
  Network
3)	
  Floating	
  network
nova-network
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
2	
  networks	
  (3	
  w/	
  floating	
  IPs)
1)	
  Host	
  Network
2)	
  Fixed	
  Network
3)	
  Floating	
  network
nova-network
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
2	
  networks	
  (3	
  w/	
  floating	
  IPs)
1)	
  Host	
  Network
2)	
  Fixed	
  Network
3)	
  Floating	
  network
Easy	
  to	
  add	
  physical	
  nodes	
  and/or	
  
networks
nova-network
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
2	
  networks	
  (3	
  w/	
  floating	
  IPs)
1)	
  Host	
  Network
2)	
  Fixed	
  Network
3)	
  Floating	
  network
Easy	
  to	
  add	
  physical	
  nodes	
  and/or	
  
networks
nova-network
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
2	
  networks	
  (3	
  w/	
  floating	
  IPs)
1)	
  Host	
  Network
2)	
  Fixed	
  Network
3)	
  Floating	
  network
Easy	
  to	
  add	
  physical	
  nodes	
  and/or	
  
networks
Don’t	
  try	
  to	
  change	
  the	
  fixed	
  
network	
  once	
  in	
  production
nova-network
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
2	
  networks	
  (3	
  w/	
  floating	
  IPs)
1)	
  Host	
  Network
2)	
  Fixed	
  Network
3)	
  Floating	
  network
Easy	
  to	
  add	
  physical	
  nodes	
  and/or	
  
networks
Don’t	
  try	
  to	
  change	
  the	
  fixed	
  
network	
  once	
  in	
  production
nova-network
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build	
  with	
  the	
  End	
  in	
  Mind
2	
  networks	
  (3	
  w/	
  floating	
  IPs)
1)	
  Host	
  Network
2)	
  Fixed	
  Network
3)	
  Floating	
  network
Easy	
  to	
  add	
  physical	
  nodes	
  and/or	
  
networks
Don’t	
  try	
  to	
  change	
  the	
  fixed	
  
network	
  once	
  in	
  production
Easy	
  to	
  add	
  additional	
  floating	
  
networks
nova-network
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images	
  and	
  Storage
Images
Building images talk tomorrow @1:50 in room C123
Format: raw qcow2 vdi ...
Container: bare ami bundle ...
Cloud tech: cloud-init none
Partitioning: fixed dynamic
Drivers: virtio vhost_net xen ...
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images	
  and	
  Storage
Glance
File	
  backed	
  (local)	
  
Alternatives:	
  Swift,	
  CloudFiles,	
  NFS	
  (locally	
  mounted)
Snapshots?
qcow2	
  format:	
  “snapshot_image_format=qcow2“
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images	
  and	
  Storage
Glance	
  Performance
Network	
  Throughput:	
  1Gbps	
  =	
  125MBps	
  (expect	
  ~112MB/s)
RAID	
  5	
  -­‐	
  large	
  sequential	
  read/writes
Disk	
  Bandwidth	
  >	
  IOPS
Improve	
  cache	
  -­‐	
  Reduce	
  #	
  of	
  images	
  
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images	
  and	
  Storage
Glance	
  Performance
Network	
  Throughput:	
  1Gbps	
  =	
  125MBps	
  (expect	
  ~112MB/s)
RAID	
  5	
  -­‐	
  large	
  sequential	
  read/writes
Disk	
  Bandwidth	
  >	
  IOPS
Improve	
  cache	
  -­‐	
  Reduce	
  #	
  of	
  images	
  
Image	
  Size Not	
  Cached Cached
1.4GB 20secs 1sec
16.4GB 2min	
  21secs 1sec
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images	
  and	
  Storage
Glance	
  Performance
Network	
  Throughput:	
  1Gbps	
  =	
  125MBps	
  (expect	
  ~112MB/s)
RAID	
  5	
  -­‐	
  large	
  sequential	
  read/writes
Disk	
  Bandwidth	
  >	
  IOPS
Improve	
  cache	
  -­‐	
  Reduce	
  #	
  of	
  images	
  
Image	
  Size Not	
  Cached Cached
1.4GB 20secs 1sec
16.4GB 2min	
  21secs 1sec
*times	
  from	
  “creating	
  
image”	
  to	
  	
  “qemu-­‐img	
  
create”
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images	
  and	
  Storage
Storage
4	
  focus	
  points:	
  Glance,	
  Compute	
  (local),	
  Cinder,	
  Swift
Glance	
  -­‐	
  Space,	
  Sequential	
  read/write
Compute	
  -­‐	
  random	
  IO
Cinder	
  -­‐	
  Performance,	
  Density
Swift	
  -­‐	
  JBOD,	
  density
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Architecture	
  Examples	
  and	
  Thoughts
1	
  -­‐	
  20	
  physical	
  servers
Single	
  controller
Single	
  API	
  
Single	
  network	
  (1Gbps	
  or	
  2Gbps)
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Architecture	
  Examples	
  and	
  Thoughts
20-­‐100	
  servers
HA	
  controllers	
  and	
  load	
  balanced	
  
APIs
Swift/CloudFiles	
  for	
  Glance
Availability	
  Zones
Consider	
  “frontend”	
  and	
  “backend”	
  
networks
Compute	
  Node	
  metrics	
  -­‐	
  Dedicated	
  
Machine(s)
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Performance	
  Considerations	
  and	
  Bottlenecks
IO
Random	
  IO
Reduce	
  IO	
  per	
  instance
Block	
  Storage!
Review	
  Hypervisor	
  best	
  practices	
  
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Performance	
  Considerations	
  and	
  Bottlenecks
IO
Random	
  IO
Reduce	
  IO	
  per	
  instance
Block	
  Storage!
Review	
  Hypervisor	
  best	
  practices	
  
0" 200" 400" 600" 800" 1000" 1200" 1400" 1600"
compute/host"
compute/host"(no"ht)"
compute/host"(deadline)"
Rs/speed/test13"(deadline"cache=none)"
Rs/speed/test13"(cfq,"cache=none,"no"ht)"
Rs/speed/test12"(cfq"cache=none)"
Rs/speed/test12"(noop"cache=none)"
rs/speed/test13"(cfq,"cache=writeback)"
Rs/speed/test13"(noop,"cache=writeback)"
rs/speed/test12"(cfq,"host"deadline,"cache=none)"
Async&Random&IO&
randW"(direct)"
randR"(direct)"
randW"
randR"
0"
2000"
4000"
6000"
8000"
10000"
12000"
14000"
randR" randW" randR"
(direct)"
randW"
(direct)"
seqR" seqW" seqR"
(direct)"
seqw"
(direct)"
Host&vs.&Instance&
compute/host"
Rs/speed/test12"(cfq"cache=none)"
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Lessons	
  Learned
Lessons	
  learned
Floating	
  IPs	
  MUST	
  be	
  associated	
  with	
  the	
  “public_interface”
Each	
  piece	
  of	
  OpenStack	
  has	
  its	
  own	
  architecture
Folsom	
  is	
  stable	
  
Migration	
  (live,	
  block)	
  works	
  but	
  scenarios	
  exist	
  where	
  it	
  
doesn’t
OpenStack	
  is	
  still	
  changing	
  often,	
  keep	
  up	
  to	
  date	
  with	
  
current	
  state	
  of	
  the	
  projects
Don’t	
  do	
  Heterogeneous	
  Nodes
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Operational	
  Updates
nova	
  hypervisor*	
  calls
Image	
  types	
  in	
  Glance
policy.json
Coming	
  in	
  Grizzly:
Cells	
  
Quantum	
  
Better	
  LDAP/AD	
  support
Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
But....
But	
  this	
  is	
  a	
  design	
  summit	
  also
Open	
  to	
  discussions/thoughts/
questions
Monday, April 15, 13
RACKSPACE® HOSTING | 5000 WALZEM ROAD | SAN ANTONIO, TX 78218
US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.RACKSPACE.COM
RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM
Rackspace	
  is	
  hiring
www.rackertalent.com
Monday, April 15, 13

More Related Content

What's hot

在Oel5上安装配置oracle gird control 10.2.0.5
在Oel5上安装配置oracle gird control 10.2.0.5在Oel5上安装配置oracle gird control 10.2.0.5
在Oel5上安装配置oracle gird control 10.2.0.5
maclean liu
 
Caching with varnish
Caching with varnishCaching with varnish
Caching with varnish
90kts
 

What's hot (20)

StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra
 
Les défis des architectures cloud sur OpenStack
Les défis des architectures cloud sur OpenStackLes défis des architectures cloud sur OpenStack
Les défis des architectures cloud sur OpenStack
 
grate techniques
grate techniquesgrate techniques
grate techniques
 
Dockerizing WordPress
Dockerizing WordPressDockerizing WordPress
Dockerizing WordPress
 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDB
 
Integrated Cache on Netscaler
Integrated Cache on NetscalerIntegrated Cache on Netscaler
Integrated Cache on Netscaler
 
Os Gopal
Os GopalOs Gopal
Os Gopal
 
OpenCSW - What is the project about?
OpenCSW - What is the project about?OpenCSW - What is the project about?
OpenCSW - What is the project about?
 
Clemson: Solving the HPC Data Deluge
Clemson: Solving the HPC Data DelugeClemson: Solving the HPC Data Deluge
Clemson: Solving the HPC Data Deluge
 
在Oel5上安装配置oracle gird control 10.2.0.5
在Oel5上安装配置oracle gird control 10.2.0.5在Oel5上安装配置oracle gird control 10.2.0.5
在Oel5上安装配置oracle gird control 10.2.0.5
 
Setup & Operate Tungsten Replicator
Setup & Operate Tungsten ReplicatorSetup & Operate Tungsten Replicator
Setup & Operate Tungsten Replicator
 
Enterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerEnterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual Controller
 
Caching with varnish
Caching with varnishCaching with varnish
Caching with varnish
 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten Replicator
 
TDS-16489U - Dual Processor
TDS-16489U - Dual ProcessorTDS-16489U - Dual Processor
TDS-16489U - Dual Processor
 
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBITOpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
 
SM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackSM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstack
 
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
Tungsten University: MySQL Multi-Master Operations Made Simple With Tungsten ...
 
DebConf16 BoF on MariaDB/MySQL packaging
DebConf16 BoF on MariaDB/MySQL packagingDebConf16 BoF on MariaDB/MySQL packaging
DebConf16 BoF on MariaDB/MySQL packaging
 
Fisl - Deployment
Fisl - DeploymentFisl - Deployment
Fisl - Deployment
 

Viewers also liked

Open stack in_production__the_good,_the_bad_&_the_ugly
Open stack in_production__the_good,_the_bad_&_the_uglyOpen stack in_production__the_good,_the_bad_&_the_ugly
Open stack in_production__the_good,_the_bad_&_the_ugly
OpenStack Foundation
 
Boston open stack meetup deployment case study
Boston open stack meetup   deployment case studyBoston open stack meetup   deployment case study
Boston open stack meetup deployment case study
Kamesh Pemmaraju
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introduction
openstackindia
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
Mirantis
 

Viewers also liked (15)

Open stack in_production__the_good,_the_bad_&_the_ugly
Open stack in_production__the_good,_the_bad_&_the_uglyOpen stack in_production__the_good,_the_bad_&_the_ugly
Open stack in_production__the_good,_the_bad_&_the_ugly
 
Boston open stack meetup deployment case study
Boston open stack meetup   deployment case studyBoston open stack meetup   deployment case study
Boston open stack meetup deployment case study
 
OpenStack
OpenStackOpenStack
OpenStack
 
Webinar "Introduction to OpenStack"
Webinar "Introduction to OpenStack"Webinar "Introduction to OpenStack"
Webinar "Introduction to OpenStack"
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kilo
 
Webinar container management in OpenStack
Webinar container management in OpenStackWebinar container management in OpenStack
Webinar container management in OpenStack
 
Mirantis open stack deployment automation
Mirantis open stack deployment automationMirantis open stack deployment automation
Mirantis open stack deployment automation
 
Massachusetts Open Cloud Initiative
Massachusetts Open Cloud InitiativeMassachusetts Open Cloud Initiative
Massachusetts Open Cloud Initiative
 
High Availability for OpenStack
High Availability for OpenStackHigh Availability for OpenStack
High Availability for OpenStack
 
Introduction to Heroku
Introduction to HerokuIntroduction to Heroku
Introduction to Heroku
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
 
OpenStack Tutorial
OpenStack TutorialOpenStack Tutorial
OpenStack Tutorial
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introduction
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 

Similar to Consideration for Building a Private Cloud

Considerations for building your private cloud folsom update 041513
Considerations for building your private cloud   folsom update 041513Considerations for building your private cloud   folsom update 041513
Considerations for building your private cloud folsom update 041513
OpenStack Foundation
 
Considerations for building your private cloud folsom update
Considerations for building your private cloud   folsom updateConsiderations for building your private cloud   folsom update
Considerations for building your private cloud folsom update
Ryan Richard
 
Operating your OpenStack Private Cloud.pdf
Operating your OpenStack Private Cloud.pdfOperating your OpenStack Private Cloud.pdf
Operating your OpenStack Private Cloud.pdf
OpenStack Foundation
 
Nova network, the dirty details 041613
Nova network, the dirty details 041613Nova network, the dirty details 041613
Nova network, the dirty details 041613
OpenStack Foundation
 
Building cloudy apps
Building cloudy appsBuilding cloudy apps
Building cloudy apps
tonytcampbell
 
Considerations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdfConsiderations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdf
OpenStack Foundation
 

Similar to Consideration for Building a Private Cloud (20)

Considerations for building your private cloud folsom update 041513
Considerations for building your private cloud   folsom update 041513Considerations for building your private cloud   folsom update 041513
Considerations for building your private cloud folsom update 041513
 
Considerations for building your private cloud folsom update
Considerations for building your private cloud   folsom updateConsiderations for building your private cloud   folsom update
Considerations for building your private cloud folsom update
 
Operating your OpenStack Private Cloud.pdf
Operating your OpenStack Private Cloud.pdfOperating your OpenStack Private Cloud.pdf
Operating your OpenStack Private Cloud.pdf
 
Be a Cloud Native
Be a Cloud NativeBe a Cloud Native
Be a Cloud Native
 
Nova-Network The Dirty Details
Nova-Network The Dirty DetailsNova-Network The Dirty Details
Nova-Network The Dirty Details
 
Nova network, the dirty details 041613
Nova network, the dirty details 041613Nova network, the dirty details 041613
Nova network, the dirty details 041613
 
Building cloudy apps
Building cloudy appsBuilding cloudy apps
Building cloudy apps
 
Isolated Networks in the Cloud
Isolated Networks in the CloudIsolated Networks in the Cloud
Isolated Networks in the Cloud
 
Considerations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdfConsiderations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdf
 
Bringing Your Applications to the Fast Lane (CPN203) | AWS re:Invent 2013
Bringing Your Applications to the Fast Lane (CPN203) | AWS re:Invent 2013Bringing Your Applications to the Fast Lane (CPN203) | AWS re:Invent 2013
Bringing Your Applications to the Fast Lane (CPN203) | AWS re:Invent 2013
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?
 
OpenStack on the Fabric - OpenStack Korea January Seminar 2014
OpenStack on the Fabric - OpenStack Korea January Seminar 2014OpenStack on the Fabric - OpenStack Korea January Seminar 2014
OpenStack on the Fabric - OpenStack Korea January Seminar 2014
 
DevOpsDays Amsterdam - Monitoring at Service Provider Scale
DevOpsDays Amsterdam - Monitoring at Service Provider ScaleDevOpsDays Amsterdam - Monitoring at Service Provider Scale
DevOpsDays Amsterdam - Monitoring at Service Provider Scale
 
Making WordPress Fly
Making WordPress FlyMaking WordPress Fly
Making WordPress Fly
 
Apache Cassandra: building a production app on an eventually-consistent DB
Apache Cassandra: building a production app on an eventually-consistent DBApache Cassandra: building a production app on an eventually-consistent DB
Apache Cassandra: building a production app on an eventually-consistent DB
 
Openstack SAGE-AU
Openstack SAGE-AUOpenstack SAGE-AU
Openstack SAGE-AU
 
Nginx for Fun & Performance - Philipp Krenn - Codemotion Rome 2015
Nginx for Fun & Performance - Philipp Krenn - Codemotion Rome 2015Nginx for Fun & Performance - Philipp Krenn - Codemotion Rome 2015
Nginx for Fun & Performance - Philipp Krenn - Codemotion Rome 2015
 
Neutron scale
Neutron scaleNeutron scale
Neutron scale
 
Can we run the Whole Web on Apache Sling?
Can we run the Whole Web on Apache Sling?Can we run the Whole Web on Apache Sling?
Can we run the Whole Web on Apache Sling?
 
It's in the cloud
It's in the cloudIt's in the cloud
It's in the cloud
 

More from OpenStack Foundation

More from OpenStack Foundation (20)

Sponsor Webinar - OpenStack Summit Vancouver 2018
Sponsor Webinar  - OpenStack Summit Vancouver 2018Sponsor Webinar  - OpenStack Summit Vancouver 2018
Sponsor Webinar - OpenStack Summit Vancouver 2018
 
OpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For Attendees
 
OpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community PresentationOpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community Presentation
 
OpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group PartiesOpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group Parties
 
Liberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messagesLiberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messages
 
OpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing Plan
 
OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar
 
Cinder Updates - Liberty Edition
Cinder Updates - Liberty Edition Cinder Updates - Liberty Edition
Cinder Updates - Liberty Edition
 
Glance Updates - Liberty Edition
Glance Updates - Liberty EditionGlance Updates - Liberty Edition
Glance Updates - Liberty Edition
 
Heat Updates - Liberty Edition
Heat Updates - Liberty EditionHeat Updates - Liberty Edition
Heat Updates - Liberty Edition
 
Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition
 
Nova Updates - Liberty Edition
Nova Updates - Liberty EditionNova Updates - Liberty Edition
Nova Updates - Liberty Edition
 
Sahara Updates - Liberty Edition
Sahara Updates - Liberty EditionSahara Updates - Liberty Edition
Sahara Updates - Liberty Edition
 
Searchlight Updates - Liberty Edition
Searchlight Updates - Liberty EditionSearchlight Updates - Liberty Edition
Searchlight Updates - Liberty Edition
 
Trove Updates - Liberty Edition
Trove Updates - Liberty EditionTrove Updates - Liberty Edition
Trove Updates - Liberty Edition
 
OpenStack: five years in
OpenStack: five years inOpenStack: five years in
OpenStack: five years in
 
Swift Updates - Liberty Edition
Swift Updates - Liberty EditionSwift Updates - Liberty Edition
Swift Updates - Liberty Edition
 
Congress Updates - Liberty Edition
Congress Updates - Liberty EditionCongress Updates - Liberty Edition
Congress Updates - Liberty Edition
 
Release Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty EditionRelease Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty Edition
 
OpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use CasesOpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use Cases
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Consideration for Building a Private Cloud

  • 1. April 2013 Considerations  for  Building   a  Private  Cloud Folsom  Update   Ryan  Richard,  RHCA OpenStack  Architect  -­‐  Private  Cloud ryan.richard@rackspace.com @rackninja Monday, April 15, 13
  • 2. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Why  Folsom? Monday, April 15, 13
  • 3. RACKSPACE® HOSTING | WWW.RACKSPACE.COM What  is  a  Private  Cloud? Elastic  or  Traditional  Virtualization  (hint:  Pick  One!) Multi-­‐tenant  (Multi-­‐Application) Size Private  API  endpoints Limited  inbound  connectivity Customized  for  specific  workloads Monday, April 15, 13
  • 4. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind  #  of  instances  on  this  physical  host? Flavor: m1.tiny Ram: 512MiB vCPU: 1 Disk: 0 (size of image) Total instances: ? 48 vCPU Ram Disk Monday, April 15, 13
  • 5. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind  #  of  instances  on  this  physical  host? Flavor: m1.medium Ram: 4096MiB vCPU: 2 Disk: 10GiB + 40GiB Total instances: 24 vCPU Ram Disk Monday, April 15, 13
  • 6. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind  #  of  instances  on  this  physical  host? Flavor: ram heavy Ram: 64GiB vCPU: 8 Disk: 100GiB Total instances: 2 vCPU Ram Disk Monday, April 15, 13
  • 7. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Capacity  Thoughts Don’t allow disk size of 0 Public Cloud: Limit flavors to image size Private Cloud: Can add flavors for specific application profiles Network Utilization Monday, April 15, 13
  • 8. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Capacity  Thoughts I can always add more machines.... But you can’t change or modify the fixed network once instances are running Monday, April 15, 13
  • 9. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Capacity  Thoughts (resource  /  resource  in  smallest  flavor)  =  maximum  #  of   instances  per  machine Fixed  Network  -­‐  Double  or  quadruple  number  of  expected   instances I can always add more machines.... But you can’t change or modify the fixed network once instances are running Monday, April 15, 13
  • 10. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind 2  networks  (3  w/  floating  IPs) 1)  Host  Network 2)  Fixed  Network 3)  Floating  network nova-network Monday, April 15, 13
  • 11. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind 2  networks  (3  w/  floating  IPs) 1)  Host  Network 2)  Fixed  Network 3)  Floating  network nova-network Monday, April 15, 13
  • 12. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind 2  networks  (3  w/  floating  IPs) 1)  Host  Network 2)  Fixed  Network 3)  Floating  network Easy  to  add  physical  nodes  and/or   networks nova-network Monday, April 15, 13
  • 13. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind 2  networks  (3  w/  floating  IPs) 1)  Host  Network 2)  Fixed  Network 3)  Floating  network Easy  to  add  physical  nodes  and/or   networks nova-network Monday, April 15, 13
  • 14. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind 2  networks  (3  w/  floating  IPs) 1)  Host  Network 2)  Fixed  Network 3)  Floating  network Easy  to  add  physical  nodes  and/or   networks Don’t  try  to  change  the  fixed   network  once  in  production nova-network Monday, April 15, 13
  • 15. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind 2  networks  (3  w/  floating  IPs) 1)  Host  Network 2)  Fixed  Network 3)  Floating  network Easy  to  add  physical  nodes  and/or   networks Don’t  try  to  change  the  fixed   network  once  in  production nova-network Monday, April 15, 13
  • 16. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build  with  the  End  in  Mind 2  networks  (3  w/  floating  IPs) 1)  Host  Network 2)  Fixed  Network 3)  Floating  network Easy  to  add  physical  nodes  and/or   networks Don’t  try  to  change  the  fixed   network  once  in  production Easy  to  add  additional  floating   networks nova-network Monday, April 15, 13
  • 17. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images  and  Storage Images Building images talk tomorrow @1:50 in room C123 Format: raw qcow2 vdi ... Container: bare ami bundle ... Cloud tech: cloud-init none Partitioning: fixed dynamic Drivers: virtio vhost_net xen ... Monday, April 15, 13
  • 18. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images  and  Storage Glance File  backed  (local)   Alternatives:  Swift,  CloudFiles,  NFS  (locally  mounted) Snapshots? qcow2  format:  “snapshot_image_format=qcow2“ Monday, April 15, 13
  • 19. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images  and  Storage Glance  Performance Network  Throughput:  1Gbps  =  125MBps  (expect  ~112MB/s) RAID  5  -­‐  large  sequential  read/writes Disk  Bandwidth  >  IOPS Improve  cache  -­‐  Reduce  #  of  images   Monday, April 15, 13
  • 20. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images  and  Storage Glance  Performance Network  Throughput:  1Gbps  =  125MBps  (expect  ~112MB/s) RAID  5  -­‐  large  sequential  read/writes Disk  Bandwidth  >  IOPS Improve  cache  -­‐  Reduce  #  of  images   Image  Size Not  Cached Cached 1.4GB 20secs 1sec 16.4GB 2min  21secs 1sec Monday, April 15, 13
  • 21. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images  and  Storage Glance  Performance Network  Throughput:  1Gbps  =  125MBps  (expect  ~112MB/s) RAID  5  -­‐  large  sequential  read/writes Disk  Bandwidth  >  IOPS Improve  cache  -­‐  Reduce  #  of  images   Image  Size Not  Cached Cached 1.4GB 20secs 1sec 16.4GB 2min  21secs 1sec *times  from  “creating   image”  to    “qemu-­‐img   create” Monday, April 15, 13
  • 22. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images  and  Storage Storage 4  focus  points:  Glance,  Compute  (local),  Cinder,  Swift Glance  -­‐  Space,  Sequential  read/write Compute  -­‐  random  IO Cinder  -­‐  Performance,  Density Swift  -­‐  JBOD,  density Monday, April 15, 13
  • 23. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Architecture  Examples  and  Thoughts 1  -­‐  20  physical  servers Single  controller Single  API   Single  network  (1Gbps  or  2Gbps) Monday, April 15, 13
  • 24. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Architecture  Examples  and  Thoughts 20-­‐100  servers HA  controllers  and  load  balanced   APIs Swift/CloudFiles  for  Glance Availability  Zones Consider  “frontend”  and  “backend”   networks Compute  Node  metrics  -­‐  Dedicated   Machine(s) Monday, April 15, 13
  • 25. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Performance  Considerations  and  Bottlenecks IO Random  IO Reduce  IO  per  instance Block  Storage! Review  Hypervisor  best  practices   Monday, April 15, 13
  • 26. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Performance  Considerations  and  Bottlenecks IO Random  IO Reduce  IO  per  instance Block  Storage! Review  Hypervisor  best  practices   0" 200" 400" 600" 800" 1000" 1200" 1400" 1600" compute/host" compute/host"(no"ht)" compute/host"(deadline)" Rs/speed/test13"(deadline"cache=none)" Rs/speed/test13"(cfq,"cache=none,"no"ht)" Rs/speed/test12"(cfq"cache=none)" Rs/speed/test12"(noop"cache=none)" rs/speed/test13"(cfq,"cache=writeback)" Rs/speed/test13"(noop,"cache=writeback)" rs/speed/test12"(cfq,"host"deadline,"cache=none)" Async&Random&IO& randW"(direct)" randR"(direct)" randW" randR" 0" 2000" 4000" 6000" 8000" 10000" 12000" 14000" randR" randW" randR" (direct)" randW" (direct)" seqR" seqW" seqR" (direct)" seqw" (direct)" Host&vs.&Instance& compute/host" Rs/speed/test12"(cfq"cache=none)" Monday, April 15, 13
  • 27. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Lessons  Learned Lessons  learned Floating  IPs  MUST  be  associated  with  the  “public_interface” Each  piece  of  OpenStack  has  its  own  architecture Folsom  is  stable   Migration  (live,  block)  works  but  scenarios  exist  where  it   doesn’t OpenStack  is  still  changing  often,  keep  up  to  date  with   current  state  of  the  projects Don’t  do  Heterogeneous  Nodes Monday, April 15, 13
  • 28. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Operational  Updates nova  hypervisor*  calls Image  types  in  Glance policy.json Coming  in  Grizzly: Cells   Quantum   Better  LDAP/AD  support Monday, April 15, 13
  • 29. RACKSPACE® HOSTING | WWW.RACKSPACE.COM But.... But  this  is  a  design  summit  also Open  to  discussions/thoughts/ questions Monday, April 15, 13
  • 30. RACKSPACE® HOSTING | 5000 WALZEM ROAD | SAN ANTONIO, TX 78218 US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.RACKSPACE.COM RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM Rackspace  is  hiring www.rackertalent.com Monday, April 15, 13