SlideShare a Scribd company logo
WINDOWS AZURE
BLOB STORAGE
DEEP DIVE




   Wely Lau (wely@ncs.com.sg)
   Microsoft MVP, Windows Azure
   Solutions Architect, NCS Pte Ltd
   Blog : http://wely-lau.net
AGENDA

 • Windows Azure Storage Overview (10 mins)

 • Blob Storage Basic (15 mins)
    •   Understanding container and blob
    •   Main web service operations
    •   Metadata
    •   Snapshot

 • Deep Dive (20 mins)
    • Block blob &page blob
    • Shared Access Signature
    • Content Delivery Network

 • Tip of the day (10 mins)

 • Q & A (5 mins)
WINDOWS AZURE STORAGE
      OVERVIEW
WINDOWS AZURE STORAGE

•   Storage in the Cloud
     •   Highly available with 99.9% monthly SLA
     •   Anywhere at anytime access
     •   Data Redundancy
           • Data is replicated for resilience and protection with 3 copies within the same data center.
           • Another 3 copies geo-replicated in another data center
     •   Cost effective
          • Storage capacity: $ 0.14 per GB per month
          • Storage transaction: $ 0.01 per 10,000 transaction

•   User specified globally unique account name
     •   Can choose geo-location to host storage account
           •   US – “North Central” and “South Central”
           •   Europe – “North” and “West”
           •   Asia – “East” and “Southeast”
     •   Can co-locate storage account with compute account
           •   Explicitly or using affinity groups


•   Some Facts
     •   70 Petabytes raw storage today
     •   Grows to >200 Petabytes by start of 2012
WINDOWS AZURE STORAGE ABSTRACTION
STORAGE EMULATOR
•   Provides a local “Mock” storage
•   Emulates storage in cloud
•   Allows offline development
•   Requires SQL Express 2005/2008 or above




    There are some differences between Cloud and Dev Storage.
               http://msdn.microsoft.com/dd320275
ACCESSING WINDOWS AZURE STORAGE
VIA API
• REST-based Web Service
   •   Platform independent                                Developers…
   •   Use when a library isn‟t available
   •   Lacks Intellisense
   •   Results in opaque code
                                                .NET    Java    PHP      etc...

• Storage Client Libraries                                REST-based API

   • .NET, Java, Python, Ruby, PHP, Perl, Jav          Windows Azure Storage
     aScript (Node), Objective-C, etc.
   • More at http://tinyurl.com/was-library
   • These provide an abstraction layer on
     top of the REST API and is the most
     common way to access storage.
ACCESSING WINDOWS AZURE STORAGE VIA
TOOLS
 •   Cloud Storage Studio by Cerebrata
 •   Azure Storage Explorer by Neudistic
 •   CloudXplorer by ClumsyLeaf
 •   CloudBerry Explorer by CloudBerry Lab
 •   More at http://tinyurl.com/was-explorers
demo
WINDOWS AZURE STORAGE
BLOB STORAGE BASIC
WINDOWS AZURE BLOB STORAGE
  • You can have as many containers and BLOBs as
    you want.
  • Containers can be created/destroyed on the fly
        http://<account>.blob.core.windows.net/<container>/<blobname>
        http://cohowinery.blob.core.windows.net/images/pic01.jpg

                     Account: MovieConversion
blobs          Container: Originals        Container: Completed

              - Job1.mpg                   - Job 9.mpg
              - Job2.mpg                   - Index.docx
              - Header.png                 - Job8.pdf
CONTAINERS

• Similar to a top level folder
• Special $root container
                    http://cohowinery.blob.core.windows.net/pic01.jpg
                 http://cohowinery.blob.core.windows.net/$root/pic01.jpg

• Has an unlimited capacity
• Can only contain BLOBs
• Associate Metadata with Container

Each container has an access level:
- Private
    -   Default, will require the account key to access
- Public read access for blobs only
    -   Blob data within this container can be read via anonymous request, but container data is
        not available
- Full public read
    -   Container and blob data can be read via anonymous request
