Microsoft Azure Storage Essentials
eBook - ePub

Microsoft Azure Storage Essentials

  1. 126 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Microsoft Azure Storage Essentials

Book details
Book preview
Table of contents
Citations

About This Book

Harness the power of Microsoft Azure services to build efficient cloud solutions

About This Book

  • Get to grips with the features of Microsoft Azure in terms of Blob, Table, Queue, and File storage
  • Learn the how and when of using the right storage service for different business use cases
  • Make use of Azure storage services in various languages with this fast-paced and easy-to-follow guide

Who This Book Is For

If you are an IT professional with basic knowledge of Microsoft Azure and want to learn Azure storage services, then this book is for you. Some familiarity with C# and Visual Studio is needed in order to utilize the examples present in the book.

What You Will Learn

  • Get familiar with Windows Azure Storage Service in terms of architecture and working
  • Recognize the libraries and tools offered by Azure storage, supporting several popular programming languages
  • Know how the storage services expose their resources as REST APIs and what client libraries exists to develop against the storage
  • Gain the understanding of types of Blobs and best ways to upload and retrieve them
  • Learn how to make use of Tables as a NoSQL data store and how to retrieve, insert, update and delete entities in terms of design patterns
  • Use Queue storage as a messaging solution for communications between different apps
  • Create mounted shares and allow legacy systems to access data using the SMB protocol
  • Get accustomed to deal with faults, monitor storage metrics and logs

In Detail

With the many advantages of using cloud computing, Azure Storage is a robust platform that helps you shift faster to the cloud by providing scalable, durable and highly available data storage options. For developers, it provides a rapid development environment that supports building large-scale applications to support new scenarios on the cloud, server, mobile and web. For IT professionals, it reduces complexity of managing, protecting and replicating data.

This book will make you familiar with the Azure storage in terms of architecture and components. It starts with the basics of storage accounts, which give access to the four basic services the Blob, Table, Queue, and File storage services. These services are exposed through a REST API that makes it possible for client libraries to implement most of their functionality in a wide range of popular programming languages. Emphasizing the Windows Azure Client Library for.NET, we will deal with storing and retrieving unstructured data with Blobs, then will move to Tables to insert and update entities in a structured NoSQL fashion. Then we will discover Queues as a reliable messaging service, and after that we will show File storage that allows you to migrate legacy applications data to the cloud to end with transient fault handling and service monitoring.

Style and approach

This book is a concise and fast-paced guide to learn about development for storage services. Each topic is elaborated sequentially, in order to create basic knowledge for using it in the right place and the correct way.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Microsoft Azure Storage Essentials by Chukri Soueidi in PDF and/or ePUB format, as well as other popular books in Computer Science & Web Services & APIs. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781784396237
Edition
1

Microsoft Azure Storage Essentials


Table of Contents

Microsoft Azure Storage Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. An Introduction to Microsoft Azure Storage Services
An introduction to Azure Storage
High availability and durability
Strong consistency
Scalability
Storage services
The Blob storage
The Table storage
The Queue storage
The File storage
Storage accounts
The namespaces and endpoints
Storage account security
Redundancy options
Metrics and logging
Summary
2. Developing Against Storage
The Service Management REST APIs
The request
The response
Microsoft Azure Management Libraries
The Storage Services REST APIs
The Blob service REST API
The Table service REST API
The Queue service REST API
The File service REST API
Azure Storage Client Libraries
Microsoft Azure Storage Client Library for .NET
Microsoft Azure Storage Client Library for Node.js
The Microsoft Azure Storage SDK for Java
The PHP Client Libraries for Azure
The Microsoft Azure SDK for Python
The Microsoft Azure SDK for Ruby
Azure Storage Emulator
PowerShell
Summary
3. Working with Blobs
Types of blobs
Block blobs
Page blobs
The blob structure
Containers
Addressing blobs
Using the Azure Storage Client Library
Creating a container
Uploading the first blob
Getting acquainted with an explorer
Downloading a blob
The container access level
Shared Access Signatures
Deleting a blob
Hierarchies
The $root container
The folder structure
Listing blobs
Paged listing and continuation tokens
Properties and metadata
Conditional headers
Blob snapshots
Summary
4. Working with Tables
The arrival of NoSQL
NoSQL
The Table storage basics
Entities
Naming rules
Using the Azure Storage Client Library
Starting with a table
Adding entities to a table
Entity Group Transactions
Updating entities
Querying the table
Continuation tokens
Summary
5. Designing Scalable and Performant Tables
Things to understand about Azure Table storage
The table's primary key
The three layer architecture
Partitions
Entity Group Transactions
Choosing between Azure Table and Azure SQL
Table design guidelines
Studying your data
Partition sizing
Querying performance
Selecting the best PartitionKey
Summary
6. Working with Queues
The need for queues
Increasing the availability and reliability
Reducing latency and avoiding IO bottlenecks
Load leveling
Passing messages between Azure web roles and worker roles
The Queue storage structure
Addressing
Naming
Service Bus Queues
Using the queue storage from .NET
Creating our first queue
Inserting a message in the queue
Handling large messages
Retrieving the next message
Getting more messages
The dequeueCount and poison messages
Peeking messages
Editing queue messages
Setting metadata for the queue
Getting the queue length and metadata
Deleting queues
Summary
7. Working with the Azure File Service
Where are Azure Files used?
The File storage structure
Using Azure Files
Using PowerShell with Azure Files
Getting familiar with Azure PowerShell
Creating a file share
Creating directories and subdirectories
Uploading the first file
Downloading a file
Listing files
Removing files
File Shares via the SMB 2.1 protocol
Persisting connections to shares
Mounting shares from Linux
File Shares via the Storage Client Library
Creating our share
Creating a directory
Uploading and downloading files
Using AzCopy
Summary
8. Transient Fault Handling and Analytics
Transient fault handling
Storage Analytics
A closer look at metrics
Transaction metrics
Capacity metrics
A closer look at logging
The log format
Analyzing the Storage Analytics data
Common practices
Summary
Index

Microsoft Azure Storage Essentials

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2015
Production reference: 1250815
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-623-7
www.packtpub.com
2323__perlego__chapter_divider__232...

Table of contents

  1. Microsoft Azure Storage Essentials