Quem sou eu ?
• Mais de 25 anos de experiência no desenvolvimento de software
• Trabalha com tecnologia Microsoft desde 2003
• Fez diversos projetos para Client, Web e Dispositivos Móveis
• Responsável por Pesquisa e Desenvolvimento na CDS Informática
• Microsoft MVP C#
• MCPD, MCTS, MCT
• Professional Scrum Developer, Professional Scrum Master
• Advisory Council Member Top Award 2012
• Palestrante em diversos eventos pelo Brasil
• Foi convidado para testar o datacenter Brasil (janeiro a abril/2014)
Padrões de
Computação
em Nuvem
t
Compute
Inactivity
Period
t
t
t
Ligado e Desligado
Cargas periódicas (ex. Processo batch)
Desperdício de capacidade ociosa
Time to market demorado
Explosão imprevisível
Pico inesperado na demanda
Aumento repentino impacta performance
Compute
Crescimento rápido
Serviços de sucesso precisam crescer/escalar
Se manter com crescimento é um desafio
Não é possível provisionar hardware rápido
Compute
Explosão previsível
Serviços com tendência de sazonalidade
Picos devido ao aumento de demanda
Complexidade e desperdício de TI
Compute
Por quê nuvem?
Criação rápida do ambiente
Escala de acordo com a demanda
Redução e Custos.
On Premises
Você escala, cria e gerencia
Infrastructure
(as a Service)
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Gerenciado pelo fornecedor
Você escala, cria e gerencia
Platform
(as a Service)
Escala, gerenciamento feito pela fornecedor
Você gerencia
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Hosting models
Business model
Software
(as a Service)
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Escala, gerenciamento feito pela fornecedor
Por quê Nuvem?
16 regiões ao redor do mundo em 2014
Data Centers
Regional Partners
>57% >300k
Fortune 500 usam Azure
Websites ativos
Mais de
1,000,000
SQL Databases no Azure
>30TRILLION
>300MILLION
storage obj AAD users
>3 MILLION
BILLION
requests/sec
>13 authentication/wk >1.65
MILLION
Desenvolvedores
registrados no Visual
Studio Online
Virtual Machines
Memory Optimized Disk Optimized
Portal
Puppet Chef Docker
Traffic Mgr
.NET Support2014
Powershell Automation
Remote Apps
Mobile Services
Offline Sync
SQL Database
.NET 4.5
Active GEO replication
Networking Visual Studio & .NET
Resource Manager
Point-to-site VPN Xamarin
Dynamic Routing
VSO GA
Web Sites
SMB File System
IBIZA
Remote Debug
VM Management
Powershell and DSC
Capture / Deploy
Autoscale
Subnet Routing
Static IP
Storage
Autoscale
Web Jobs
Backup
Java Support
ASP.NET MVC 5.1
ASP.NET Web API 2.1
AD support
Node.JS project support
Kindle Support
Remote Debugging
BD’s up to 500GB
99.95% SLA
Self Service Site Recovery
HDInsight
Hadoop 2.2
YARN support
.NET Foundation
Azure Redis Cache
API Management
Site Recovery
Cordova
VSO Open
Api’s
Event Hub
Suporte para Open Source
Languages
CMS
Devices
Databases /
Apps
Operating
systems
Management
Microsoft Azure Services
Client layer
(on-premises)
Tablet Phone
Games
PC console
On-premises
On-premises
service
Office Add-in Browser database
AD
Multifactor
Authentication
Access Control
Layer
Integration
layer
Service Bus CDN
BizTalk
Services
Traffic
Manager
Virtual
Networks
Express
Route
Application
layer
API Mgmt Websites
Cloud
Services VM
Mobile
Services
Media
Services
Notification
Hubs Scheduler Automation
Data Layer
Storage Blobs Tables Queues Data
Machine
Learning HD Insight
Backup and
Recovery
SQL
Database Caching StorSimple
Máquinas Virtuais
Começando
>_
Portal Web
Scripts
(Windows, Linux and Mac)
REST API
Selecione o
tamanho
Extra Small
Small
Medium
Large
X-Large
Disco na storage
Blob
Storage
Cloud
Rede
Abrangente
Windows Server
Linux
Boot VM a partir
de novo disco
Host no Azure
Mais de 100,000 VMs
360,000 cores
concorrentes
Titanfall
Galeria
UMA COLEÇÃO DE MÁQUINAS PRONTAS PARA USO:
Windows Server 2012 R2 Ubuntu Server 14.04 LTS CentOS 6.5
SUSE Linux
openSUSE 13.1
Enterprise Server Oracle Linux 6.4.0.0.0
Windows 8.1 Enterprise
SQL Server 2014 Standard Oracle Database 11g R2 BizTalk Server 2013 SharePoint Server Farm
Microsoft Dynamics
GP 2013
Zulu 8
SAP HANA
Developer Edition Puppet Enterprise 3.2.3 Barracuda Web Application
Oracle WebLogic
Server 12.1.2
Visual Studio Ultimate 2013
Tamanhos das Máquinas Virtuais
VM Size CPU Cores Memory Bandwidth # (1TB) Data Disks
Extra Small (A0) Shared 768 MB 5 (Mbps) 1
Small (A1) 1 1.75 GB 100 (Mbps) 2
Medium (A2) 2 3.5 GB 200 (Mbps) 4
Large (A3) 4 7 GB 400 (Mbps) 8
Extra Large (A4) 8 14 GB 800 (Mbps) 16
A5 2 14 GB 200 (Mbps) 4
A6 4 28 GB 1000 (Mbps) 8
A7 8 56 GB 2000 (Mbps) 16
A8 8 56 GB 40 Gbit/s InfiniBand 16
A9 16 112 GB 40 Gbit/s InfiniBand 16
Big Data Insights
Microsoft Azure Machine Learning
Sofisticados algorítmos de extração e combinação de
dados
Permite que cientistas e desenvlvedores façam
analises em suas aplicações
Elastico, pago por uso
Microsoft Azure HDInsight
Instância do Hadoop rodando como um serviço
Suporta ecosistemas existentes: Hive, Pig, etc
Suporte extendido para Excel e BI
Integração com diversas fontes de dados
O que é Mobile Services?
Storage
Autenticação
Lógica
Push
Agendamento
DB
SQL database
SQL Server Engine na nuvem
Totalmente gerenciado pelaMicrosoft
Alta disponibilidade e escalabilidade
Microsoft®
SQL Server
- SQL/Windows authentication
- All index types
- Many DBs – one connection
- No scaling
- Server-side roles
- Server side firewall
- SQL Agent Jobs
Microsoft®
SQL Azure
- SQL authentication
- Clustered indexes
- One DB – one connection
- Sharding
- Metadata DB roles
- Build-in Firewall
- SQL Azure Data Sync
http://msdn.microsoft.com/en-us/library/windowsazure/ff394115.aspx
Microsoft Azure Active Directory
• Sincroniza com sua empresa
• Integração com O365
• Suporta protocolos modernos
• OAuth 2.0
• OpenID Connect
• WS-Fed
• SAML 2.0
• Identidade e Gerenciamento de
Permissões
• Users
• Groups
• Applications
Microsoft 3rd party clouds/hosting
Azure AD
Você
Azure Media Services
Serviços de Midia sob Demanda
Video-on-demand
Ingest
Encode
Package
Encrypt
Delivery
Suporte a Live Streaming
Olympics NBC Sports
Live video encoding e streaming
Web + Mobile
100 milhões de visualizações
2.1 milhões de visualizações concorrentes
em HD
Cenários para Iniciar com Microsoft Azure
•Dev / Test
•Ambientes completos para teste e desenvolvimento em minutos
•Storage
•Armazene dados em um espaço inesgotável
•Big Data
•Processe dados usando Hadoop ou Machine Learning
•Identity
•Sincronize todas as identidades através do Azure AD para controlar acesso
a Apps, Dados e Serviços
•Web Apps
•Coloque suas aplicações web na nuvem
Como fica o licenciamento ?
Licença de nuvem por hora
Windows
Server
Licenciamento de Aplicação (SA)
Por hora de licença em nuvem
Microsoft
Applications
Baseado no fornecedor do produto
External
Applications
Controlando seus Gastos
http://account.windowsazure.com
http://carloscds.net/2013/07/analise-sua-conta-do-windows-azure
Resumo
Serviços que permitem que você crie, gerencie e publique aplicações
rapidamente.
Serviços de
Web Sites nuvem
SQL
database Service Bus
Serviços
móveis
Cache Armazenamento
Máquina
virtual
Perguntas ???
Carlos dos Santos
CDS Informática Ltda.
MVP C#, MCTS, MCPD, MCT, Visual Studio ALM, PSD, PSM
www.carloscds.net
@cdssoftware
Notas do Editor
Speaking Points:
There are numerous terms and definitions floating around in the industry for “the cloud”, “cloud computing”, “serviços de nuvem”, etc.
Microsoft thinks of the cloud as simply an approach to computing that enables applications to be delivered at scale for a variety of workloads and client devices.
The cloud can help deliver IT as a standardized service…freeing you up to focus on your business
Slide Objectives:
Describe the various computing patterns that are good for Cloud Computing
Speaking Points:
There are numerous terms and definitions floating around in the industry for “the cloud”, “cloud computing”, “cloud services”, etc.
Microsoft thinks of the cloud as simply an approach to computing that enables applications to be delivered at scale for a variety of workloads and client devices.
The cloud can help deliver IT as a standardized service…freeing you up to focus on your business
Cover the workloads in the slide
Slide Objectives:
Explain the three established industry terms for serviços de nuvem
Speaker Notes:
There is a lot of talk in the industry about different terms like Platform as a Service, Infrastructure as a Service, and Software as a Service.
Since PDC08 when we first announced the Windows Azure our focus has been on delivering a platform as a service offering where you can build applications. Where the platform abstracts you from the complexities of building and running applications.
We fundamentally believe that the future path forward for development is by providing a platform. In fact, as you’ll see in a few minutes, we believe that there are a number of new capabilities that should be delivered as services to the platform.
Notes:
There is a lot of confusion in the industry when it comes to the cloud.
It’s important that you understand both what is happening in the industry and how we think about the cloud.
This is the most commonly used taxonomy for differentiating between types of serviços de nuvem.
The industry has defined three categories of services:
IaaS – a set of infrastructure level capabilities such as an operating system, network connectivity, etc. that are delivered as pay for use services and can be used to host applications.
PaaS – higher level sets of functionality that are delivered as consumable services for developers who are building applications. PaaS is about abstracting developers from the underlying infrastructure to enable applications to quickly be composed.
SaaS – applications that are delivered using a service delivery model where organizations can simply consume and use the application. Typically an organization would pay for the use of the application or the application could be monetized through ad revenue.
It is important to note that these 3 types of services may exist independently of one another or combined with one another.
Slide Objective:
Explain a wide variety of images that you can choose from.
Speaker Notes:
First of all, you can choose from different Windows Servers and a variety of Linux implementations. [Click]
As well as pre-built images for different flavors of SQL Database and Oracle databases. [Click]
You can also choose from a number of first-party and certified third-party images for various application servers and infrastructural components. [Click]
And last but not least, if you are a MSDN subscriber, you also have access to Visual Studio images and client Windows systems such as Windows 7 and Windows 8.1 for your DevTest purposes.
Slide Objective:
Introduce different virtual machine sizes.
Speaker Notes:
Different VM sizes allow different number of data disks (more on data disks later).
A5-A7 are high-memory instances
A8-A9 are for compute-intensive workloads
Speaking Points:
Transition
Virtual machines provide a very flexible compute model.
Another compute service available in Windows Azure is called Windows Azure Web Sites.
Definition:
Windows Azure Web Sites there is a managed service that you can use to run web sites and web APIs.
Enable you to quickly stand up web applications and web sites on the internet
Auto-managed environment
Just say that you want a web, here’s the DNS, copy the content, and we do the rest
You don’t have to worry or think about VMs, servers, or infrastructure.
You can simply focus on building and deploying HTTP based applications.
Enables you to build web sites using ASP.NET, Node.js, PHP, and now with an update a few weeks ago – Python
Allows you to use any tool and any operating system to build these sites including Windows, OS X, and Linux.
Enables a very fast deployment model. You can literally deploy in seconds.
You can easily deploy these sites using the tools and infrastructure you know.
We support several flexible deployment options including FTP, GIT, and Team Foundation Services
What is nice about this offering is that not only does it enable to very quickly get going, but it also allows you to start with a free offer in a shared environment.
Pricing starts at free.. Perpetually free and then you can scale up as you need more capability
You can then scale up these sites using reserved instances for higher performance and isolation and scale out these sites as your web site becomes successful and you have increased load.
Speaking Points:
Just to recap
When I’m running shared, multiple web sites from multiple customers are use the same virtual machine instances
Speaking Points:
In shared mode the web sites can be scaled out to run on multiple shared instances,
In this case Windows Azure provides load balancing of incoming requests resulting in better response time and performance for your application and higher availability
Speaking Points:
If we really need to scale our application or we want to isolate our application, perhaps to use more memory, we can switch our app to reserved mode
In this case Windows Azure will use an instance out of the pool of available instances, deploy your site, and continue to serve up requests
Speaking Points:
Just like with shared mode, we can also scale out with reserved mode, in which case the machine instances are registered with the load balancer for your web application.
This can result in better response time, performance, and availability for your web application.
Speaking Points:
What’s also cool is that you can have multiple sites in a reserved instance.
So if you have three or four sites as I had in the demo, they can all run in my reserved instance, so I can be more efficient with using the resources.
This is great if you want to run multiple sites for others or sites you want to run isolated
Speaking Points:
Transition:
So we’ve seen three ways to run your code in Windows Azure - Virtual machines, Web Sites, and Serviços de nuvem
Now let’s look at the fourth compute service called Windows Azure Mobile Services.
Definition
Mobile Services is an exciting new service that we introduced about three months ago and we’ve rapidly been updating with new features and services.
I’m sure that many of you today are building device applications that need connectivity to services and data.
Mobile Services are designed specifically to make it really simply for you to build cloud back-ends that power mobile device applications by providing common functionality you need as configurable services.
Features:
Mobile Services provides the ability to easily store and retrieve data, manage users with several different identify providers including Microsoft Account, Twitter, Facebook, and Google accounts, and the ability to send push notifications to devices.
Today Mobile Services has native SDKs for Windows 8 Store applications, Windows Phone apps, and iOS applications.
We’re also adding Android and HTML5 support in the near future.
Speaking Notes
Azure Mobile Services is a Backend-as-a-Service
Instead of you having to design, build, test, deploy, manage, and upgrade your whole backend, we do it for you
Features of Mobile Services
Storage – SQL DB
Authentication – built in support for social providers w/ ability to custom auth
Backend logic – data validation, logical flows, etc
Push Notifications – across all major mobile platforms
Scheduler – backend job processing
Speaking Points:
Let’s walk through some of the building block services that we’re providing and in particular highlight some of the new features of these services.
If you’ve been using Windows Azure you maybe familiar with some of these services. However, there are several new features we’re enabling with all of them.
The first one I’m going to talk about is the SQL Database
SQL Database is a service we’ve had for a while as part of Windows Azure
It provides a relational SQL Server database engine in the cloud
We run the SQL engine for you, we do all of the clustering and availability work for you, so you don’t have to worry about standing up your own clustered environment.
It’s a fully managed service
We also apply security patches and monitor the system
Speaking Points:
We have a great storage system.
We talked about this earlier as part of virtual machines for mounting drives.
You can think of blob storage as a highly available, scalable, and secure file system in the cloud.
You can store any type of data you want in it.
You can optionally expose storage through some HTTP URLs and make it public or you can make it private.
Similar to databases, you can stand up a new storage account in a few minutes.
Continuous geo-replication is enabled by default for storage accounts.
Slide Objectives
Understand the hierarchy of Blob storage
Speaker Notes
The Blob service provides storage for entities, such as binary files and text files.
The REST API for the Blob service exposes two resources:
Containers
Blobs.
A container is a set of blobs; every blob must belong to a container.
The Blob service defines two types of blobs:
Block blobs, which are optimized for streaming.
Page blobs, which are optimized for random read/write operations and which provide the ability to write to a range of bytes in a blob.
Blobs can be read by calling the Get Blob operation. A client may read the entire blob, or an arbitrary range of bytes.
Block blobs less than or equal to 64 MB in size can be uploaded by calling the Put Blob operation.
Block blobs larger than 64 MB must be uploaded as a set of blocks, each of which must be less than or equal to 4 MB in size.
Page blobs are created and initialized with a maximum size with a call to Put Blob.
To write content to a page blob, you call the Put Page operation. The maximum size currently supported for a page blob is 1 TB.
Notes
http://msdn.microsoft.com/en-us/library/dd573356.aspx
Using the REST API for the Blob service, developers can create a hierarchical namespace similar to a file system. Blob names may encode a hierarchy by using a configurable path separator. For example, the blob names MyGroup/MyBlob1 and MyGroup/MyBlob2 imply a virtual level of organization for blobs. The enumeration operation for blobs supports traversing the virtual hierarchy in a manner similar to that of a file system, so that you can return a set of blobs that are organized beneath a group. For example, you can enumerate all blobs organized under MyGroup/.
Speaking Points:
You can integrate with anyone using Active Directory
Once you integrate
You can also take advantage of our new graph API
Speaking Points:
In addition to the building block services that we provided from Microsoft, at BUILD we also introduced the Windows Azure Store.
Focused on developer services – both for data, storage options, application monitoring, and more.
Many of these services are recognizable startups such as NewRelic and SendGrid
Speaking Points:
You can integrate with anyone using Active Directory
Once you integrate
You can also take advantage of our new graph API
Speaking Points:
Transition:
So we’ve seen three ways to run your code in Windows Azure - Virtual machines, Web Sites, and Serviços de nuvem
Now let’s look at the fourth compute service called Windows Azure Mobile Services.
Definition
Mobile Services is an exciting new service that we introduced about three months ago and we’ve rapidly been updating with new features and services.
I’m sure that many of you today are building device applications that need connectivity to services and data.
Mobile Services are designed specifically to make it really simply for you to build cloud back-ends that power mobile device applications by providing common functionality you need as configurable services.
Features:
Mobile Services provides the ability to easily store and retrieve data, manage users with several different identify providers including Microsoft Account, Twitter, Facebook, and Google accounts, and the ability to send push notifications to devices.
Today Mobile Services has native SDKs for Windows 8 Store applications, Windows Phone apps, and iOS applications.
We’re also adding Android and HTML5 support in the near future.
Speaking Points:
All of the features I demoed today are available now either in released or preview form.
The services that had the preview tag next to them in the management portal are currently in preview mode, meaning that they are not yet final.
These services will be coming out of preview next calendar year. Working hard on getting them done as soon as possible.
If you haven’t gotten started yet with Windows Azure, I encourage you to go to WindowsAzure.com and sign-up for an account.
If you have an MSDN subscription you can activate up to $3700 worth of yearly Windows Azure benefits. Otherwise you can sign-up for a free trial and get started.