BLOB

• Main Web Service Operations
   •   PutBlob
   •   GetBlob
   •   DeleteBlob
   •   CopyBlob
   •   SnapshotBlob
   •   LeaseBlob


• Associate Metadata with Blob
   • Metadata is <name, value> pairs, up to 8KB per blob


• Blob always accessed by name
   • Can include „/„ or other delimeter in name
   • e.g. /<container>/myblobs/blob.jpg
demo
BLOB STORAGE BASIC
BLOB STORAGE DEEP DIVE
TWO TYPES OF BLOBS UNDER THE HOOD
UPLOADING A BLOCK BLOB


• Uploading a large blob with
  Put Block List
PAGE BLOB – RANDOM READ/WRITE
demo
BLOCK BLOB / PAGE BLOB
SHARED ACCESS SIGNATURE

• Fine grain access rights to blobs and containers
• Sign URL with storage key – permit elevated
  rights
• Revocation
  • Use short time periods and re-issue
  • Use container level policy that can be deleted
• Two broad approaches
  • Ad-hoc
  • Policy based
AD HOC SIGNATURES

 • Create Short Dated Shared Access Signature
    • Signedresource Blob or Container
    • AccessPolicy Start, Expiry and Permissions
    • Signature HMAC-SHA256 of above fields


 • Use case
    • Single use URLs
    • E.g. Provide URL to Silverlight client to upload to container
POLICY BASED SIGNATURES

 • Create Container Level Policy
    • Specify StartTime, ExpiryTime, Permissions


 • Create Shared Access Signature URL
    • Signedresource Blob or Container
    • Signedidentifier Optional pointer to container policy
    • Signature HMAC-SHA256 of above fields


 • Use case
    • Providing revocable permissions to certain users/groups
    • To revoke: Delete or update container policy
demo
SHARED ACCESS SIGNATURE
CONTENT DELIVERY NETWORK

 • High-bandwidth global blob content delivery
   • 24 locations globally (US, Europe, Asia, Australia and South
     America), and growing
   • Same experience for users no matter how far they are from the
     geo-location where the storage account is hosted


 • Blob service URL vs. CDN URL:
   • Windows Azure Blob URL: http://images.blob.core.windows.net/

   • Windows Azure CDN URL: http://<id>.vo.msecnd.net/

   • Custom Domain Name for CDN: http://cdn.contoso.com/
CONTENT DELIVERY NETWORK




                          North Europe

       North Central US                  East Asia


                          West Europe

     South Central US
                                         South East Asia
CONTENT DELIVERY NETWORK




To Enable CDN:
• Register for CDN via
  Dev Portal
• Set container images
  to public
demo
  CONTENT DELIVERY NETWORK
                     URL                           Time     No CDN          AVG
http://welyncus.blob.core.windows.net/mseinstall   11:23   58 seconds
.exe                                                                     50 seconds
                                                   11:24   49 seconds
                                                   11:27   43 seconds
http://az145199.vo.msecnd.net/mseinstall.exe       11:28   40 seconds
                                                                         39 seconds
                                                   11:29   37 seconds
                                                   11:30   40 seconds
http://welydemostorage.blob.core.windows.net/      11:32   38 seconds
mseinstall.exe                                                          37.67 seconds
                                                   11:32   34 seconds
                                                   11:33   41 seconds
http://az28746.vo.msecnd.net/mseinstall.exe        11:35   36 seconds
                                                                         31 seconds
                                                   11:36   29 seconds
                                                   11:37   28 seconds
TIP OF THE DAY
LIVE PERFORMANCE COUNTER

 • Checkout: http://tinyurl.com/wely-live-perf

 • Hosting web content in Blob Storage




 • Query Blob Storage from the browser




                                                 Idea courtesy to
                                                      Steve Marx
THANK YOU!


Wely Lau (wely@ncs.com.sg)
Microsoft MVP, Windows Azure
Solutions Architect, NCS Pte Ltd
Blog : http://wely-lau.net

More Related Content

What's hot

AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...Simplilearn
 
