+ All Categories
Transcript
Page 1: Key considerations when adopting cloud: expectations vs hurdles

Key considerations when adopting the cloud

Expectations Hurdles

Page 2: Key considerations when adopting cloud: expectations vs hurdles

About me

•  Sebastian Stadil (@sebastianstadil)

•  Founded the Silicon Valley Cloud Computing Group

•  Founded Scalr

•  Talk to me: [email protected]

Page 3: Key considerations when adopting cloud: expectations vs hurdles

About Scalr (1)

•  Cloud Management company

•  In business for the past 6 years

Page 4: Key considerations when adopting cloud: expectations vs hurdles

About Scalr (2)

•  Customer driven company – We listen to / interview customers – Learn from them and the problems they face – Find and implement solutions with them

•  Talk to us: www.scalr.com

Page 5: Key considerations when adopting cloud: expectations vs hurdles

This talk: What you should expect (1)

•  This talk is driven by experience

•  Problems we’ve seen

•  Problems we’ve solved

Page 6: Key considerations when adopting cloud: expectations vs hurdles

This talk: What you should expect (2)

•  100%: Real-life examples that our customers have been through – And horror stories!

•  0%: Nonsense

Page 7: Key considerations when adopting cloud: expectations vs hurdles

This talk: What you should expect (3)

•  Why cloud? Your end goals •  What hurdles? What you should expect

Page 8: Key considerations when adopting cloud: expectations vs hurdles

YOUR END GOALS What are the promises of the cloud?

Page 9: Key considerations when adopting cloud: expectations vs hurdles

Why get cloud?

•  Two reasons – Agility – Cost

Page 10: Key considerations when adopting cloud: expectations vs hurdles

#1: AGILITY What are the promises of the cloud?

Page 11: Key considerations when adopting cloud: expectations vs hurdles

Agility (1)

•  Reduce time to market

Page 12: Key considerations when adopting cloud: expectations vs hurdles

Agility (2)

•  Cloud promise: Developers don’t have to wait on IT.

•  What you expect: – Code: “Days instead of months” – Hardware: “Minutes instead of weeks” –  Incident response: “Seconds instead of hours”

Page 13: Key considerations when adopting cloud: expectations vs hurdles

Agility (3)

•  Check out Adrian Cockcroft’s (Netflix) “Dystopia As a Service” talk

Page 14: Key considerations when adopting cloud: expectations vs hurdles

#2: COST What are the promises of the cloud?

Page 15: Key considerations when adopting cloud: expectations vs hurdles

Cost (1)

•  Pay less for the same end user experience

Page 16: Key considerations when adopting cloud: expectations vs hurdles

Cost (2)

•  Cloud promise: The same service will cost less to run, but give the same performance

•  What you expect: – Higher average usage, lower overall capacity – How? Autoscaling, different services evening

out

Page 17: Key considerations when adopting cloud: expectations vs hurdles

THE HURDLES ALONG YOUR WAY

What you’ll get

Page 18: Key considerations when adopting cloud: expectations vs hurdles

What hurdles?

•  Education about cloud •  Strategy for cost accountability •  Strategy for security & compliance

Page 19: Key considerations when adopting cloud: expectations vs hurdles

#1: CLOUD EDUCATION Is your team trained?

Page 20: Key considerations when adopting cloud: expectations vs hurdles

Education

•  Are your developers and IT people familiar with cloud intricacies?

•  Are they embracing the architectures that work? Rejecting those that don’t?

Page 21: Key considerations when adopting cloud: expectations vs hurdles

Examples of cloud best practices

•  When an instance is gone, it’s gone.

•  Build for failure and Think “Cattle, not pets”

•  Adopt appropriate tooling (e.g. Chef)

Page 22: Key considerations when adopting cloud: expectations vs hurdles

CUSTOMER STORY

Page 23: Key considerations when adopting cloud: expectations vs hurdles

Customer story (1)

