121
Come invecchiare in un giorno per colpa di Amazon... pur essendo Lean! Nicola Junior Vitto Blomming Better Software - June 27, 2011 - Firenze @njvitto - @blomming [email protected] lunedì 27 giugno 2011

Blomming Lean Startup @ Better Software 2011

  • View
    3.170

  • Download
    0

Embed Size (px)

DESCRIPTION

What we learned from AWS outage and why cloud systems are still crucial for startup, if you know how to design for failure, build the right mvp and be a lean startup

Citation preview

Page 1: Blomming Lean Startup @ Better Software 2011

Come invecchiare in un giorno per colpa di Amazon... pur essendo Lean!

Nicola Junior VittoBlomming

Better Software - June 27, 2011 - Firenze@njvitto - @[email protected]

lunedì 27 giugno 2011

Page 2: Blomming Lean Startup @ Better Software 2011

L’incubo

Immaginate una mattina (di lavoro) come tante altre...

lunedì 27 giugno 2011

Page 3: Blomming Lean Startup @ Better Software 2011

Sveglia

Vi svegliate

lunedì 27 giugno 2011

Page 4: Blomming Lean Startup @ Better Software 2011

Colazione

Fate tranquillamente colazione

lunedì 27 giugno 2011

Page 5: Blomming Lean Startup @ Better Software 2011

Vi preparate

Vi preparate per andare a lavoro

lunedì 27 giugno 2011

Page 6: Blomming Lean Startup @ Better Software 2011

Casa-Ufficio

Uscite di casa per andare in ufficiolunedì 27 giugno 2011

Page 7: Blomming Lean Startup @ Better Software 2011

Ufficio

E finalmente vi mettete a lavorarelunedì 27 giugno 2011

Page 8: Blomming Lean Startup @ Better Software 2011

Mattina diversa

Tutto come al solito quindi...

lunedì 27 giugno 2011

Page 9: Blomming Lean Startup @ Better Software 2011

Mattina diversa

...ma prima ho detto una piccola bugia...

lunedì 27 giugno 2011

Page 10: Blomming Lean Startup @ Better Software 2011

Mattina diversa

Questa mattina è diversa dal solito perchèattendete l’intervista sulla vostra startup che vi hanno fatto qualche giorno prima e che andrà in

onda al TG1 del pranzo

lunedì 27 giugno 2011

Page 11: Blomming Lean Startup @ Better Software 2011

Mattina diversa

...ma sfortunatamente non sarà una giornata diversa dal solito solo per questo

lunedì 27 giugno 2011

Page 12: Blomming Lean Startup @ Better Software 2011

Flashback

...tornando a noi facciamo un breve flashback sui giorni precedenti...

lunedì 27 giugno 2011

Page 13: Blomming Lean Startup @ Better Software 2011

Flashback: Platform adjustments

Heroku e le leve del poterelunedì 27 giugno 2011

Page 14: Blomming Lean Startup @ Better Software 2011

Flashback: database tuning

Tuning del database (dedicato)lunedì 27 giugno 2011

Page 15: Blomming Lean Startup @ Better Software 2011

Flashback: scopo finale

Dormire sonni tranquillilunedì 27 giugno 2011

Page 16: Blomming Lean Startup @ Better Software 2011

Flashback: scopo finale

Scusate... dicevamo: tranquilli!lunedì 27 giugno 2011

Page 17: Blomming Lean Startup @ Better Software 2011

21 aprile

Torniamo al 21 aprile...

lunedì 27 giugno 2011

Page 18: Blomming Lean Startup @ Better Software 2011

21 aprile

Esattamente alle 10:08 (italiane) il nostro servizio di monitoring (Ranger)

invia una prima mail che segnala...

DOWN: http://blomming.com

lunedì 27 giugno 2011

Page 19: Blomming Lean Startup @ Better Software 2011

21 aprile

Ed ecco cosa mi scrive istantaneamente Andrea

lunedì 27 giugno 2011

Page 20: Blomming Lean Startup @ Better Software 2011

21 aprile

