por trás da infraestrutura do cloud - campus party 2014

21
Por trás da infraestrutura do Cloud Gleicon Moraes @gleicon | http://github.com/gleicon | http://blog.7co.cc

Upload: gleicon-moraes

Post on 25-May-2015

464 views

Category:

Technology


0 download

DESCRIPTION

Palestra na arena Hypátia da Campus Party 2014 sobre Cloud, IaaS e a vida de aplicações na web

TRANSCRIPT

Page 1: Por trás da infraestrutura do Cloud - Campus Party 2014

Por trás da infraestrutura do Cloud

Gleicon Moraes @gleicon | http://github.com/gleicon | http://blog.7co.cc

Page 2: Por trás da infraestrutura do Cloud - Campus Party 2014

PREAMBULO

Page 3: Por trás da infraestrutura do Cloud - Campus Party 2014

Sua aplicação começa assim

DatabaseApp Server

Page 4: Por trás da infraestrutura do Cloud - Campus Party 2014

e App Servers Database

Page 5: Por trás da infraestrutura do Cloud - Campus Party 2014

cresce App Servers Master DB

Slave DB

Page 6: Por trás da infraestrutura do Cloud - Campus Party 2014

mais App Servers Master DB

Slave DB

Cache

Page 7: Por trás da infraestrutura do Cloud - Campus Party 2014

ou App Servers Master DB

Slave DB

Cache

Indexing Service

Page 8: Por trás da infraestrutura do Cloud - Campus Party 2014

menos App Servers Master DB

Slave DB

Cache

Indexing Service

API Servers

Page 9: Por trás da infraestrutura do Cloud - Campus Party 2014

desse App Servers Master DB

Slave DB

Cache

Indexing Service

API Servers

Load Balancer/Reverse Proxy

Page 10: Por trás da infraestrutura do Cloud - Campus Party 2014

jeito App Servers Master DB

Slave DB

Cache

Indexing Service

API Servers

Load Balancer/Reverse Proxy

Auth Service

Page 11: Por trás da infraestrutura do Cloud - Campus Party 2014

Modelos de Serviço

• Hospedagem – servidores compartilhados

• Colocation e servidores dedicados

• Cloud –Infraestrutura como Serviço

•  PaaS – Plataforma como Serviço

Page 12: Por trás da infraestrutura do Cloud - Campus Party 2014

Modelos de Serviço •  Single tenant / Physical Server

•  Single tenant / VM

•  Multiple tenants / VM

•  Multiple tenants / Physical Server

•  Multiple VMs / Physical Server

•  Multiple tenants on a pool of virtual/physical servers

Page 13: Por trás da infraestrutura do Cloud - Campus Party 2014

IaaS - NIST definition

•  “ The capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications.

•  The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, and deployed applications; and possibly limited control of select networking components (e.g., host firewalls).”

* http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf

Page 14: Por trás da infraestrutura do Cloud - Campus Party 2014

IaaS - Wikipedia

•  “In this most basic cloud service model, cloud providers offer computers, as physical or more often as virtual machines, and other resources. The virtual machines are run as guests by a hypervisor, such as Xen or KVM. Management of pools of hypervisors by the cloud operational support system leads to the ability to scale to support a large number of virtual machines. Other resources in IaaS clouds include images in a virtual machine image library, raw (block) and file-based storage, firewalls, load balancers, IP addresses, virtual local area networks (VLANs), and software bundles.[46] IaaS cloud providers supply these resources on demand from their large pools installed in data centers. For wide area connectivity, the Internet can be used or—in carrier clouds -- dedicated virtual private networks can be configured.”

* http://en.wikipedia.org/wiki/Infrastructure_as_a_service#Service_models

Page 15: Por trás da infraestrutura do Cloud - Campus Party 2014

IaaS - tl;dr

•  “Automate infrastructure such as the customer will not know the underlying details, will not manage them and can provision services automagically.”

Page 16: Por trás da infraestrutura do Cloud - Campus Party 2014

Cloud - building blocks

•  Compute - virtual servers, images •  Storage • Network devices: firewall, switches, load

balancer, DNS •  Services (management, security, project)

Page 17: Por trás da infraestrutura do Cloud - Campus Party 2014

Cloud - Resumido •  Hypervisor + servidores + storages + rede = time

sharing/heavy lifting

•  Capacity planning diferente de servidores fisicos

•  Configuração flexível

•  Provisionamento rápido

•  Vertical Scaling

•  Horizontal scaling

•  Serviços de gerenciamento

Page 18: Por trás da infraestrutura do Cloud - Campus Party 2014

Arquitetura - Cloud

Simplestack SimpleNet/Quantum

Firewall Network Gear

Physical Servers hypervisor

Main Network

Internet

ovs

Page 19: Por trás da infraestrutura do Cloud - Campus Party 2014

Provisionamento - Cloud

Provisioner

Control Panel API Sales

Cloud

Page 20: Por trás da infraestrutura do Cloud - Campus Party 2014

?

Page 21: Por trás da infraestrutura do Cloud - Campus Party 2014

Obrigado !