Upload
james-jan
View
242
Download
2
Embed Size (px)
DESCRIPTION
2014 Taiwan PaaS Meetup
Citation preview
The Beauty of Azure.
- 2014 Taiwan PaaS Meetup -
James JanAzure [email protected]
- The color halfway between blue and cyan.
“ 天藍色”
Why Microsoft Azure?The story …
Steven Ballmer2nd CEO (2000~2014)Vision: Device & Service
MSFT 24th employeeForbes Richest 32nd (US$207B -2014)Mistakes? Windows Vista
Steve Ballmer said buying Nokia was one of the hardest decisions he made at Microsoft.
“We would have a stronger position in the phone market if we could redo the past ten years” About Satya Nadella
"What is the greatest joy I could see as the founder of a company? To see it flourish with me gone.”
Satya Nadella3rd CEO
Vision: Mobile first, cloud first.移動優先 雲端至上
“ 如果沒有雲,就談不上移動體驗”
決裂舊時代 !! 軟體商 >> 生產力和平台商
“ 沒有移動設備,就無法給這個世界和人們的生活帶來影響。”
* Size of an Azure region= 600,000 servers= a cluster of 16 datacenter = 32 jets
* Number of RegionsMSFT’s (17)= 2x Amazon’s (8+1)= 5x Google’s (3)
Scott Guthrie, Executive Vice President, Microsoft Cloud and Enterprise Group
Invest
Market Proven57% 世界 500 強公司使用 Azure
超過 300,000 活躍 Websites超過 30 萬億個 Storage每秒 300 萬 Requests
每周 130 億 Authentications超過 100 萬 SQL DBs
3 億 Azure Active Directory Users
MSFT StockGrows 50% in one year !!!
ISO/IEC 27001: 2005 稽核與認證
SOC 1 和 SOC 2 SSAE 16/ISAE 3402 證書
雲端安全聯盟的雲端控制矩陣
聯邦風險與授權管理計畫 (FedRAMP)
支付卡產業 (PCI) 資料安全標準 (DSS) 層級 1
英國 G-Cloud 影響層級 2 認證
More.. 家庭教育權和隱私權法案 (Family Educational Rights and Privacy Act , FERPA)
Compliance
9
IaaSPaaS
Gartner Magic Quadrant
Is Azure a good choice?Let’s discover all the great features…
11
人性化 GUI 管理後台管理所有 Azure 服務,統計報表,設定規模, Auto-Scaling….
http://WindowsAzure.com
Support Multiple languages
13
強大工具任君使用
儲存體 Big data/Machine Learning
快取 CDN
資料庫
身份識別
媒體服務 網路
流量
訊息
雲端服務網站服務
BizTalk
行動服務虛擬機器
Software-as-a-Service
consume
SaaSPlatform-as-a-Service
build
PaaSInfrastructure-as-a-Service
host
IaaS
Windows Microsoft Azure
XBOX
Office365
Outlook.com
IaaSWindows Ubuntu CentOS SUSE
VM DepotCommunity
Image
Load Balancer! SLA 99.95% Same price
with AWS
Virtual machines
ACTION !!!ACTION !!!
PaaSCloud services
Web sites
Mobile services
Media services
Cloud servicesBuild infinitely scalable apps and servicesSupport rich multi-tier architecturesAutomated application management
Cloud Service is a…• Management• Configuration• Security• Networking• Service Model
boundary
Cloud Services, Roles, and Instances
INS
TA
NC
ES
RO
LES
VM 1 VM 2 VM 3WEB ROLE
VM 4 VM 5 VM…WORKER ROLE
Cloud Services with Virtual MachinesMultiple Virtual Machines can be hosted within the same cloud service Cloud Service
VM 1 VM 2
VM 3 VM 4
ServicePackage
ServicePackage PaaS
Cloud Service Deployment
ServicePackage
Server Rack 1 Server Rack 2
Virtual machine
Virtual machine
Provision Role InstancesDeploy App CodeConfigure Network
Virtual machine
Virtual machine
Windows Azure Datacenter
ServicePackage
Provision Role InstancesDeploy App CodeConfigure Network
Windows Azure Datacenter
ServicePackage
Provision Role InstancesDeploy App CodeConfigure Network
Network Load Balancer
Windows Azure Datacenter
Network load-balancer configured for traffic
Provision Role InstancesDeploy App CodeConfigure Network
Network Load Balancer
Windows Azure Datacenter
A) 依據 CPU 當平均 CPU 用率超過 80% 就加開 instance, 低於 60 就關閉 1 台
B) 依據 Queue 當平均每台機器的 Queue Messages 超過 2000 個,就自動加開
27
Auto-Scaling slider!
(Instance should be with same size.)
Web sites Build with ASP.NET, Node.js or PHPDeploy in seconds with FTP, Git or TFSStart for free, scale up as your traffic grows
Microsoft Azure Web App Gallery
Ready-to-Go Open Source Web Applications, Frameworks, and Templates
Mobile ServicesEasily build cloud back-endsData, identity, push notifications, and scheduled scriptsWindows Store, Windows Phone, iOS, and Android
Mobile Services Overview
Push Notifications
Store Data in the Cloud
User Authentication
Windows Store iOSAndroid XamarinSencha
Windows PhoneiOSAndroidHTML 5/JS
SDKs
Node.js Express
.NET Web APIR
EST A
PI
Twitter Microsoft Google
Active Director
y
SQL Table Storage
Blob Storage
WNS & MPNS APNS GCM
Mongo DB
Notification Hubs
Source Control
Hybrid Connections
Media ServicesUpload, encode, encrypt, package, and deliver video content to multiple platforms and devices Dynamic PackagingVideo On DemandSecuring your mediaLive Streaming (coming soon)
Media Services Architecture
REST APIs
“Build-On” Media Partners and Customers
Azu
re C
DN
Media Services
Adaptive StreamingPorting Kits
Part
ner
CD
Ns
Origin
Caching
Secure Media Ingest
Media Job Scheduling
Encoding
ContentProtection
On-DemandOrigin
Live Origin
Analytics Identity Management
Live Ingest
Live Encoding
Client Libraries
Android
HTML 5
Advertising
Flash
XBOX
WindowsPhone
iOS
Released
Coming Soon
Partners
Partner Technologies (Media Processors, Origin Servers, Live Encoders etc.)
Static/Dynamic Packaging
Microsoft Azure (Fabric, Storage, Compute, Database)
Dynamic packagingAllows you to re-use your encoded content and bring it to various streaming formats without repackaging the content.
Video sources Multi-bitrates Mp4Origin Server
HLS
Smooth Streaming
Encode Package
Video sources Multi-bitrates Mp4
Origin Server
HLS
Smooth Streaming
Encode
DynamicPackaging
Traditional Encode and Package
Dynamic Packaging
Package
Input format: Mp4 or Smooth Streaming Output format: Smooth Streaming , Http-Live-Streaming (v4 and v3), MPEG-DASH
You need to have at least 1 reserved streaming unit to enable dynamic packaging!
DASH
Pre-encrypted PlayReady file:License Acquisition URLKey IDContent key
Storage Origin Server
PlayReady + Smooth Streaming
PlayReady server
Request license
Return license
Client SDK+
PlayReady SDK
Customers
Architecture: PlayReady DRM solution
Comprehensive Hadoop, ML & BI
Azure
On-premise
And still more you can imagine….
Part 2. 10 分鐘成為Microsoft Azure 計價達人
Azure 各項服務價格表http://azure.microsoft.com/zh-tw/pricing/overview/
完整費用
Windows Azure SQL Database
Service Bus
A) 使用了哪些服務? Azure services used
B) 資料傳輸 Data Transfer
DataCenter7. ingressOutside the
datacenter
1. Compute
2. Storage
3. StorageTransactio
ns
5. Brokered Messaging
6. Brokered Connection
s
8. egress
4. DB
LicensesOS LicenseSQL Server License
Hardware investmentServerDisksRacksSwitchesUPSNetwork cables Hardware maintenancePower consumption of hardwareServerDisk
RacksSwitches
Insurance of hardwareInsurance on server roomServer room
RentCoolingLightingCleaningSmoke detectors
Tapes for backupSalary for admin people
Install hardwareMaintain hardwareApply OS patchesBackup/Restore operations
Firewall/DMZ configurationClear log files
Taxes on SalariesTime spent on procurement cycle of hardware / Licenses...
雲端計價
1. Compute hours2. SQL Azure database3. Storage4. Data transfer out
雲端業者Cloud prcing
Not Complex but “different”!
funP 實驗室 Unit Price Amount (w/o tax) A1 Cloud Services - AP East 237.750034 2.49 592A1 VM (Non-Windows) - AP East 2961.05428 1.862 5513A1 VM (Non-Windows) - AP Southeast 2.433362 1.862 5A1 VM (Non-Windows) - EU West 38.677767 1.862 72A1 VM (Non-Windows) - US West 207.683406 1.862 387A1 VM (Windows) - AP East 273.286203 2.793 763A1 VM (Windows) - US West 219.617239 2.793 613A5 VM (Non-Windows) - AP East 64.50007 7.757 500A5 VM (Windows) - AP East 19.6667 10.24 201A7 VM (Windows) - AP East 66.616679 40.96 2729BASIC.A1 VM (Non-Windows) - AP East 202.149212 1.459 295BASIC.A1 VM (Non-Windows) - US West 0.200002 1.459 0Geo Redundant Storage Standard IO - Page Blob/Disk474.049404 2.948 1397Locally Redundant Storage Standard IO - Block Blob 0.042411 0.7447 0Mobile Services Free Units 0.419354 0 0SQL Azure Business 10 DU 0.368384 3,905.56 1439SQL Azure Database Web Edition 0.177419 309.97 55SQL Basic Database Days - PREVIEW 30 2.483 74SQL Server Standard 173.616719 17.07 2964SQL Standard S1 Database Days - PREVIEW 13 20.17 262SQL Standard S2 Database Days - PREVIEW 3 100.22 301Storage Transactions 1858.9836 $0.16 290Windows Azure Compute 100 Hrs Virtual Network 651.833333 1.56 1017Windows Azure Data Transfer Egress Zone 1 237.407476 3.73 886Windows Azure Data Transfer Egress Zone 2 12.055936 5.9 71Windows Azure Data Transfer Ingress APAC 44.183353 0 0Windows Azure Data Transfer Ingress NA/EMEA 16.288182 0 0Windows Azure Web Sites Free 0.999936 0 0
funP 實驗室 合計 7810.06046 20427
系統明細
使用量
Windows Azure ScenariosIdeal for Applications Needing:
ScalabilityAvailabilityFault Tolerance
Common Application Uses:
Web SitesCompute Intensive appsDevice ApplicationsWeb APIsSocial Games
Azure 立刻上手秘訣
Tool : WebPI & Powershell
Learn : Microsoft Virtual Academy
開發工具下載
Sample Code 學習資源
Group : Azure Taiwan User Group
Announcing Collaboration with Google and Docker to Support New Open Source Projects on Microsoft AzureBringing new open source container technologies to Microsoft Azure with Google and Docker
DOCKER