Magari fossi io... :(

Vado subito a guardare lo status del nostro servizio (Heroku) e sembra tutto ok

lunedì 27 giugno 2011

Page 21: Blomming Lean Startup @ Better Software 2011

21 aprile

Poco dopo arriva un barlume di speranza...Ranger ci scrive:

UP: http://blomming.com

lunedì 27 giugno 2011

Page 22: Blomming Lean Startup @ Better Software 2011

21 aprile

E sono continuate battute in chat di questo tipo...lunedì 27 giugno 2011

Page 23: Blomming Lean Startup @ Better Software 2011

21 aprile

Ma a un certo punto il peggio

lunedì 27 giugno 2011

Page 24: Blomming Lean Startup @ Better Software 2011

21 aprile

Heroku dichiara di avere dei problemi di connettività e

il sito va infatti ad intermittenza

lunedì 27 giugno 2011

Page 25: Blomming Lean Startup @ Better Software 2011

21 aprile

Ma sono ancora le 10:30 e noi continuiamo ad avere la speranza che per le 14 (ora del servizio

sul TG1) tutto si risolva per il meglioSO...

lunedì 27 giugno 2011

Page 26: Blomming Lean Startup @ Better Software 2011

21 aprile

...Il peggio però non era ancora arrivato...

lunedì 27 giugno 2011

Page 27: Blomming Lean Startup @ Better Software 2011

AWS down

Poco dopo si diffonde la notizia del vero problema: un’intera region Amazon Web Service

è down per problemi di networking.

E’ la region USA più grande: quella della Virginache è usata anche da Heroku!

lunedì 27 giugno 2011

Page 28: Blomming Lean Startup @ Better Software 2011

AWS down

lunedì 27 giugno 2011

Page 29: Blomming Lean Startup @ Better Software 2011

AWS down

Se usate alcuni di questi servizi forse vi ricorderete di quella data

lunedì 27 giugno 2011

Page 30: Blomming Lean Startup @ Better Software 2011

AWS down

lunedì 27 giugno 2011

Page 31: Blomming Lean Startup @ Better Software 2011

AWS down: re-mirroring storm

Tutto a causa di un errore, probabilmente umano, di aggiornamento dell’infrastruttura di rete

lunedì 27 giugno 2011

Page 32: Blomming Lean Startup @ Better Software 2011

AWS down: re-mirroring storm

“Re-mirroring storm”: i server hanno “creduto” di non essere più collegati alle loro “copie specchio” (mirror) e hanno iniziato a cercare di “auto-ripararsi”. Così facendo hanno esaurito lo spazio disponibile nella loro rete locale e hanno messo in crisi anche i server di altre reti, che hanno cercato di “auto-ripararsi” anche loro. Il problema si è quindi amplificato e ha portato a un collasso del sistema.

lunedì 27 giugno 2011

Page 33: Blomming Lean Startup @ Better Software 2011

AWS down

La region Amazon AWS della Virginia ed è tornata a pieno regime dopo quasi 3 giorni!!!

Blomming.com “fortunatamente” solo dopo poco più di 24 ore, grazie ad una migrazione in

un’altra region AWS effettuata da Heroku...

lunedì 27 giugno 2011

Page 34: Blomming Lean Startup @ Better Software 2011

AWS down

...anche grazie alla priorità acquisita per aver attivato un database dedicato :)

Ecco la mail che mi ha fatto tirare un sospiro di sollievo dopo più di 24 ore di agonia:

lunedì 27 giugno 2011

Page 35: Blomming Lean Startup @ Better Software 2011

Lesson Learned

Quindi: i sistemi di cloud computingnon sono così sicuri come sembrano?

lunedì 27 giugno 2011

Page 36: Blomming Lean Startup @ Better Software 2011

Lesson Learned

Heroku ha affermato che: “Se non riescono a risolvere il problema i tecnici di AWS, probabilmente non ci può riuscire nessun altro al mondo”.

Quora ha scritto: “Senza AWS non esisteremmo”

lunedì 27 giugno 2011

Page 37: Blomming Lean Startup @ Better Software 2011

Lesson Learned

Ed hanno ragione!

lunedì 27 giugno 2011

Page 38: Blomming Lean Startup @ Better Software 2011

Lesson Learned

George Reese infatti scrive su un blog di O’Reilly (*): “it was the cloud’s shining moment, exposing the strength of cloud computing”

(*): http://broadcast.oreilly.com/2011/04/the-aws-outage-the-clouds-shining-moment.html

lunedì 27 giugno 2011

Page 39: Blomming Lean Startup @ Better Software 2011

Cloud computing

• Affidabili e a disponibilità immediata

• Robusti e sicuri

• Scalabili

• Standard

• Con costi associati all’utilizzo

Il cloud computing è stato una rivoluzione che ha permesso l’accesso a sistemi:

lunedì 27 giugno 2011

Page 40: Blomming Lean Startup @ Better Software 2011