Azure Storage Services - Part 01
Azure Storage Services - Part 01Azure Storage Services - Part 01
Azure Storage Services - Part 01Neeraj Kumar
 
ABCs of AWS: S3
ABCs of AWS: S3ABCs of AWS: S3
ABCs of AWS: S3Mark Cohen
 
Introduction to AWS Cost Management
Introduction to AWS Cost ManagementIntroduction to AWS Cost Management
Introduction to AWS Cost ManagementAmazon Web Services
 
Introduction to Amazon Elastic File System (EFS)
Introduction to Amazon Elastic File System (EFS)Introduction to Amazon Elastic File System (EFS)
Introduction to Amazon Elastic File System (EFS)Amazon Web Services
 
(STG401) Amazon S3 Deep Dive & Best Practices
(STG401) Amazon S3 Deep Dive & Best Practices(STG401) Amazon S3 Deep Dive & Best Practices
(STG401) Amazon S3 Deep Dive & Best PracticesAmazon Web Services
 
Introduction to Azure monitor
Introduction to Azure monitorIntroduction to Azure monitor
Introduction to Azure monitorPraveen Nair
 
Microsoft Azure Fundamentals
Microsoft Azure FundamentalsMicrosoft Azure Fundamentals
Microsoft Azure FundamentalsAdwait Ullal
 
AWS Storage - S3 Fundamentals
AWS Storage - S3 FundamentalsAWS Storage - S3 Fundamentals
AWS Storage - S3 FundamentalsPiyush Agrawal
 
AWS 101: Introduction to AWS
AWS 101: Introduction to AWSAWS 101: Introduction to AWS
AWS 101: Introduction to AWSIan Massingham
 
Introduction to Azure SQL DB
Introduction to Azure SQL DBIntroduction to Azure SQL DB
Introduction to Azure SQL DBChristopher Foot
 
Azure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - AjayAzure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - AjayAnoop Nair
 
Disaster Recovery Options with AWS
Disaster Recovery Options with AWSDisaster Recovery Options with AWS
Disaster Recovery Options with AWSAmazon Web Services
 
Introduction to Microsoft Azure
Introduction to Microsoft AzureIntroduction to Microsoft Azure
Introduction to Microsoft AzureGuy Barrette
 
Azure Security Overview
Azure Security OverviewAzure Security Overview
Azure Security OverviewAllen Brokken
 

What's hot (20)

AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
 
Azure Storage Services - Part 01
Azure Storage Services - Part 01Azure Storage Services - Part 01
Azure Storage Services - Part 01
 
AWS Cloud Watch
AWS Cloud WatchAWS Cloud Watch
AWS Cloud Watch
 
ABCs of AWS: S3
ABCs of AWS: S3ABCs of AWS: S3
ABCs of AWS: S3
 
Amazon S3 Masterclass
Amazon S3 MasterclassAmazon S3 Masterclass
Amazon S3 Masterclass
 
Introduction to AWS Cost Management
Introduction to AWS Cost ManagementIntroduction to AWS Cost Management
Introduction to AWS Cost Management
 
Introduction to Amazon Elastic File System (EFS)
Introduction to Amazon Elastic File System (EFS)Introduction to Amazon Elastic File System (EFS)
Introduction to Amazon Elastic File System (EFS)
 
(STG401) Amazon S3 Deep Dive & Best Practices
(STG401) Amazon S3 Deep Dive & Best Practices(STG401) Amazon S3 Deep Dive & Best Practices
(STG401) Amazon S3 Deep Dive & Best Practices
 
Introduction to Azure monitor
Introduction to Azure monitorIntroduction to Azure monitor
Introduction to Azure monitor
 
Microsoft Azure Fundamentals
Microsoft Azure FundamentalsMicrosoft Azure Fundamentals
Microsoft Azure Fundamentals
 
AWS Storage - S3 Fundamentals
AWS Storage - S3 FundamentalsAWS Storage - S3 Fundamentals
AWS Storage - S3 Fundamentals
 
