Windows Azure Learning Note (1)

Package Software

            unit:Disk

Infrustruction As Service

            unit:box=>Amazon EC2

Platfrom As Service

            unit:Application=> Windows Azure

Software As Service

            unit:Business=>Gmail

http://channel9.msdn.com/posts/Windows-Azure-Jump-Start-01-Windows-Azure-Overview        

Session 01: Windows Azure Overview

Session 02: Introduction to Compute

Session 03: Windows Azure Lifecycle, Part 1

Session 04: Windows Azure Lifecycle, Part 2

Session 05: Windows Azure Storage, Part 1

Session 06: Windows Azure Storage, Part 2

Session 07: Introduction to SQL Azure

Session 08: Windows Azure Diagnostics

Session 09: Windows Azure Security, Part 1

Session 10: Windows Azure Security, Part 2

Session 11: Scalability, Caching & Elasticity, Part 1

Session 12: Scalability, Caching & Elasticity, Part 2,and Q&A

 

Windows Azure Lifecycle     

Design

            -it isright tool for right purpose?

                        -scalability, reliability, availability

            -Design for SCALE

                        -the cloud is about scaling out

                        -design for multiple instance

            -HybridMode

                        -Which part is going to cloud

                        -Which part is remain on premise

            -Define Roles

                        -WorkerRole

                        -WebRole

                        -VMRole

            -Communicationand protocols

                        -WCF

            -Choosestorage technology

            -Consideration

                        -Diagnostic& Management

                        -Design for price

                        -Design for Scale

                        -Migration

                                    -Nonsupport technology

                                    -Storagearchitecture

                                                -Statemanagement

                                                -Caching

                                    -Performance

                                    -Connectivity

                                    -Testing

                                    -Regulations

Development

            -VisualStudio

Deployment

            -Staging

                        -Flow

                                    -Buildapp on premise

                                    -Deploy Storage to Cloud & Test

                                    -Deploy Compute to Cloud & Test

                        -DeploymentApproach

                                    -Package& Deploy

                                                -config=> Fabric

                                                -app=> Cloud

                                    -Publish

            -Production

Testing

            -Emulator vs real Cloud different

            -Type of testing

                        -SystemIntegration Testing

                        -UserAcceptance Testing

                                    -functionality

                        -Stress test

                        -Recovery test

                        -Security test

Managemnt

            -Portal

            -Automaticallyvis API Rest Based

                        -Tools

                                    -CSPack.exe

                                                -Packageapp

                                    -CSRun.exe

                                                -Takepackage deploy and run

                                    -CSManage.exe

                                                -Allmanagement task

                                                            -e.g

                                                                        -suspendservice

                                                                        -deleteservice

                                                                        -newdeployment

                                                                        -rundeployment

                                    -Powershellcmdlets

                                                -azurecmdlets

            -Upgrade

                        -Web Deploy vis IIS

                                    -WebProject

            -Fault& Upgrade domain

                        -Faultdomain

                                    -Whenyour app down. Fabric controler : if have more than one instance

                        -Upgradedomain

                                    -Whenyou upgrading. upgrade by upgrade domain

            -VIP swap

                        -extenalIP and virtual IP

                       

Windows Azure Storage

 

No-relational Windows Azure Storage

            -Don't forcedata integrity

Relational Storage - SQL Azure Storage

 

Affinity group

            Compute

            Storage

Storage Security

Windows Azure Abstractions

            -Blobs

                        -Account/Container/Blob/Pagesor Blocks

                                    -Block

                                                -Streaming

                                                -Optimistic Concurrency via ETags

                                    -Pages

                                                -RandomAccess

                                                -Optimisticor Pessimistic (locking) concurrency via leases

                                    -Shared access signature

                                    -CDN(Content Delivery Network)

                        -Files and large object

            -Drive

                        -NTFSVirtual Hard Disk

                        -ExistingApplication

            -Tables:entity, property

                        -PatitionKey

                                    -same partition same server

                        -Entity Group Transaction

                        -Massively scalable structured storage

            -Queue:FIFO,Communication channel, distribution mechanise

                        -Loosely Coupled Workflow

                        -Reliable Delivery

                        -Order not guarantee

                        -Poison Message

                        -Item puter operation

                                    -Addaccount $500 ->NO

                                    -Setaccount to $500 ->YES

                        -Reliabledelivery of message           