Cloud computing

Il tutto a una frazione del costo di una infrastruttura tradizionale

Questo è particolarmente importante per una startup (lean) senza rinunciare alla sicurezza e affidabilità del servizio offerto

lunedì 27 giugno 2011

Page 41: Blomming Lean Startup @ Better Software 2011

Cloud computing

Fino a qualche anno fa i servizi offerti dai sistemi di cloud erano nella maggior parte dei casi inaccessibili per una startup

lunedì 27 giugno 2011

Page 42: Blomming Lean Startup @ Better Software 2011

Cloud computing

Quindi dov’è il problema?

lunedì 27 giugno 2011

Page 43: Blomming Lean Startup @ Better Software 2011

Cloud computing: design for failure

“Design for failure”(*) (*): George Reese

lunedì 27 giugno 2011

Page 44: Blomming Lean Startup @ Better Software 2011

Cloud computing: Redundancy

Modello tradizionale “n+1”

Physical

lunedì 27 giugno 2011

Page 45: Blomming Lean Startup @ Better Software 2011

Cloud computing: Redundancy

Virtual Resource

Virtual Resource

Physical resource

lunedì 27 giugno 2011

Page 46: Blomming Lean Startup @ Better Software 2011

Cloud computing: Redundancy

VR

VR

Physical resource 1

Availability Zone

VR

VR

Physical resource 2

lunedì 27 giugno 2011

Page 47: Blomming Lean Startup @ Better Software 2011

Cloud computing: Redundancy

VRVR

VRVR

VRVR

VRVR

Availability Zone A Availability Zone B

Region

PH 1

PH 2

PH 3

PH 4

Modello “n-1”lunedì 27 giugno 2011

Page 48: Blomming Lean Startup @ Better Software 2011

Cloud computing: Redundancy

Region A

Cloud

Region B

lunedì 27 giugno 2011

Page 49: Blomming Lean Startup @ Better Software 2011

Cloud computing: Redundancy

Cloud redundancy

lunedì 27 giugno 2011

Page 50: Blomming Lean Startup @ Better Software 2011

Design for failure

“The application is responsible for its own availability, regardless of the reliability of the underlying cloud infrastructure”

Cloud computing: design for failure

lunedì 27 giugno 2011

Page 51: Blomming Lean Startup @ Better Software 2011

Cloud computing: design for failure

Design for failure

“The strength of cloud computing is that it puts control over application availability in the hands of the application developer and not in the hands of your IT staff, data center limitations, or a managed services provider”

lunedì 27 giugno 2011

Page 52: Blomming Lean Startup @ Better Software 2011

Cloud computing: design for failure

“Design for failure”: si... può... fare!!!lunedì 27 giugno 2011

Page 53: Blomming Lean Startup @ Better Software 2011

Cloud computing: design for failure

lunedì 27 giugno 2011

Page 54: Blomming Lean Startup @ Better Software 2011

Startup

...avevo promesso di parlare anche di startup, vero?

lunedì 27 giugno 2011

Page 55: Blomming Lean Startup @ Better Software 2011

What’s a startup?

A startup is first of all an experiment, it is a human institution designed to deliver a new product or service under conditions of extreme uncertainty

(From Lessons Learned blog By Eric Ries)

lunedì 27 giugno 2011

Page 56: Blomming Lean Startup @ Better Software 2011

Ideas

How important are ideas?

lunedì 27 giugno 2011

Page 57: Blomming Lean Startup @ Better Software 2011

Team

Team is the key

lunedì 27 giugno 2011

Page 58: Blomming Lean Startup @ Better Software 2011

Passion

It’s very difficult to succeed without passionlunedì 27 giugno 2011

Page 59: Blomming Lean Startup @ Better Software 2011

Bootstrapper

You can be a bootstrapper, too.lunedì 27 giugno 2011

Page 60: Blomming Lean Startup @ Better Software 2011

Market research

lunedì 27 giugno 2011

Page 61: Blomming Lean Startup @ Better Software 2011

Market: B2C

B2Clunedì 27 giugno 2011

Page 62: Blomming Lean Startup @ Better Software 2011

Market: B2B

B2Blunedì 27 giugno 2011

Page 63: Blomming Lean Startup @ Better Software 2011

Market: B2B2C

B2B2Clunedì 27 giugno 2011

Page 64: Blomming Lean Startup @ Better Software 2011

Business Plan

lunedì 27 giugno 2011