AWS 101: Introduction to AWS
AWS 101: Introduction to AWSAWS 101: Introduction to AWS
AWS 101: Introduction to AWS
 
Introduction to Amazon S3
Introduction to Amazon S3Introduction to Amazon S3
Introduction to Amazon S3
 
Introduction to Azure SQL DB
Introduction to Azure SQL DBIntroduction to Azure SQL DB
Introduction to Azure SQL DB
 
Azure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - AjayAzure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - Ajay
 
Introduction to Amazon Aurora
Introduction to Amazon AuroraIntroduction to Amazon Aurora
Introduction to Amazon Aurora
 
Disaster Recovery Options with AWS
Disaster Recovery Options with AWSDisaster Recovery Options with AWS
Disaster Recovery Options with AWS
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Introduction to Microsoft Azure
Introduction to Microsoft AzureIntroduction to Microsoft Azure
Introduction to Microsoft Azure
 
Azure Security Overview
Azure Security OverviewAzure Security Overview
Azure Security Overview
 

Viewers also liked

Azure Storage Performance
Azure Storage PerformanceAzure Storage Performance
Azure Storage PerformanceAnton Boyko
 
Cloud Storage in Azure, AWS and Google Cloud
Cloud  Storage in Azure, AWS and Google CloudCloud  Storage in Azure, AWS and Google Cloud
Cloud Storage in Azure, AWS and Google CloudThurupathan Vijayakumar
 
Windows Azure Storage: Overview, Internals, and Best Practices
Windows Azure Storage: Overview, Internals, and Best PracticesWindows Azure Storage: Overview, Internals, and Best Practices
Windows Azure Storage: Overview, Internals, and Best PracticesAnton Vidishchev
 
Amazon's Simple Storage Service (S3)
Amazon's Simple Storage Service (S3)Amazon's Simple Storage Service (S3)
Amazon's Simple Storage Service (S3)James Gray
 
Getting started with microsoft azure in 30 mins
Getting started with microsoft azure in 30 minsGetting started with microsoft azure in 30 mins
Getting started with microsoft azure in 30 minsIlyas F ☁☁☁
 

Viewers also liked (6)

Azure Storage Performance
Azure Storage PerformanceAzure Storage Performance
Azure Storage Performance
 
Cloud Storage in Azure, AWS and Google Cloud
Cloud  Storage in Azure, AWS and Google CloudCloud  Storage in Azure, AWS and Google Cloud
Cloud Storage in Azure, AWS and Google Cloud
 
Windows Azure Storage: Overview, Internals, and Best Practices
Windows Azure Storage: Overview, Internals, and Best PracticesWindows Azure Storage: Overview, Internals, and Best Practices
Windows Azure Storage: Overview, Internals, and Best Practices
 
Amazon S3 Overview
Amazon S3 OverviewAmazon S3 Overview
Amazon S3 Overview
 
Amazon's Simple Storage Service (S3)
Amazon's Simple Storage Service (S3)Amazon's Simple Storage Service (S3)
Amazon's Simple Storage Service (S3)
 
Getting started with microsoft azure in 30 mins
Getting started with microsoft azure in 30 minsGetting started with microsoft azure in 30 mins
Getting started with microsoft azure in 30 mins
 

Similar to Windows Azure Blob Storage

Cloud and Windows Azure
Cloud and Windows AzureCloud and Windows Azure
Cloud and Windows AzureRadu Vunvulea
 
Preparing your dockerised application for production deployment
Preparing your dockerised application for production deploymentPreparing your dockerised application for production deployment
Preparing your dockerised application for production deploymentDave Ward
 
vBrownBag - Scripting and Versioning with PowerShell ISE and Git Shell
vBrownBag - Scripting and Versioning with PowerShell ISE and Git ShellvBrownBag - Scripting and Versioning with PowerShell ISE and Git Shell
vBrownBag - Scripting and Versioning with PowerShell ISE and Git ShellChris Wahl
 
Do you lose sleep at night?
Do you lose sleep at night?Do you lose sleep at night?
Do you lose sleep at night?Nathan Van Gheem
 
