Top Banner
CloudStack Collaboration Conference Europe 2014 Taming the cost of your first cloud
35
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Taming the cost of your first cloud - CCCEU 2014

CloudStack Collaboration Conference Europe 2014

Taming the cost of your first cloud

Page 2: Taming the cost of your first cloud - CCCEU 2014

#whoami

Name: Tim Mackey

Current roles: XenServer Community Manager and Evangelist; occasional coder

Cool things I’ve done• Designed laser communication systems

• Early designer of retail self-checkout machines

• Embedded special relativity algorithms into industrial control system

Find me• Twitter: @XenServerArmy

• SlideShare: slideshare.net/TimMackey

Page 3: Taming the cost of your first cloud - CCCEU 2014

Clouds are cool

Agility• Ease of provisioning w/o hardware latency

• Remove IT as a service delivery critical path

• Manage complete infrastructure, regardless of

scale

Lower operational expenses• Consistent application and service deployment

• Drive reduced capital requirements

• Visibility into user and line of business usage

Page 4: Taming the cost of your first cloud - CCCEU 2014

Why we want a cloud – the reality

Agility• Ease of provisioning w/o hardware latency

• Remove IT as a service delivery critical path

• Manage complete infrastructure, regardless of

scale

Lower operational expenses• Consistent application and service deployment

• Drive reduced capital requirements

• Visibility into user and line of business usage

Our boss bought the hype!!!

Page 5: Taming the cost of your first cloud - CCCEU 2014

Why we want a cloud – the reality

Agility• Ease of provisioning w/o hardware latency

• Remove IT as a service delivery critical path

• Manage complete infrastructure, regardless of

scale

Lower operational expenses• Consistent application and service deployment

• Drive reduced capital requirements

• Visibility into user and line of business usage

Our boss bought the hype …

… but doesn’t want to look like an idiot

Page 6: Taming the cost of your first cloud - CCCEU 2014

Today’s realities versus tomorrow’s norms

IT is a large capital expense

Work only happens in the office

IT does support and maintenance

Calling the helpdesk

IT is a monthly operating expense

Work happens wherever you are

IT drives strategic initiatives

On-demand, self-service IT

IT Today IT Tomorrow

Page 7: Taming the cost of your first cloud - CCCEU 2014

Enterprise datacenter Cloud

• Architected for 100s of hosts

• Scale-up (server clusters)

• Applications assume reliability

• IT Management-centric

• Proprietary vendor stack

• Architected for 1000s of hosts

• Scale-out (multi-site server farms)

• Applications assume failure

• Autonomic [1:1,000’s]

• Open, value-added stack

Competing paradigms

Page 8: Taming the cost of your first cloud - CCCEU 2014

Let’s build a cloud ….

Page 9: Taming the cost of your first cloud - CCCEU 2014

Where to start …

Deliver something easy• Web services are a perfect start

• With experience grow the install base

Pay for what you need• Use free hypervisors

• Use free orchestration services

Succeed early• Remember your success is tied to a happy boss

Page 10: Taming the cost of your first cloud - CCCEU 2014

Enterprise system assumptions

Redundant networking• LACP or bonding

• Stacked switches

• Additional NICs

High performance storage• iSCSI/ Fiber Channel

• Multiple paths

High density systems management• Blade servers

• Data center wide operations management

Page 11: Taming the cost of your first cloud - CCCEU 2014

Let’s get some shiny new gear ….… because you can’t just reuse what you’ve got

Redundant, independent networks• Management, storage, VM traffic 6 NICs

High performance storage• 10 Gbps links for storage and VM traffic

• 1 Gbps for management traffic

Compute simplification• Blade based servers

• Network fabric for network management

VM specification• 2 vCPU, 8GB RAM, 40GB disk

Page 12: Taming the cost of your first cloud - CCCEU 2014

The BOM

Total hardware cost: 293 242 USD

Component Cost

HP BladeSystem Enclosure w/Flex 10 Interconnects 70 210 USD

Compute blades (16x BL460c, dual socket, 128GB) 157 536 USD

Cisco Nexus switches (2x5548UP) 36 620 USD

HP MSA Storage (24 drives/RAID 5/900GB) 28 876 USD

Page 13: Taming the cost of your first cloud - CCCEU 2014

1222 USD per VM3086 USD for equivalent physical server

Page 14: Taming the cost of your first cloud - CCCEU 2014

Did you build a cloud?Answering to the Boss

Cost• Did we just refresh some hardware?

• Have we improved anything?

• Is this just “business as usual”?

Capabilities• Are we more agile?

• Can we take advantage of new paradigms?

• Is this easier to manage?

Page 15: Taming the cost of your first cloud - CCCEU 2014

Scalability and failure