Page 65: Blomming Lean Startup @ Better Software 2011

Go Ahead

Having a good idea, a proved and experienced team,

market research and a good plan...

...last missing thing is...

lunedì 27 giugno 2011

Page 66: Blomming Lean Startup @ Better Software 2011

Money

lunedì 27 giugno 2011

Page 67: Blomming Lean Startup @ Better Software 2011

VC Funding

Venture Capitals or Angel Investors can give you money based on your plan

lunedì 27 giugno 2011

Page 68: Blomming Lean Startup @ Better Software 2011

And then?

(Classic) Product Development

lunedì 27 giugno 2011

Page 69: Blomming Lean Startup @ Better Software 2011

Development: Waterfall model

Waterfall

Problem: known Solution: known

lunedì 27 giugno 2011

Page 70: Blomming Lean Startup @ Better Software 2011

What’s wrong?

9/10 Startups fail

66% of successful changed plans

58 ideas = 1 success

lunedì 27 giugno 2011

Page 71: Blomming Lean Startup @ Better Software 2011

What’s the problem?

Lack of customers

lunedì 27 giugno 2011

Page 72: Blomming Lean Startup @ Better Software 2011

What’s the problem?

Build a product no one wants

lunedì 27 giugno 2011

Page 73: Blomming Lean Startup @ Better Software 2011

What about Business Plans?

No business plan survives

the first customer contact

lunedì 27 giugno 2011

Page 74: Blomming Lean Startup @ Better Software 2011

What about Business Plans?

Plans are for a known futurenot for a startup context

So, plans fail in startups

lunedì 27 giugno 2011

Page 75: Blomming Lean Startup @ Better Software 2011

Assumptions on Product Development

lunedì 27 giugno 2011

Page 76: Blomming Lean Startup @ Better Software 2011

Business Models

It’s all about business models

lunedì 27 giugno 2011

Page 77: Blomming Lean Startup @ Better Software 2011

What’s a Lean Startup?

Lean startup is a rigorous process for iterating from Plan A to a plan that works.

(by Ash Maurya)

lunedì 27 giugno 2011

Page 78: Blomming Lean Startup @ Better Software 2011

Lean is not cheap

lunedì 27 giugno 2011

Page 79: Blomming Lean Startup @ Better Software 2011

Lean Startup cycle

lunedì 27 giugno 2011

Page 80: Blomming Lean Startup @ Better Software 2011

Open Source software

Lean startup is...

lunedì 27 giugno 2011

Page 81: Blomming Lean Startup @ Better Software 2011

Open Source software

Cloud computing architectures

Lean startup is...

lunedì 27 giugno 2011

Page 82: Blomming Lean Startup @ Better Software 2011

Open Source software

Agile methodologies

Cloud computing architectures

Lean startup is...

lunedì 27 giugno 2011

Page 83: Blomming Lean Startup @ Better Software 2011

XP

“Product owner” or“in-house” customer

Problem: known Solution: unknown

Agile (XP)

lunedì 27 giugno 2011

Page 84: Blomming Lean Startup @ Better Software 2011

...but in startups problem is unknown

“Problem” in startups

lunedì 27 giugno 2011

Page 85: Blomming Lean Startup @ Better Software 2011

What can help me?

“Problem” in startups

lunedì 27 giugno 2011

Page 86: Blomming Lean Startup @ Better Software 2011

Customer Development

lunedì 27 giugno 2011

Page 87: Blomming Lean Startup @ Better Software 2011

Four Steps to the Epiphany

lunedì 27 giugno 2011

Page 88: Blomming Lean Startup @ Better Software 2011

Business Plans

While the death of the business plan as a method to engage investors is a welcome development, it doesn’t eliminate the need to think through your business – a process aided by, ironically, the writing of a business plan.

lunedì 27 giugno 2011

Page 89: Blomming Lean Startup @ Better Software 2011

Business Models

We said:“It’s all about business models”

lunedì 27 giugno 2011

Page 90: Blomming Lean Startup @ Better Software 2011

Business Models Canvas

lunedì 27 giugno 2011

Page 91: Blomming Lean Startup @ Better Software 2011

Many different business models

The same technology, product or servicecan have many different business models

lunedì 27 giugno 2011

Page 92: Blomming Lean Startup @ Better Software 2011

OODA Loop

lunedì 27 giugno 2011

Page 93: Blomming Lean Startup @ Better Software 2011

Sketch out your Business models

lunedì 27 giugno 2011