Reactive summit 2020 microsoft orleans the easy way
Reactive summit 2020   microsoft orleans the easy wayReactive summit 2020   microsoft orleans the easy way
Reactive summit 2020 microsoft orleans the easy wayJohn Azariah
 
Windows Azure platform
Windows Azure platformWindows Azure platform
Windows Azure platformGetDev.NET
 
More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less CashMichael Collier
 
Ruby and Distributed Storage Systems
Ruby and Distributed Storage SystemsRuby and Distributed Storage Systems
Ruby and Distributed Storage SystemsSATOSHI TAGOMORI
 
Dev Ops Geek Fest: Automating the ForgeRock Platform
Dev Ops Geek Fest: Automating the ForgeRock PlatformDev Ops Geek Fest: Automating the ForgeRock Platform
Dev Ops Geek Fest: Automating the ForgeRock PlatformForgeRock
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceAndrew Ferrier
 
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...E. Camden Fisher
 
ABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat InternalsABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat InternalsBenjamin Zores
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackBobby Curtis
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)Michael Collier
 
Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Derek Jacoby
 
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleOvercoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleRightScale
 
Lions, Tigers and Deers: What building zoos can teach us about securing micro...
Lions, Tigers and Deers: What building zoos can teach us about securing micro...Lions, Tigers and Deers: What building zoos can teach us about securing micro...
Lions, Tigers and Deers: What building zoos can teach us about securing micro...Sysdig
 
Docker and Microservice
Docker and MicroserviceDocker and Microservice
Docker and MicroserviceSamuel Chow
 

Similar to Windows Azure Blob Storage (20)

Power of Azure Devops
Power of Azure DevopsPower of Azure Devops
Power of Azure Devops
 
Cloud and Windows Azure
Cloud and Windows AzureCloud and Windows Azure
Cloud and Windows Azure
 
Preparing your dockerised application for production deployment
Preparing your dockerised application for production deploymentPreparing your dockerised application for production deployment
Preparing your dockerised application for production deployment
 
vBrownBag - Scripting and Versioning with PowerShell ISE and Git Shell
vBrownBag - Scripting and Versioning with PowerShell ISE and Git ShellvBrownBag - Scripting and Versioning with PowerShell ISE and Git Shell
vBrownBag - Scripting and Versioning with PowerShell ISE and Git Shell
 
Do you lose sleep at night?
Do you lose sleep at night?Do you lose sleep at night?
Do you lose sleep at night?
 
Reactive summit 2020 microsoft orleans the easy way
Reactive summit 2020   microsoft orleans the easy wayReactive summit 2020   microsoft orleans the easy way
Reactive summit 2020 microsoft orleans the easy way
 
Windows Azure platform
Windows Azure platformWindows Azure platform
Windows Azure platform
 
More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less Cash
 
Ruby and Distributed Storage Systems
Ruby and Distributed Storage SystemsRuby and Distributed Storage Systems
Ruby and Distributed Storage Systems
 
Dev Ops Geek Fest: Automating the ForgeRock Platform
Dev Ops Geek Fest: Automating the ForgeRock PlatformDev Ops Geek Fest: Automating the ForgeRock Platform
Dev Ops Geek Fest: Automating the ForgeRock Platform
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container Service
 
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...
 
ABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat InternalsABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat Internals
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attack
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)
 
Containers 101
Containers 101Containers 101
Containers 101
 
Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Untangling - fall2017 - week 9
Untangling - fall2017 - week 9
 
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleOvercoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
 
Lions, Tigers and Deers: What building zoos can teach us about securing micro...
Lions, Tigers and Deers: What building zoos can teach us about securing micro...Lions, Tigers and Deers: What building zoos can teach us about securing micro...
Lions, Tigers and Deers: What building zoos can teach us about securing micro...
 
Docker and Microservice
Docker and MicroserviceDocker and Microservice
Docker and Microservice
 

Recently uploaded

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...Sri Ambati
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀DianaGray10
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 