Azure: Operation System for the cloud

OS -provides computing power => role

   -information handling => storage

   -information management => diagnostic


SQL Azure

            -ApplicationTopologies

                        -CodeNear

                        -CodeFar

                        -Hybrid

            -Architecture:scalable, reliable, available

            -DatabaseReplics

                        -*3(disaster policy)

                        -Workingwith primary one

                        -Sharding,SQL Azure Federation

            -Connect toSQL Azure via TDS (Tabular Data Stream) service

            -Logic vsPhysical Administration

                        -Logical=> SQL Azure Focus on Logical Administration

                                    -Schemacreation

                                    -Queryoptimization

                                    -Securitymanagement (login, user, role)

                        -Physical

                                    -LoadBalance

                                    -Failover

                                    -Automaticallyprovide HA

            -Affinity group

            -Sync

                        -viaMSF - microsoft sychonazation framework

                        -Onpremise <-> Azure

                        -Azure<-> Azure in different/same data center

            -Script from onpremise to SQL Azure need to  convert


Diagnostic(using System.Diagnostic)

            -Performance

            -ResourceUsage

            -Troubleshootingand debugging

            -Problemdetection

            -Quality ofService Metrics

            -CapacityPlanning

            -Trafficanalysis

            -Billing

            -Auditing

           

How diagnostic work

            -Role Instance start

            -Diagnostic Monitor start

            -Monitor configured

            -Monitor buffer data locally

            -User interface to storage

                        -schedular

                        -ondemand

                       

How to implement

            -Deploy Diagnostic Manager class

            -Role Instance Diagnostic Manger class

            -Diagnostic Monitor class

Reconfig

            -Remoteconfiguration

           

Security (protect any attack)

            -Layer of security

                        -Human security

                        -Application security

                                    -Exception

                                    -Auditand logging

                                    -Authenticationand authorization

                                                -Identity- who you are, collection of attribute of entity

                                                            -Rolebase

                                                                        -Membership

                                                                        -Identityonly has name, if need more information, need to go to identity provider likeActive Directory

                                                            -Claimbase

                                                                        -Token,colletion of claims, the full set of information is a token, authorization is base on  if a claim allowyou to do then you can do this

                                                                        -SecurityToken Service issue token, I trust service. service trust me, it is the real one. I will take this token, trust these information and use it

                                                                        -Identity provider tell security token service what to put into token

                                                                        -Windows Identity Framework

                                                                                    -Build new or reference existing STS

                                                                                    -Easy to implement claim base Identity

                                                                                                -just need to Add STS reference

                        -Network security (microsoft better)

                        -OS\DB security(microsoft better)

                        -physical security(microsoft better

            -Windows azure AppFabric: Access Control Service

                        -similar infrustructure : OpenID

            -Shared Access Sinature

                        -Table& Queue need to access via storage account

                        -Blobcan be access from Web Browser

                                    -SAS

 

Scalability, Caching & Elasticity

            -Scalability

                        -Do more work at the same amount of time, more thoughtput

                        -Vertical Scale Up - simple to implement

                                    -biggerbox, more cpu, more resource

                        -Horizonal Scale Out

                                    -more boxes

                        -Scalability!=Performance

                                    e.g:Session in process vs. in sql server

                        -How to improve?

                                    -lessshare resource

                                    -lesstransaction

                                    -lesssession

            -Caching

                        -Improve performance and scalablility

                        -Scenarios

                                    -RSSFeed

                                    -Readoften data

                        -Type

                                    -ClinetCaching - ETags

                                                -beneifts

                                                            -preventsclient downloading un-necesary data

                                                -problems

                                                            -stillreuqire to round trip to server

                                    -CDN,Blob Storage

            -Elastic

                        -Add/RemoveCapacity

                        -viaconfig

                        -viaAPI

                        -Monitormetric

                                    -Primary metric(actual work done)

                                                -request per sec

                                                -queue messages process/ interval

                                    -Secondary metric

                                                -CPUutilization

                                                -Queue Length

                                                -Response time

                                    -Derivative metrics

                                                -reateof change of queue length

                                   

                       

                       

                                   

 

                        


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章