SlideShare a Scribd company logo
1 of 20
Cloud Storage
 (Azure Blob and Amazon S3)

Udaiappa Ramachandran (Udai)
Chief Software Architect @ Ektron, Inc.,
New Hampshire – Nashua Cloud/.NET User Group Organizer
LinkedIn: http://www.linkedin.com/in/udair
Blog: http://cloudycode.wordpress.com
Cloud Storages - Agenda

• Overview of Cloud Storage
• Azure Blob Storage
• Amazon S3
• Comparing Azure Blob and Amazon S3
• Benchmark comparisons for performance, stability, and
  scalability
• Best Practice
• Resource
• QA
Overview of Cloud Storage
• Evaluation
   • Network Storage
   • Hosted Storage
   • Cloud Based Storage
• Benefits
   • Highly Available with Strong Consistency
       • Provides access to data in face of failures/partitioning
   • Durability
       • Replicate data several times within and across data centers
   • Scalability
       • Need to scale to Exabyte’s and beyond
       • Provide a global namespace to access data around the world
       • Automatically load balance data to meet peak traffic demands
   • Easy setups and low cost
   • Pay as you go
   • API Accessible, Emulator, Web Portal
Azure Blob Storage
Azure Blob Storage Abstractions
• Blobs
   • File with a metadata
   • Blob Types
          • Block Blob
               •   Targeted for streaming workloads
               •   Each blob consists of a sequence of blocks, Each block is identified by a Block ID targeted for streaming workloads
               •   Size limit 200GB per blob
               •   Optimistic concurrency via ETags
          • Page Blob
               •   Targeted for random read/write workloads
               •   Each blob consists of an array of pages. Each page is identified by its offset from the start of the blob
               •   Size limit 1TB per blob
               •   Optimistic or Pessimistic (locking) concurrency via leases
• Drives
   • Durable NTFS volumes for Windows Azure applications to use
   • Based on Blobs
   • Drive access across multiple instance(s) possible thru SMB
Azure Blob Storage Details
• Storage End Point
     • http://<account>.blob.core.windows.net/<container>/<blobname>
     • [Account][Container][Blobs][Pages/Blocks]
• Mock Storage Emulator
• Can CDN Enable Account
     • Blobs delivered via 24 global CDN nodes
• Can co-locate storage account with compute account
     • Explicitly or using affinity groups
•   Accounts have two independent 512 bit shared secret keys
•   100 TBs per account
•   Geo-Replication
•   Storage Analytics
     • Logs: Provide trace of executed requests for your storage accounts
     • Metrics: Provide summary of key capacity and request statistics for Blobs, Tables, and Queues
• HTTP headers for Blobs
• RESTful and Client API support
Azure Blob Storage Details Continued…
• Associate Metadata With blob
   • Standard HTTP metadata/headers
     (Cache-Control, Content-Encoding, Content-Type, etc)
   • Metadata is <name, value> pairs, up to 8KB per blob
   • Either as part of PutBlob or independently
• Blob always accessed by name
   • Can include ‘/‘ or other delimiters in name
     e.g. /<container>/myblobs/blob.jpg
• Basic Blob Operations
   •   GetBlob
   •   DeleteBlob
   •   CopyBlob
   •   SnapshotBlob
   •   LeaseBlob
   •   ListBLobs
Azure Blob Storage -Drives
• Durable NTFS volume for Windows Azure Instances
   • Use existing NTFS APIs to access a network attached durable drive
   • Use System.IO from .NET
• Benefits
   • Move existing apps using NTFS more easily to the cloud
   • Durability and survival of data on instance recycle
• A Windows Azure Drive is an NTFS VHD Page Blob
   • Mounts Page Blob over the network as an NTFS drive
   • Local cache on instance for read operations
   • All flushed and un buffered writes to drive are made durable to the Page Blob
• A Windows Azure Drive is a Page Blob formatted
  as a NTFS single volume Virtual Hard Drive (VHD)
   • Drives can be up to 1TB
Azure Blob Storage -Drives Continued…
 • A Page Blob can be mounted:
    • On one instance at a time for read/write
    • Using read-only snapshots to multiple instances at once
 • An instance can dynamically mount up
   to 16 drives
 • Remote Access via standard Blob UI
    • Can’t remotely mount drive
    • Can upload the VHD to a Page Blob using the blob interface, and then mount it as a
      Drive
    • Can download the VHD to a local file and mount locally
 • Operations performed via Drive API not REST Calls
 • Operations on Drives
    •   Create Drive
    •   Mount / UnMount Drive
    •   Get Mounted Drives
    •   Snapshot Drive
Amazon S3
Simple Storage Service (S3)
• Storage Endpoints
      • Virtual Hosted Style: http[s]://<bucketname>.s3-website-[us-east-1].amazonaws.com/object
      • Path-Style: http[s]://s3.amazonaws.com/<bucketname>/object
• Associate Metadata With blob
      • Standard HTTP metadata/headers
        (Cache-Control, Content-Encoding, Content-Type, etc)
      • Metadata is <name, value> pairs, up to 8KB per blob
      • Either as part of PutBlob or independently