Recently uploaded (20)

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 

Windows Azure Blob Storage

  • 1. WINDOWS AZURE BLOB STORAGE DEEP DIVE Wely Lau (wely@ncs.com.sg) Microsoft MVP, Windows Azure Solutions Architect, NCS Pte Ltd Blog : http://wely-lau.net
  • 2. AGENDA • Windows Azure Storage Overview (10 mins) • Blob Storage Basic (15 mins) • Understanding container and blob • Main web service operations • Metadata • Snapshot • Deep Dive (20 mins) • Block blob &page blob • Shared Access Signature • Content Delivery Network • Tip of the day (10 mins) • Q & A (5 mins)
  • 4. WINDOWS AZURE STORAGE • Storage in the Cloud • Highly available with 99.9% monthly SLA • Anywhere at anytime access • Data Redundancy • Data is replicated for resilience and protection with 3 copies within the same data center. • Another 3 copies geo-replicated in another data center • Cost effective • Storage capacity: $ 0.14 per GB per month • Storage transaction: $ 0.01 per 10,000 transaction • User specified globally unique account name • Can choose geo-location to host storage account • US – “North Central” and “South Central” • Europe – “North” and “West” • Asia – “East” and “Southeast” • Can co-locate storage account with compute account • Explicitly or using affinity groups • Some Facts • 70 Petabytes raw storage today • Grows to >200 Petabytes by start of 2012
  • 5. WINDOWS AZURE STORAGE ABSTRACTION
  • 6. STORAGE EMULATOR • Provides a local “Mock” storage • Emulates storage in cloud • Allows offline development • Requires SQL Express 2005/2008 or above There are some differences between Cloud and Dev Storage. http://msdn.microsoft.com/dd320275
  • 7. ACCESSING WINDOWS AZURE STORAGE VIA API • REST-based Web Service • Platform independent Developers… • Use when a library isn‟t available • Lacks Intellisense • Results in opaque code .NET Java PHP etc... • Storage Client Libraries REST-based API • .NET, Java, Python, Ruby, PHP, Perl, Jav Windows Azure Storage aScript (Node), Objective-C, etc. • More at http://tinyurl.com/was-library • These provide an abstraction layer on top of the REST API and is the most common way to access storage.
  • 8. ACCESSING WINDOWS AZURE STORAGE VIA TOOLS • Cloud Storage Studio by Cerebrata • Azure Storage Explorer by Neudistic • CloudXplorer by ClumsyLeaf • CloudBerry Explorer by CloudBerry Lab • More at http://tinyurl.com/was-explorers
  • 11. WINDOWS AZURE BLOB STORAGE • You can have as many containers and BLOBs as you want. • Containers can be created/destroyed on the fly http://<account>.blob.core.windows.net/<container>/<blobname> http://cohowinery.blob.core.windows.net/images/pic01.jpg Account: MovieConversion blobs Container: Originals Container: Completed - Job1.mpg - Job 9.mpg - Job2.mpg - Index.docx - Header.png - Job8.pdf
  • 12. CONTAINERS • Similar to a top level folder • Special $root container http://cohowinery.blob.core.windows.net/pic01.jpg http://cohowinery.blob.core.windows.net/$root/pic01.jpg • Has an unlimited capacity • Can only contain BLOBs • Associate Metadata with Container Each container has an access level: - Private - Default, will require the account key to access - Public read access for blobs only - Blob data within this container can be read via anonymous request, but container data is not available - Full public read - Container and blob data can be read via anonymous request
  • 13. BLOB • Main Web Service Operations • PutBlob • GetBlob • DeleteBlob • CopyBlob • SnapshotBlob • LeaseBlob • Associate Metadata with Blob • Metadata is <name, value> pairs, up to 8KB per blob • Blob always accessed by name • Can include „/„ or other delimeter in name • e.g. /<container>/myblobs/blob.jpg
  • 16. TWO TYPES OF BLOBS UNDER THE HOOD
  • 17. UPLOADING A BLOCK BLOB • Uploading a large blob with Put Block List
  • 18. PAGE BLOB – RANDOM READ/WRITE
  • 19. demo BLOCK BLOB / PAGE BLOB
  • 20. SHARED ACCESS SIGNATURE • Fine grain access rights to blobs and containers • Sign URL with storage key – permit elevated rights • Revocation • Use short time periods and re-issue • Use container level policy that can be deleted • Two broad approaches • Ad-hoc • Policy based
  • 21. AD HOC SIGNATURES • Create Short Dated Shared Access Signature • Signedresource Blob or Container • AccessPolicy Start, Expiry and Permissions • Signature HMAC-SHA256 of above fields • Use case • Single use URLs • E.g. Provide URL to Silverlight client to upload to container
  • 22. POLICY BASED SIGNATURES • Create Container Level Policy • Specify StartTime, ExpiryTime, Permissions • Create Shared Access Signature URL • Signedresource Blob or Container • Signedidentifier Optional pointer to container policy • Signature HMAC-SHA256 of above fields • Use case • Providing revocable permissions to certain users/groups • To revoke: Delete or update container policy
  • 24. CONTENT DELIVERY NETWORK • High-bandwidth global blob content delivery • 24 locations globally (US, Europe, Asia, Australia and South America), and growing • Same experience for users no matter how far they are from the geo-location where the storage account is hosted • Blob service URL vs. CDN URL: • Windows Azure Blob URL: http://images.blob.core.windows.net/ • Windows Azure CDN URL: http://<id>.vo.msecnd.net/ • Custom Domain Name for CDN: http://cdn.contoso.com/
  • 25. CONTENT DELIVERY NETWORK North Europe North Central US East Asia West Europe South Central US South East Asia
  • 26. CONTENT DELIVERY NETWORK To Enable CDN: • Register for CDN via Dev Portal • Set container images to public
  • 27. demo CONTENT DELIVERY NETWORK URL Time No CDN AVG http://welyncus.blob.core.windows.net/mseinstall 11:23 58 seconds .exe 50 seconds 11:24 49 seconds 11:27 43 seconds http://az145199.vo.msecnd.net/mseinstall.exe 11:28 40 seconds 39 seconds 11:29 37 seconds 11:30 40 seconds http://welydemostorage.blob.core.windows.net/ 11:32 38 seconds mseinstall.exe 37.67 seconds 11:32 34 seconds 11:33 41 seconds http://az28746.vo.msecnd.net/mseinstall.exe 11:35 36 seconds 31 seconds 11:36 29 seconds 11:37 28 seconds
  • 28. TIP OF THE DAY
  • 29. LIVE PERFORMANCE COUNTER • Checkout: http://tinyurl.com/wely-live-perf • Hosting web content in Blob Storage • Query Blob Storage from the browser Idea courtesy to Steve Marx
  • 30. THANK YOU! Wely Lau (wely@ncs.com.sg) Microsoft MVP, Windows Azure Solutions Architect, NCS Pte Ltd Blog : http://wely-lau.net

Editor's Notes

  1. This session discusses your data and the Windows Azure platform.
  2. Slide ObjectiveUnderstand the Development Storage ServiceSpeaking notesClient side simulator of storage in the cloud. Allows completely disconnected (e.g. while travelling on a plane) development of Windows Azure appsCan consume just like Cloud storage- from Development Fabric, from another application running locallyIs locked down so that it cannot be called from off the boxIf you need this capability run a reverse proxy on the dev machineCan use CSRun to start and stop serviceMore on this in Day 3Uses a single fixed account. The account name and key are always the sameAnyone memorized the Account key yet? Eby8vd…..Noteshttp://msdn.microsoft.com/en-us/library/dd179339.aspxThe Windows® Azure™ SDK development environment includes development storage, a utility that simulates the Blob, Queue, and Table services available in the cloud. If you are building a hosted service that employs storage services or writing any external application that calls storage services, you can test locally against development storage.The development storage utility provides a user interface to view the status of the local storage services and to start, stop, and reset them.This topic contains the following subtopics: