19. Base de Datos
(subordinada)
Pilot Light – Preparación
www.example.com
Replicación
(Data Mirroring)
No están
prendidos
Sistema
”Pilot light”
Reverse proxy/
caching server
Volumen
de datos
Application
server
DataCenter Corporativo
Reverse
proxy/
caching
server
Application
server
Master
Base de
Datos
20. Base de Datos
Pilot Light – En Acción
www.example.com
Se inician en
cuestión de
minutos
Aumenta
capacidad
(si se necesita)
Reverse proxy/
caching server
Volumen
de datos
Application
server
DataCenter Corporativo
Reverse
proxy/
caching
server
Application
server
Master
Base de
Datos
22. Mirroring / Replication
Application
data source
cut over
Elastic
Load
Balancer
Active
Not active for
production
traffic
Amazon
Route 53
www.example.com
Standby
Menor capacidadCorporate data center
Data
volume
Application
server
Subordinate
database
server
Reverse
proxy/
caching
server
AWS region
Reverse
proxy/
caching
server
Application
server
Master
Database
server
Warm Standby – Preparación
25. Mirroring / Replication
Application
data source
cut over
Elastic
Load
BalancerActive
Amazon
Route 53
www.example.com
Corporate data
center
Data
volume
Application
server
Subordinate
database
server
Reverse
proxy/
caching
server
AWS region
Reverse
proxy/
caching
server
Application
server
Master
Database
server
Active
Hot Site – Preparación
28. Backup basado en AWS CLI
$ aws s3 sync /backups s3://mybucket
;Sincroniza la carpeta local ”backups” con un
bucket S3 ”mybucket”
$ aws s3 sync /backups s3://mybucket --delete
;Igual que el anterior pero ahora borra los
archivos que estén en el bucket y que no estén en
la carpeta local
29. Backup basado en AWS CLI
$ aws s3 sync /backups s3://mybucket
;Sincroniza la carpeta local ”backups” con un bucket S3
”mybucket”
$ aws s3 sync /backups s3://mybucket --delete
;Igual que el anterior pero ahora borra los archivos que
estén en el bucket y que no estén en la carpeta local
33. Caso de uso #2
Almacenamiento y Failover de
un volumen grande de datos
34. Gran cantidad de datos
AWS cloud
AWS Import/Export
Corporate data center
NGS
On-premises
Compute / cluster
Sequence dataPhysical media
Flowcell-ID
AWS CLI
Amazon Glacier
1 3
AWS
Import/Export
Snowball
Snowmobile
or
AWS CLI
2
35. AWS cloud
Corporate data center
NGS
On-premises
Compute / cluster
AWS
Storage Gateway
Virtual server
Amazon
S3
ISCSI
Cached
volume
1
2
Gran cantidad de datos
36. AWS cloud
AWS Import/Export
Corporate data center
NGS
On-premises
Compute / cluster
Sequence data
Flowcell-ID
Amazon Glacier
1
Physical media
AWS
Import/Export
Snowball
or
Gran cantidad de datos -
Recuperación
37. AWS cloud
Corporate data center
NGS
On-premises
Compute / cluster
AWS
Storage Gateway
Virtual server
Amazon S3
ISCI
Cached volume
2
1
Gran cantidad de datos -
Recuperación
38. ¿Cuánto cuesta?
Amazon S3 AWS Import/Export Amazon Glacier
$ 0.023 /GB $2.49 per data-loading-hour + $80 per storage device $ 0.004 / GB
Servicio Costo
Amazon S3 10TB $ 230
AWS Import/Export 1PB** - Variable
Amazon Glacier Archive
1PB
$ 4,000
Total $ 4,230/ mes
**Entre los factores están el tipo y tamaño del volumen.
39. Caso de uso #3
Replicación de ambiente
virtualizado, backup y failover
40. Corporate data center AWS cloud
AWS Storage
Gateway
Amazon
S3
iSCSI from AWS
Storage
Gateway to ESX
Hosts
AWS Storage
Gateway
cached volume
to Amazon S3
VMFS
VMware ESX VMware ESXi
Replication
Appliance
Replicación/Conversión de VM
41. Corporate data center AWS cloud
AWS Storage
Gateway
Amazon
S3
iSCSI from
AWS Storage
Gateway to
ESX Hosts
AWS Storage
Gateway
cached volume
to Amazon S3
VMFS
VMware ESX VMware ESXi
Replication
Appliance
AMI
Amazon
EBS
VM Import
Replicación/Conversión de VM
42. ¿Cuánto cuesta?
Amazon S3 AWS Storage Gateway
$ 0.023 / GB $ 125.00 ($0.01 per GB, max $125)
Servicio Costo
AWS Storage Gateway archive (32TB) $736
AWS Storage Gateway VM cost $125
Total $ 861 / mes
44. • Herramienta de migración
• Sin agentes. Automatiza, programa y monitorea la replicación de
volúmenes en vivo.
• Realiza replicación a nivel de bloques a nivel de Hypervisor (VmWare,
por ahora)
• Soporte a Sistemas Operativos
• Windows Server 2003, 2008, 2012 y 2016; Windows 7, 8, y10; Red Hat
Enterprise Linux (RHEL), SUSE/SLES, CentOS, Ubuntu, Oracle Linux,
Fedora, y Debian Linux
¿Qué es AWS SMS?
49. ¿Cuánto cuesta? (30 días) – Sitio remoto
VPC VPN Amazon EC2 *
(m4.xlarge)
1Gb AWS
Direct Connect
Amazon EBS
(SSD)
Region data transfer fee
$ 0.05 /Hour $ 0.215 $ 0.30 / Hour $ 0.10 / GB $ 0.02 / GB
Servicio Costo
1Gb AWS Direct Connect $216
VPN Fallback Connection $36
(2) Amazon EC2 instances $309.6
(2) Amazon EBS 60GB volumes $12
(1) AMI copy to US-West-2 $1.20
Total $ 574.8 / Mes
*us-west-2, Amazon Linux AMI
50. ¿Qué tan fácil podemos hacer un
failover?
https://aws.amazon.com/cloudformation/aws-cloudformation-templates/
51. ¿Qué tan fácil podemos hacer un
failover?
$ aws cloudformation create-stack --stack-name "Failover-cli" --
template-url 'https://s3.amazonaws.com/Sample.template' --
parameters ParameterKey=KeyName,ParameterValue=keyuseast1
;Crea el stack ”Failover-cli” basado en el template ”Sample.template”
52. AWS cloud
Corporate data center
Route 53
Docker servers
www.example.com
Database
Amazon RDS
Data
mirroring
replication
Storage
Gateway
Container failover
Snapshot
S3
53. Amazon ECS
AWS cloud
Corporate data center
Route 53
www.example.com
RDS
Amazon
ECS cluster
Container failover
EBS
Data /
code repo
S3