Fact• Cloud providers have outages

• Networks go down

• Usage varies

Assertion• Is failure a form of scalability?

• Can we leverage this in our design?

• Is our paradigm correct?

Page 16: Taming the cost of your first cloud - CCCEU 2014

Attack the storage paradigm

Page 17: Taming the cost of your first cloud - CCCEU 2014

Shared storage growth and provisioning time

1,000

500

VMs

Cost, AU100 200

500

VMs

Provisioning efficiency

AU – arbitrary units

Page 18: Taming the cost of your first cloud - CCCEU 2014

Combined efficiency and storage evolution

Redesign

1,000

500

VMs

100 200 Cost, AU

VMs

1,000

500

Cost, AU100 200

?Alternatives

AU – arbitrary units

Page 19: Taming the cost of your first cloud - CCCEU 2014

Redesign

Efficiency and pod storage

1,000

500

VMs

100 200 Cost, AU

POD #1

POD #2

POD #31,000

500

VMs

100 200 Cost, AU

AU – arbitrary units

No redesign

Page 20: Taming the cost of your first cloud - CCCEU 2014

What about local storage?

1,000

500

VMs

Cost, AU 100 200

50

VMs

Provisioning efficiency

AU – arbitrary units

Page 21: Taming the cost of your first cloud - CCCEU 2014

POD

trend

Traditional

trend

Cost-Performance Trends

Shared Storage Local Storage

1,000

500

VMs

Cost, AU100 200

1,000

500

VMs

100 200 Cost, AU

Local storage

Performance

trend

Local storage

trend

Page 22: Taming the cost of your first cloud - CCCEU 2014

Understanding relationship between VM density and IO

Page 23: Taming the cost of your first cloud - CCCEU 2014

Plan B

Page 24: Taming the cost of your first cloud - CCCEU 2014

The power of local storage

Our IO requirements• 300-400 IOPs per blade

• 3-4 SAS 10K disks, or SSD MLC

Our storage requirements• 700-900 GB per blade

Options• Storage blade (per pod)

• Local storage per blade

• Change to pizza boxes

Page 25: Taming the cost of your first cloud - CCCEU 2014

Let’s get some shiny new gear ….… because you can’t just reuse what you’ve got

Redundant, independent networks• Management, VM traffic 4 NICs

No shared storage• 10 Gbps links for VM traffic

• 1 Gbps for management traffic

Compute• Rack based servers

VM specification• 2 vCPU, 8GB RAM, 40GB disk

Page 26: Taming the cost of your first cloud - CCCEU 2014

The BOM

Total hardware cost: 127 490 USD

Component Cost

16x Dell R630 (dual socket, 128GB, 4x300GB SAS 10k) 98 880 USD

Cisco Nexus switches (2x3064X) 28 610 USD

Page 27: Taming the cost of your first cloud - CCCEU 2014

531 USD per VM56% savings over “enterprise best practices”

83% savings over physical server

Page 28: Taming the cost of your first cloud - CCCEU 2014
Page 29: Taming the cost of your first cloud - CCCEU 2014

Understanding what you want to accomplish

Public clouds are people carriers and minibuses

YOUR cloud should be a race car• Optimize it for your needs

Don’t rent what you can own cheaper• Cloud operator doesn’t care about your success

• Optimized applications might be key

Ensure you have backup plans• Usage can and does spike

• Outages can and do happen

vs.

Page 30: Taming the cost of your first cloud - CCCEU 2014

Understanding the operational costs of Clouds

Instance provisioning• Time from request to network configuration

• Time from request to VM start

• Time from VM start to application running

Application management• Unified template to reduce compliance variance

• Configuration management for consistency

• Auto-scaling for cost control

Build Showback model• Create spot opportunity cost for instances

Page 31: Taming the cost of your first cloud - CCCEU 2014

The ROI of a private cloudBecoming a business partner to your organization

EC2 costs (US/East)• m3.large (Linux) on-demand: 1352 USD per year

• m3.large (Linux) 3 yr reserved: 1609 USD for three years

• m3.large (RHEL) 3 yr reserved: 3348 USD for three years

Your cloud infrastructure costs• 115 130 USD depreciated over 3 years: 183 USD per VM per year

Become a service provider to your business• Provide on demand services, which scale with the business

• Through business understanding, retain operational control of IT

• Simplify compliance monitoring

• Demonstrate opportunity costs for cloud services

Page 32: Taming the cost of your first cloud - CCCEU 2014
Page 33: Taming the cost of your first cloud - CCCEU 2014

Questions?

Page 34: Taming the cost of your first cloud - CCCEU 2014
Page 35: Taming the cost of your first cloud - CCCEU 2014

WORK BETTER. LIVE BETTER.