Professional Documents
Culture Documents
Accelerate: Azure Fast Start For Mobile Application Development
Accelerate: Azure Fast Start For Mobile Application Development
1
Conditions and Terms of Use
Microsoft Confidential
This training package is proprietary and confidential, and is intended only for uses described in the training materials. Content and software is provided to you under
a Non-Disclosure Agreement and cannot be distributed. Copying or disclosing all or any portion of the content and/or software included in such packages is strictly
prohibited.
The contents of this package are for informational and training purposes only and are provided "as is" without warranty of any kind, whether express or implied,
including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and non-infringement.
Training package content, including URLs and other Internet Web site references, is subject to change without notice. Because Microsoft must respond to changing
market conditions, the content should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any
information presented after the date of publication. Unless otherwise noted, the companies, organizations, products, domain names, e-mail addresses, logos, people,
places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place,
or event is intended or should be inferred.
Copyright and Trademarks
© 2015 Microsoft Corporation. All rights reserved.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as
expressly provided in written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks,
copyrights, or other intellectual property.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be
reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or
otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Use Case
• I want to access my data securely from anywhere
• Outsource static content
• Sync / Orchestrate processes in the cloud
Module Overview
Agenda
• Section 1: Storage Features
• Revocation:
o Use short time periods and re-issue
o Policy-based
• Use case
o Single use URLs
http://...blob.../pics/image.jpg?
sr=c&st=2009-02-09T08:20Z&se=2009-02-10T08:30Z&sp=w
&sig= dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN%2fRnbI%3d
• Use case
o Providing revocable permissions to certain users/groups
o To revoke: Delete or update container policy
• Queues
o Since queue messages can be of any format, the client library defines a custom format that includes
the Initialization Vector (IV) and the encrypted content encryption key (CEK) in the message text
Azure Files
Server Message Block
Blob Queues Tables (SMB) storage with
Simple named files Reliable storage and Structured storage.
drive mapping
along with metadata delivery of messages A table is a set of
capability. Based on
for the file for an application entities; an entity is a
blob storage (includes
set of properties
tech support)
PIC01.JPG
images Block/Page
PIC02.JPG
contoso
Block/Page
videos VID1.AVI
• Blob container
o A container holds a set of blobs
o Set access policies at the container level
o Associate metadata with container
o List the blobs in a container
o Including blob metadata and MD5 message digest algorithm
o No search/query, that is to say, no WHERE MetadataValue = ?
• Blobs throughput
o Effectively in partition of 1 partition key
o Target of 60 MB/s per blob
• Page blob
o Targeted at random read/write workloads
o Each blob consists of an array of pages
Each page is identified by its offset from the start of the blob
o Size limit of 1 TB per blob
o Optimistic or pessimistic (locking) concurrency via leases
• Append blob
o All writes to append blob and added sequentially to the end of the blob
o Ideal for logging scenarios
o Size limit 200 GB per blob
Insert
Update
Merge – Partial update
Entities Replace – Update entire entity
Upsert
Delete
Query
Entity Group Transactions
Multiple CUD Operations in a single atomic transaction
?$filter=Last eq ‘Wegner’
• Table Scalability
o Target throughput—500 tps/partition, several thousand tps/account
o Azure monitors the usage patterns of partitions
o Automatically load balance partitions
Each partition can be served by a different storage node
Scale to meet the traffic needs of your table
customer ID
order ID
http://…
adventureworks order processing
customer ID
order ID
http://…
P2 1 C1
1
1. GetMessage(Q, 30 s) msg 1
5. C1 crashed
Producers 4 33 2 1 Consumers
0 0 1 1
2
2
1 C2
P1
2. GetMessage(Q, 30 s) msg 2
3. C2 consumed msg 2
6. msg1 visible 30 s after Dequeue
4. DeleteMessage(Q, msg 2)
7. GetMessage(Q, 30 s) msg 1
o Enables on-premises applications to use a file share in Azure with encryption—must open port 445
(outbound)
o REST interface to access files access from anywhere
• Dev/Test/Debug
o Very useful to have a shared location for installing applications, setting up virtual machines, running
tools, and keeping notes while developing, testing, and debugging cloud services.
…
Load Balancer
Azure Azure
Virtual Virtual
Machine Machine
SMB 3.0
• Redeem token
o Create new storage account in the approved subscription
• Scalability Targets
o Same experience for users—irrespective of how far they are from the geo-location where the storage
account is hosted
Edge
Location
404
To enable CDN: Edge Edge
Location Location
1. Register for CDN via Dev Portal
2. Set container images to public
TTL Content
http://sally.blob.core.windows.net/ Delivery
http://guid01.vo.msecnd.net/ Network
pic1.jpg
pic1.jpg
pic1.jpg Windows
Azure
http://sally.blob.core.windows.net/images/pic1.jpg
Blob
Service