mobile app and disaster recovery with aws

31
Ing. Stefano Dindo Zero12 s.r.l. @stefanodindo Ing. Paolo Latella Interact SpA @latellapaolo Festival della Tecnologia ICT

Upload: paolo-latella

Post on 13-Jun-2015

513 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Mobile app and disaster recovery with aws

Ing. Stefano DindoZero12 s.r.l.

@stefanodindo

Ing. Paolo LatellaInteract SpA@latellapaolo

Festival della Tecnologia ICT

Page 2: Mobile app and disaster recovery with aws

Chi siamo ??

sIdea nel 2009

Fondato nel 20113 Meetup e 3 eventi

Page 3: Mobile app and disaster recovery with aws

TEAM

Ing. Stefano DindoZero12 s.r.l.

[email protected]@stefanodindo

Ing. Paolo LatellaInteract s.r.l.

[email protected]@latellapaolo

Page 4: Mobile app and disaster recovery with aws

Perchè usare AWS per le App

Flessibilità Scalabilità Varietà di metodi

• Elevata quantità di servizi

• Pay per Use

• Risorse di diverse tipologie

• Strutturare l’infrastruttura secondole esigenze di progetto

• Infrastrutturale in caso di picchi di traffico

• Delle risorse in real-time • Elasticità di gestire le risorse su costi orari

• Risorse disponibili al crescere del progetto

• Protocollo disponibili: JSON, BSON, SOAP, REST, HTTP/s, TCP, RTMP

• SDK di sviluppo Mobile • Supporto di diversi linguaggi di programmazione server side: java, Python, PHP, Ruby

Page 5: Mobile app and disaster recovery with aws
Page 6: Mobile app and disaster recovery with aws

Distribuzione Geografica

Page 7: Mobile app and disaster recovery with aws

Servizi basso livello

Servizi “cross” Strumenti

Architettura Amazon Web Services

Page 8: Mobile app and disaster recovery with aws

Region

AZ- A AZ- B AZ- C

Security Groups

Load Balancer

Web Traffic

RDSo

NoSQL

EBS

S3

EC2

AMI

Cloudwatch

Autoscaling

Page 9: Mobile app and disaster recovery with aws

Architetture Cloud per le App

Page 10: Mobile app and disaster recovery with aws

il tuo Storage

il tuo Processore

la tua Estensione

Per le App il Cloud rappresenta :

Page 11: Mobile app and disaster recovery with aws

Il tuo Storage:

IAM STS

1SimpleDB

S3

2

Page 12: Mobile app and disaster recovery with aws
Page 13: Mobile app and disaster recovery with aws

Instagram Case Study

AZ-A

AZ-B

S3App Terzi

Instagram

IAM STS

Page 14: Mobile app and disaster recovery with aws

Il tuo processore:

AZ-A

AZ-B Multi-AZ

Page 15: Mobile app and disaster recovery with aws

La tua estensione

VPC Subnet 1 VPC Subnet 2

Corporate Datacenter

AZ - 1 AZ - 2

Amazon Virtual Private Cloud

EC2 Instance for mobile

DB E-Mail CRM FileServer

Connessione VPN

Page 16: Mobile app and disaster recovery with aws

Architetture Cloud per il Disaster

Recovery

Page 17: Mobile app and disaster recovery with aws

RPO RTODisastro

€€ €€

Page 18: Mobile app and disaster recovery with aws

Modelli di costo

Cost savings w/ AWS

Ability to scale – no arbitrary time limit to

failback

Time!

Infr

astr

uct

ure

Co

st!

Test Test Failover Failback

Page 19: Mobile app and disaster recovery with aws

Backup e restore - Backup

Page 20: Mobile app and disaster recovery with aws

Backup e restore - recovery

Page 21: Mobile app and disaster recovery with aws

In Caso di disastro1.Recuperare l’ultimo backup da S32.Avviare le istanze da AMI preconfigurate3.Aggiornare i volumi delle istanze dal backup4.Switch del DNS

Obiettivi• RTO: tempo necessario ad aggiornare i volumi + tempo necessario ad avviare le istanze dalle AMI

• RPO: tempo dell’ultimo backup

Page 22: Mobile app and disaster recovery with aws

Soluzione “pilot light” - preparazione

Page 23: Mobile app and disaster recovery with aws

Soluzione “pilot light” - recovery

Page 24: Mobile app and disaster recovery with aws

In caso di disastro1.Avviare (automaticamente) le risorse intorno alle risorse “core”

2.Scalare il sistema per il traffico di produzione3.Switch DNS verso la nuova architettura (AWS)

Obiettivi• RTO: tempo necessario ad avviare le risorse non core (es. istanze) + tempo necessario a scalare

Page 25: Mobile app and disaster recovery with aws

Soluzione warm standby - preparazione

Page 26: Mobile app and disaster recovery with aws

Soluzione warm standby - recovery

Page 27: Mobile app and disaster recovery with aws

In caso di disastro1.Switch del DNS verso l’architettura “hot”2.Scalare il sistema per il traffico di produzione

Obiettivi• RTO: tempo necessario allo switch + tempo necessario per entrare a regime

• RPO: dipende dal tipo di replicazione

Page 28: Mobile app and disaster recovery with aws

Soluzione multi sito - preparazione

Page 29: Mobile app and disaster recovery with aws

Soluzione multi sito - recovery

Page 30: Mobile app and disaster recovery with aws

In caso di disastro1.Isolare l’architettura guasta2.Scalare il sistema per il traffico di produzione

Obiettivi• RTO: tempo di identificazione del guasto• RPO: dipende dal tipo di replicazione

Page 31: Mobile app and disaster recovery with aws

Ing. Stefano DindoZero12 s.r.l.

@stefanodindo

Ing. Paolo LatellaInteract SpA@latellapaolo

www.meetup.com/awsusergroupitaly