Upload
javier-ramirez
View
218
Download
0
Embed Size (px)
Citation preview
La nube como ventaja competitiva. Un repaso a las oportunidades que ofrece Google Cloud Platform
javier ramirez - @supercoco9
https://teowaki.com
how we developed and deployed software in the 90s
Adding a new server:
* call (using a landline) or send a fax to the provider* pay via bank transfer* wait for a few days/weeks* set up the server on your own server room* hope it won't break
deploying software:
* code locally on your OS* submit to CVS and manually build* send package and SQL separately to IT* wait until the time slot they give you (next week, probably)* test (by hand) everything is working* hope it won't break
HOPE IS NOTA STRATEGY
systems & development
A platform with interesting systems and development
tools
Infraestructura como servicio:
C mo dej de ó épreocuparme por el hardware y su complicada log sticaí
Provisioning infrastructure: AppEngine
“Zero ops” applications. Just deploy and forget*
Of course you still need to worry about monitoring, backups, security.. but infrastructure and scaling are automatic
*you need to adjust to the sandbox
Provisioning infrastructure: Compute Engine
Virtual Machines. Total freedom to do asyou wish.
Powerful networking. Networks, subnetworks, VPNs, forwarding rules,routes...
Cuatro cosas imposibles antes de lamerienda
* Mi servicio siempre disponible, aunque un volc n est escupiendo datos sobre mi á écentro de datos
* Sobrevivir al black friday, la superbowl o el brexit
* Acabar el trabajo de una semana en 20 minutos
* Consultar “toda la informaci n del mundo” en 5 segundosó
A squirrel did take out half of our Santa Clara data centre two years backMike Christian, Yahoo Director of Engineering
Hayastan Shakarian
a.k.a.The SpadeHacker
Cut-offArmeniafrom the Internetfor almostone day*
* By accident, while scavenging copper
Some data center outages reported in 2015:
* Amazon Web Services* Apple iCloud* Microsoft Azure* IBM Softlayer* Google Cloud Platform
* And of course every hosting with scheduled maintenance operations (rackspace, digitalocean, ovh...)
Complex systems can and will fail
Self-healing
Self-healing
Auto scaling.
* Sobrevivir al black friday, la superbowl o el brexit
Add auto-scaling capabilities dependingon
* CPU usage* Requests* Your own custom metrics
When self-healing and auto-scaling arenot enough
With http/https global load balancing
https://www.youtube.com/watch?v=HGdKHqMTAko
* Acabar el trabajo de una semana en 20 minutos
* 7 horas de 16 CPUs procesando sin parar despu s...é
Each second of screen time would require 5,000 processor hours to realize. Given the nature of the deadlines, our teams needed the ability to spike to 15,000 cores simultaneously on-demand just to stay on schedule. And because we don’t realize profits until the end of the project, we needed to spend as little as possible to get up and running.
* Consultar “toda la informaci n del mundo” óen 5 segundos
Google BigQuery
A nadie le gusta tener que despertarse a las cinco de la ma ana para reiniciar un servidor porque sus clientes ñest n sin servicio: monitorizaci n, alertas, y sistemas á óauto-reparables.
Monitoring
Alerts
Performance analysis
Performance analysis
tendencias en nube:
* Machine Learning
* Contenedores
* Arquitectura sin servidores
Machine Learning
* Train first
* Ask later
* or use a pre-trained model- google Vision API- google Speech API- google Translate API- google Prediction API
http://www.pivothead.com/build/https://www.youtube.com/watch?time_continue=119&v=eve8DkkVdhI
Container Engine. Managed kubernetes clusters
Container Engine. Managed load balanced kubernetes clusters
Container Engine. Managed load balanced, self healing, auto scaling kubernetes clusters
Container Engine. Managed kubernetes clusters
Automate all the things. Cloud Deployment Manager
Automate all the things. Cloud Deployment Manager
Serverless architectures
Why not the cloud
It's too slow
I am limited in what I can do
I will get vendor lock-in
I cannot legally host my data in the cloud
Google will spy on my data
Google will spy on my data
* GCP is not Gmail. SLA
* Encryption at rest and in transit
* Bring your own keys
* ISO standards
Cannot host my data on the cloud
public/private hybrid clouds
Cloud carrier interconnect, direct peering and CDN interconnect
it's too slow
but it's massively parallel
Vendor Lock-in:Open source
(Kubernetes, google dataflow...)
Vendor Lock-in:
terraform forinfrastructure
as code
Vendor Lock-inspinnaker for multi-
cloud immutable infrastructure and
deployments
Limited in what I can do
Limited in what I can do
Serial port output
Serial port output
A platform with interesting tools. Try it maybe?
Gracias!
javier ramirez - @supercoco9
https://teowaki.com