Por trás da infraestrutura do Cloud - Campus Party 2014
-
Upload
gleicon-moraes -
Category
Technology
-
view
465 -
download
0
description
Transcript of Por trás da infraestrutura do Cloud - Campus Party 2014
![Page 1: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/1.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/2.jpg)
PREAMBULO
![Page 3: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/3.jpg)
Sua aplicação começa assim
DatabaseApp Server
![Page 4: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/4.jpg)
e App Servers Database
![Page 5: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/5.jpg)
cresce App Servers Master DB
Slave DB
![Page 6: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/6.jpg)
mais App Servers Master DB
Slave DB
Cache
![Page 7: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/7.jpg)
ou App Servers Master DB
Slave DB
Cache
Indexing Service
![Page 8: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/8.jpg)
menos App Servers Master DB
Slave DB
Cache
Indexing Service
API Servers
![Page 9: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/18.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/19.jpg)
Provisionamento - Cloud
Provisioner
Control Panel API Sales
Cloud
![Page 20: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/20.jpg)
?
![Page 21: Por trás da infraestrutura do Cloud - Campus Party 2014](https://reader033.fdocuments.net/reader033/viewer/2022051400/55627ae8d8b42a04418b4d1e/html5/thumbnails/21.jpg)
Obrigado !