•  Enterprise IT at BigCo (no names!) doesn’t like the idea of a instance being gone

Page 24: Key considerations when adopting cloud: expectations vs hurdles

Customer story (2)

•  Terminated instances stay around for a “few minutes” – Undo for the cloud!

•  The API says the instance is terminated. Except it’s not.

Page 25: Key considerations when adopting cloud: expectations vs hurdles

Customer story (3)

•  Good luck transferring those volumes for your database promotion – They look detached but are still being written to!

•  You can’t design for failure –  If MySQL is malfunctioning, better figure out why

and fix it: replacing it isn’t going to happen –  “Pets, not cattle” : (

Page 26: Key considerations when adopting cloud: expectations vs hurdles

Customer story (4)

•  Consequences: –  IT was unhappy because cloud wasn’t

delivering the results they wanted – Developers were unhappy because cloud

wasn’t working

Page 27: Key considerations when adopting cloud: expectations vs hurdles

LESSONS LEARNED

Page 28: Key considerations when adopting cloud: expectations vs hurdles

Cloud is not (only) a technology

•  It’s about changing the way your company works – Cloud is usually associated with DevOps

Page 29: Key considerations when adopting cloud: expectations vs hurdles

Cloud users need education

•  Developers should build cloud architectures

•  IT should approve of cloud architectures

•  Devs and IT should work together on operating those

Page 30: Key considerations when adopting cloud: expectations vs hurdles

Remember

•  It’s not about whether it’s “hard”

•  It’s about whether your company is adopting cloud practices

Page 31: Key considerations when adopting cloud: expectations vs hurdles

#2: YOUR STRATEGY FOR COST MANAGEMENT

How will you rein in runaway costs?

Page 32: Key considerations when adopting cloud: expectations vs hurdles

Cost management problems using cloud

•  VM sprawl •  Oversized VMs

•  And you don’t control who launches what

Page 33: Key considerations when adopting cloud: expectations vs hurdles

VM Sprawl

•  Idle VMs that don’t get terminated – They stick around unused

•  You’re afraid to terminate – Maybe the VM is running a non-resource

intensive yet critical task!

Page 34: Key considerations when adopting cloud: expectations vs hurdles

Oversized VMs

•  Using 64 gigs of RAM on a development VM? No problem!

•  There’s no incentive for developers to get smaller VMs – Devs would waste a few precious seconds

waiting on a package install, and there is absolutely no upside

Page 35: Key considerations when adopting cloud: expectations vs hurdles

Why can’t you stop it?

•  You don’t know who owns a resource

•  If you did, you could: – Hold them accountable for those costs – Ask them whether it’s OK to downsize /

terminate

Page 36: Key considerations when adopting cloud: expectations vs hurdles

CUSTOMER (HORROR) STORY

Page 37: Key considerations when adopting cloud: expectations vs hurdles

Customer Story (1)

•  The company had a yearly budget for cloud

•  One developer provisioned many many VMs, and forgot about them

Page 38: Key considerations when adopting cloud: expectations vs hurdles

Customer Story (2)

•  The company needed two full weeks to realize what was going on

•  They used up their yearly budget in a month

Page 39: Key considerations when adopting cloud: expectations vs hurdles

Customer Story (3)

•  This happened on a Public Cloud

•  On a Private Cloud, we’ve seen customers buying new hardware every month to “support growth”

Page 40: Key considerations when adopting cloud: expectations vs hurdles

LESSONS LEARNED

Page 41: Key considerations when adopting cloud: expectations vs hurdles

It’s not about carelessness

•  The entire IT department knew that there was VM sprawl going on – Although maybe not at this scale

•  But there was nothing they could do about it – Who do you ask before terminating a VM?

Page 42: Key considerations when adopting cloud: expectations vs hurdles

You need a strategy for cost accountability

•  The objective is the ability to look at a resource (instance, volume…) and say: –  “This resource is used by project A for service

B. Services C and D depend on B. The resource is owned by developer E.”

Page 43: Key considerations when adopting cloud: expectations vs hurdles

Start with tagging everything

•  Asking developers to tag everything is a start

•  But they might not want to spend the time

•  It’s better to automate through your cloud management service

Page 44: Key considerations when adopting cloud: expectations vs hurdles

Apply industry standard methods (1)

•  Fight VM Sprawl with lease management – You know the owner, so you know who to

contact about lease expiry!

Page 45: Key considerations when adopting cloud: expectations vs hurdles

Apply industry standard methods (2)

•  Fight oversized VMs and deployments with accountability – You know the project that’s responsible for

those costs! – Showback, Chargeback

Page 46: Key considerations when adopting cloud: expectations vs hurdles

#3: YOUR STRATEGY FOR SECURITY AND GOVERNANCE

How will you ensure security and compliance?

Page 47: Key considerations when adopting cloud: expectations vs hurdles

Two objectives to consider

•  Keeping the bad guys out

•  Letting the good guys in

Page 48: Key considerations when adopting cloud: expectations vs hurdles

Two tools

•  Network security

•  Authentication systems

Page 49: Key considerations when adopting cloud: expectations vs hurdles

Governance isn’t cloud-specific

•  These problems also exist without cloud

•  Two differences with clouds: –  Instances come and go à need automation – Developers are in charge à need policies

Page 50: Key considerations when adopting cloud: expectations vs hurdles

CUSTOMER STORY

Page 51: Key considerations when adopting cloud: expectations vs hurdles

Customer Story (1)

•  Instances use SSH Key management as built in to the cloud platform – One key, multiple instances

Page 52: Key considerations when adopting cloud: expectations vs hurdles

Customer Story (2)

•  When someone needs a key to access infrastructure, they have to ask around for it –  Infosec can’t get the keys when they “really”

need them – New employees lose time asking for keys – Email isn’t a secure key exchange

mechanism!

Page 53: Key considerations when adopting cloud: expectations vs hurdles

Customer Story (3)

•  When an employee leaves the company, enterprise IT has no way to ensure their access is revoked

•  Instead, they rely on firewalls and shutting down VPN access

Page 54: Key considerations when adopting cloud: expectations vs hurdles

LESSONS LEARNED

Page 55: Key considerations when adopting cloud: expectations vs hurdles

Authentication

•  Invest in integrating your cloud and instances with a centralized revokable source of authentication – e.g. LDAP, Kerberos

•  Don’t share SSH keys when you can avoid it – And certainly not Cloud keys!

Page 56: Key considerations when adopting cloud: expectations vs hurdles

Networking

•  Ensure that developers aren’t allowed to launch insecure setups – Public IP + Open ports = Disaster

•  Balance with the need to preserve developer productivity – Automate policy enforcement

Page 57: Key considerations when adopting cloud: expectations vs hurdles

PARTING WORDS

Page 58: Key considerations when adopting cloud: expectations vs hurdles

Recap (1)

•  Cloud can get you: – Business agility – Cost effectiveness

Page 59: Key considerations when adopting cloud: expectations vs hurdles

Recap (2)

•  You’ll find hurdles along the way: – Are your people ready to adopt cloud? – Do you have a strategy for cost management? – Do you have a strategy for governance?

Page 60: Key considerations when adopting cloud: expectations vs hurdles

Next steps (1)

•  CloudStack is easy to get started with and production-ready. It’s a great choice – Our customer Samsung is using CloudStack

to power mobile app backends for millions of devices (smartphones, smart TVs…)

Page 61: Key considerations when adopting cloud: expectations vs hurdles

Next steps (2)

•  Of course, come and talk to us if you think we can help you overcome those hurdles we talked about!

Page 62: Key considerations when adopting cloud: expectations vs hurdles

THANK YOU!

Sebastian Stadil — Founder of Scalr Scalr Cloud Management — www.scalr.com


Top Related