• Blob always accessed by key
      • Can include ‘/‘ or other delimeter in name but folder must end with ‘/’
        e.g. /<bucketname>/myblobs/blob.jpg
•   1-5 TB per blob
•   Unlimited Size per accounts
•   RESTful/API support
•   Storage Analytics
•   Ability to host static template from blob
•   Bittorrent protocol support
S3- Basic Blob Operations
• Put
• Get
• Delete
• Copy
• List
Comparing Azure Blob and Amazon S3

Please note that next 3 slides may not be converted by slideshare.
Click Save link to download the original presentation.
Comparing Azure Blob, Amazon S3
Comparing Azure Blob, Amazon S3
Benchmark comparisons for
performance, stability, and scalability
Best Practices

• Avoid lock-in to specific provider
• Choose the location closest to your customer
• Use only lower cases for container/key name
• Always remove public access from container/bucket. Instead
  grant public access to keys if required.
• Avoid unnecessary request (such a call to check if blob exists
  instead use the response)
• Use compression for large file if possible
• Enable CDN
Resource
• http://microsoft.com/azure
• http://blogs.msdn.com/b/windowsazurestorage/archive/2010/1
  2/30/windows-azure-storage-architecture-overview.aspx
• http://aws.amazon.com/articles
Q&A
Thank you for attending Boston
Code Camp.

More Related Content

Viewers also liked

ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)
ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)
ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)ZFConf Conference
 
84780 recurso inconstitucionalidade contra reais decretos
84780 recurso inconstitucionalidade contra reais decretos84780 recurso inconstitucionalidade contra reais decretos
84780 recurso inconstitucionalidade contra reais decretososcargaliza
 
Balanced Scorecard and Strategy Execution
Balanced Scorecard and Strategy ExecutionBalanced Scorecard and Strategy Execution
Balanced Scorecard and Strategy ExecutionShaji Bhaskaran
 
Aang Apandi
Aang ApandiAang Apandi
Aang ApandiAANG88
 
Sacchetti Di Plastica
Sacchetti Di PlasticaSacchetti Di Plastica
Sacchetti Di Plasticatilapia69
 
ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...
ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...
ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...ZFConf Conference
 
akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...
akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...
akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...apple1012
 
Global trends in Open Educational Resources
Global trends in Open Educational ResourcesGlobal trends in Open Educational Resources
Global trends in Open Educational Resourcesnazzzy
 
Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...
Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...
Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...Kalle
 
Ecobuild Londres
Ecobuild LondresEcobuild Londres
Ecobuild LondresEva Cajigas
 

Viewers also liked (18)

ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)
ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)
ZFConf 2012: Dependency Management в PHP и Zend Framework 2 (Кирилл Чебунин)
 
84780 recurso inconstitucionalidade contra reais decretos
84780 recurso inconstitucionalidade contra reais decretos84780 recurso inconstitucionalidade contra reais decretos
84780 recurso inconstitucionalidade contra reais decretos
 
Age
AgeAge
Age
 
Tablas dia
Tablas diaTablas dia
Tablas dia
 
Balanced Scorecard and Strategy Execution
Balanced Scorecard and Strategy ExecutionBalanced Scorecard and Strategy Execution
Balanced Scorecard and Strategy Execution
 
Peñaranda
PeñarandaPeñaranda
Peñaranda
 
Aang Apandi
Aang ApandiAang Apandi
Aang Apandi
 
Sacchetti Di Plastica
Sacchetti Di PlasticaSacchetti Di Plastica
Sacchetti Di Plastica
 
ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...
ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...
ZFConf 2011: Разделение труда: Организация многозадачной, распределенной сист...
 
akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...
akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...
akku laptops DE, Laptop akku DE, Notebook akku and laptop adapter, Billige el...
 
Taak Yannick
Taak YannickTaak Yannick
Taak Yannick
 
Social Media Werven
Social  Media  WervenSocial  Media  Werven
Social Media Werven
 
Gambling
GamblingGambling
Gambling
 
Global trends in Open Educational Resources
Global trends in Open Educational ResourcesGlobal trends in Open Educational Resources
Global trends in Open Educational Resources
 
Pr1
Pr1Pr1
Pr1
 
Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...
Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...
Mc Lendon Using Eye Tracking To Investigate Important Cues For Representative...
 
Ecobuild Londres
Ecobuild LondresEcobuild Londres
Ecobuild Londres
 