Page 94: Blomming Lean Startup @ Better Software 2011

Iterate on guesses (set of hypotesis)

Iterate fast and often to find your business model

lunedì 27 giugno 2011

Page 95: Blomming Lean Startup @ Better Software 2011

Business Models (examples)

Free/Adv Freemiumlunedì 27 giugno 2011

Page 96: Blomming Lean Startup @ Better Software 2011

Customer Development: pivoting

lunedì 27 giugno 2011

Page 97: Blomming Lean Startup @ Better Software 2011

Get out of the building (by Steve Blank)

Your business assumptions can be wrongGo out and speak with your customers

lunedì 27 giugno 2011

Page 98: Blomming Lean Startup @ Better Software 2011

AARRR Metrics

By Dave McClureMore on: http://500hats.typepad.com/

Initial hypotesis must be precise to be measured

lunedì 27 giugno 2011

Page 99: Blomming Lean Startup @ Better Software 2011

Product/Market fit

lunedì 27 giugno 2011

Page 100: Blomming Lean Startup @ Better Software 2011

Customer Development: scaling

lunedì 27 giugno 2011

Page 101: Blomming Lean Startup @ Better Software 2011

Scalable startup

lunedì 27 giugno 2011

Page 102: Blomming Lean Startup @ Better Software 2011

Scalable startup

lunedì 27 giugno 2011

Page 103: Blomming Lean Startup @ Better Software 2011

Scalable (lean) startup

lunedì 27 giugno 2011

Page 104: Blomming Lean Startup @ Better Software 2011

What’s a Lean Startup?

Problem: unknown

Solution: unknown

lunedì 27 giugno 2011

Page 105: Blomming Lean Startup @ Better Software 2011

A classic full-featured product

Yes...it can be well organized, but not all features are required to your lean startup.

lunedì 27 giugno 2011

Page 106: Blomming Lean Startup @ Better Software 2011

Minimum Viable Product

MVP: A product with the fewest number of features needed to achieve a specific objective, for which users are willing to ‘pay’ in some form of a scarce resource.

lunedì 27 giugno 2011

Page 107: Blomming Lean Startup @ Better Software 2011

Intermediate MVPs

Intermediate MVPs test high risk components of the business model.

Final MVPs test the business model

lunedì 27 giugno 2011

Page 108: Blomming Lean Startup @ Better Software 2011

Early Adopters

The MVP is for your first customers: they are called Innovators and Early adopters.

lunedì 27 giugno 2011

Page 109: Blomming Lean Startup @ Better Software 2011

Blomming experience

lunedì 27 giugno 2011

Page 110: Blomming Lean Startup @ Better Software 2011

Search for Money

We had a plan and a (good?) idea

lunedì 27 giugno 2011

Page 111: Blomming Lean Startup @ Better Software 2011

Search for Money

No money for ideas

lunedì 27 giugno 2011

Page 112: Blomming Lean Startup @ Better Software 2011

Blog-Magazine: LikePicasso

lunedì 27 giugno 2011

Page 113: Blomming Lean Startup @ Better Software 2011

MVP

on Facebook

On existing websites / community

on mobiles

on Blomming

API

Creating a Shopon Blomming a merchant can immediately sell...

on hisblogs/websites

lunedì 27 giugno 2011

Page 114: Blomming Lean Startup @ Better Software 2011

YOU

lunedì 27 giugno 2011

Page 115: Blomming Lean Startup @ Better Software 2011

MUST

YOU

lunedì 27 giugno 2011

Page 116: Blomming Lean Startup @ Better Software 2011

MUST

YOU

SCALElunedì 27 giugno 2011

Page 117: Blomming Lean Startup @ Better Software 2011

Lean Startup Meetup - Bologna

http://www.meetup.com/Lean-Startup-Bologna-Meetup

lunedì 27 giugno 2011

Page 118: Blomming Lean Startup @ Better Software 2011

Useful on how to pitch investors

lunedì 27 giugno 2011

Page 119: Blomming Lean Startup @ Better Software 2011

Work only from 9 to 5

Is it possible?lunedì 27 giugno 2011

Page 120: Blomming Lean Startup @ Better Software 2011

An alternative?

Lifestyle business

lunedì 27 giugno 2011

Page 121: Blomming Lean Startup @ Better Software 2011

Thanks

Blomming.comTwitter.com/Blomming

Facebook.com/BlommingMagazine.blomming.comPersonal blog: njvitto.com

[email protected]

lunedì 27 giugno 2011