Dia abril
Dia abrilDia abril
Dia abril
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Boston Code Camp - Cloud Storage (Azure Blob and Amazon S3)

  • 1. Cloud Storage (Azure Blob and Amazon S3) Udaiappa Ramachandran (Udai) Chief Software Architect @ Ektron, Inc., New Hampshire – Nashua Cloud/.NET User Group Organizer LinkedIn: http://www.linkedin.com/in/udair Blog: http://cloudycode.wordpress.com
  • 2. Cloud Storages - Agenda • Overview of Cloud Storage • Azure Blob Storage • Amazon S3 • Comparing Azure Blob and Amazon S3 • Benchmark comparisons for performance, stability, and scalability • Best Practice • Resource • QA
  • 3. Overview of Cloud Storage • Evaluation • Network Storage • Hosted Storage • Cloud Based Storage • Benefits • Highly Available with Strong Consistency • Provides access to data in face of failures/partitioning • Durability • Replicate data several times within and across data centers • Scalability • Need to scale to Exabyte’s and beyond • Provide a global namespace to access data around the world • Automatically load balance data to meet peak traffic demands • Easy setups and low cost • Pay as you go • API Accessible, Emulator, Web Portal
  • 5. Azure Blob Storage Abstractions • Blobs • File with a metadata • Blob Types • Block Blob • Targeted for streaming workloads • Each blob consists of a sequence of blocks, Each block is identified by a Block ID targeted for streaming workloads • Size limit 200GB per blob • Optimistic concurrency via ETags • Page Blob • Targeted for random read/write workloads • Each blob consists of an array of pages. Each page is identified by its offset from the start of the blob • Size limit 1TB per blob • Optimistic or Pessimistic (locking) concurrency via leases • Drives • Durable NTFS volumes for Windows Azure applications to use • Based on Blobs • Drive access across multiple instance(s) possible thru SMB
  • 6. Azure Blob Storage Details • Storage End Point • http://<account>.blob.core.windows.net/<container>/<blobname> • [Account][Container][Blobs][Pages/Blocks] • Mock Storage Emulator • Can CDN Enable Account • Blobs delivered via 24 global CDN nodes • Can co-locate storage account with compute account • Explicitly or using affinity groups • Accounts have two independent 512 bit shared secret keys • 100 TBs per account • Geo-Replication • Storage Analytics • Logs: Provide trace of executed requests for your storage accounts • Metrics: Provide summary of key capacity and request statistics for Blobs, Tables, and Queues • HTTP headers for Blobs • RESTful and Client API support
  • 7. Azure Blob Storage Details Continued… • Associate Metadata With blob • Standard HTTP metadata/headers (Cache-Control, Content-Encoding, Content-Type, etc) • Metadata is <name, value> pairs, up to 8KB per blob • Either as part of PutBlob or independently • Blob always accessed by name • Can include ‘/‘ or other delimiters in name e.g. /<container>/myblobs/blob.jpg • Basic Blob Operations • GetBlob • DeleteBlob • CopyBlob • SnapshotBlob • LeaseBlob • ListBLobs
  • 8. Azure Blob Storage -Drives • Durable NTFS volume for Windows Azure Instances • Use existing NTFS APIs to access a network attached durable drive • Use System.IO from .NET • Benefits • Move existing apps using NTFS more easily to the cloud • Durability and survival of data on instance recycle • A Windows Azure Drive is an NTFS VHD Page Blob • Mounts Page Blob over the network as an NTFS drive • Local cache on instance for read operations • All flushed and un buffered writes to drive are made durable to the Page Blob • A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD) • Drives can be up to 1TB
  • 9. Azure Blob Storage -Drives Continued… • A Page Blob can be mounted: • On one instance at a time for read/write • Using read-only snapshots to multiple instances at once • An instance can dynamically mount up to 16 drives • Remote Access via standard Blob UI • Can’t remotely mount drive • Can upload the VHD to a Page Blob using the blob interface, and then mount it as a Drive • Can download the VHD to a local file and mount locally • Operations performed via Drive API not REST Calls • Operations on Drives • Create Drive • Mount / UnMount Drive • Get Mounted Drives • Snapshot Drive
  • 11. Simple Storage Service (S3) • Storage Endpoints • Virtual Hosted Style: http[s]://<bucketname>.s3-website-[us-east-1].amazonaws.com/object • Path-Style: http[s]://s3.amazonaws.com/<bucketname>/object • Associate Metadata With blob • Standard HTTP metadata/headers (Cache-Control, Content-Encoding, Content-Type, etc) • Metadata is <name, value> pairs, up to 8KB per blob • Either as part of PutBlob or independently • Blob always accessed by key • Can include ‘/‘ or other delimeter in name but folder must end with ‘/’ e.g. /<bucketname>/myblobs/blob.jpg • 1-5 TB per blob • Unlimited Size per accounts • RESTful/API support • Storage Analytics • Ability to host static template from blob • Bittorrent protocol support
  • 12. S3- Basic Blob Operations • Put • Get • Delete • Copy • List
  • 13. Comparing Azure Blob and Amazon S3 Please note that next 3 slides may not be converted by slideshare. Click Save link to download the original presentation.
  • 16. Benchmark comparisons for performance, stability, and scalability
  • 17. Best Practices • Avoid lock-in to specific provider • Choose the location closest to your customer • Use only lower cases for container/key name • Always remove public access from container/bucket. Instead grant public access to keys if required. • Avoid unnecessary request (such a call to check if blob exists instead use the response) • Use compression for large file if possible • Enable CDN
  • 18. Resource • http://microsoft.com/azure • http://blogs.msdn.com/b/windowsazurestorage/archive/2010/1 2/30/windows-azure-storage-architecture-overview.aspx • http://aws.amazon.com/articles
  • 19. Q&A
  • 20. Thank you for attending Boston Code Camp.