Learning Microsoft Azure Storage: Build large-scale, real-world apps by effectively planning, deploying, and implementing Azure storage solutions
By Mohamed Waly
()
About this ebook
A step-by-step guide to get you up and running with Azure Storage services and helps you build solutions that leverage effective design patterns
About This Book- Discover best practices for designing and implementing Azure Storage for Azure VMs, and highly available apps
- Effectively plan, design, and implement SQL databases with Azure
- Protect your data with Azure Backup and Azure Site Recovery
This book is targeted at Developers, IT Professionals, and even Database Admins who have experience of working on Microsoft Azure and want to make the most of Azure Storage services. Some knowledge of SQL Server will be beneficial.
What You Will Learn- Understand Azure Storage types and determine the appropriate one for your needs
- Design Azure Storage for Azure VMs according to best practices
- Design and implement your SQL Database on Azure according to best practices
- Learn how to work with Azure Backup
- Learn how to work with Azure Site Recovery
- Extend Azure Storage to StorSimple
- Monitor storage metrics and logs and customize the Azure monitoring dashboard
- Monitor and troubleshoot Azure Storage
Microsoft Azure Storage is the bedrock of Microsoft's core storage solution offering in Azure. No matter what solution you are building for the cloud, you'll find a compelling use for Azure Storage. This book will help you get up-to-speed quickly on Microsoft Azure Storage by teaching you how to use the different storage services. You will be able to leverage secure design patterns based on real-world scenarios and develop a strong storage foundation for Azure virtual machines.
You will start this book with an introduction to Microsoft Azure storage and how it can be used to build large-scale, real-world applications using Azure storage services such as blob, table, queue, and file. This book will also teach you about the different types of Azure Storage. You will then find out the best practices for designing your Azure VM storage, whether it is Windows based or Linux based and how to migrate your storage in different scenarios. You will learn also how to plan and implement your SQL database solution on Azure, and how to build your SQL database in different service models (IaaS/PaaS). Moreover, you will also learn best practices for dealing with Azure Backup, the role of Azure Site Recovery, and the solutions they offer in different scenarios. Finally, you will use StorSimple to unlock the maximum value from all of your data, and some tools that will help you manage your storage on-and off-premise (Azure), such as AzCopy and Storage Explorer. Monitoring your storage in no laughing matter, so you will learn to monitor, diagnose and troubleshoot it.
Style and approachThis book will provide an in-depth insight into properly designing your environment and saving money on your running workloads. Using cutting-edge examples, you will be able to efficiently monitor, diagnose, and troubleshoot Azure Storage.
Related to Learning Microsoft Azure Storage
Related ebooks
Migrating Applications to the Cloud with Azure: Re-architect and rebuild your applications using cloud-native technologies Rating: 0 out of 5 stars0 ratingsDeployment of Microsoft Azure Cloud Solutions: A complete guide to cloud development using Microsoft Azure Rating: 0 out of 5 stars0 ratingsImplementing Azure Solutions Rating: 0 out of 5 stars0 ratingsMicroservices with Azure Rating: 0 out of 5 stars0 ratingsAzure Serverless Computing Cookbook Rating: 0 out of 5 stars0 ratingsDynamics 365 Business Central Development Quick Start Guide: Modern development techniques for Dynamics 365 Business Central Rating: 0 out of 5 stars0 ratingsLearning Windows Server Containers: Build and deploy high-quality portable apps faster Rating: 0 out of 5 stars0 ratingsMicrosoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition Rating: 0 out of 5 stars0 ratingsImplementing Azure: Putting Modern DevOps to Use: Transform your software deployment process with Microsoft Azure Rating: 0 out of 5 stars0 ratingsMicrosoft Azure Security Rating: 0 out of 5 stars0 ratingsHands-On Machine Learning with Azure: Build powerful models with cognitive machine learning and artificial intelligence Rating: 0 out of 5 stars0 ratingsAzure Integration Guide for Business: Master effective architecture strategies for business innovation Rating: 0 out of 5 stars0 ratingsAutomated Testing in Microsoft Dynamics 365 Business Central: Efficiently automate test cases in Dynamics NAV and Business Central Rating: 0 out of 5 stars0 ratingsServerless Integration Design Patterns with Azure: Build powerful cloud solutions that sustain next-generation products Rating: 0 out of 5 stars0 ratingsExtending Microsoft Dynamics 365 for Operations Cookbook Rating: 5 out of 5 stars5/5Microsoft System Center 2016 Orchestrator Cookbook: Simplify the automation of your administrative tasks Rating: 0 out of 5 stars0 ratingsImplementing Azure Solutions: Deploy and manage Azure containers and build Azure solutions with ease, 2nd Edition Rating: 0 out of 5 stars0 ratingsLearning NServiceBus Sagas Rating: 0 out of 5 stars0 ratingsEnterprise Application Architecture with .NET Core: An architectural journey into the Microsoft .NET open source platform Rating: 0 out of 5 stars0 ratingsMastering Azure Virtual Desktop: The ultimate guide to the implementation and management of Azure Virtual Desktop Rating: 0 out of 5 stars0 ratingsHands-On Data Science with SQL Server 2017: Perform end-to-end data analysis to gain efficient data insight Rating: 0 out of 5 stars0 ratingsLearning ASP.NET Core 2.0: Build modern web apps with ASP.NET Core 2.0, MVC, and EF Core 2 Rating: 0 out of 5 stars0 ratings
Computers For You
Elon Musk Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5Uncanny Valley: A Memoir Rating: 4 out of 5 stars4/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5The Invisible Rainbow: A History of Electricity and Life Rating: 5 out of 5 stars5/5The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsHow to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 5 out of 5 stars5/5The Best Hacking Tricks for Beginners Rating: 4 out of 5 stars4/5Python Machine Learning By Example Rating: 4 out of 5 stars4/5ChatGPT 4 $10,000 per Month #1 Beginners Guide to Make Money Online Generated by Artificial Intelligence Rating: 0 out of 5 stars0 ratingsCompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratings101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Learning the Chess Openings Rating: 5 out of 5 stars5/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5
Reviews for Learning Microsoft Azure Storage
0 ratings0 reviews
Book preview
Learning Microsoft Azure Storage - Mohamed Waly
Learning Microsoft Azure Storage
Build large-scale, real-world apps by effectively planning, deploying, and implementing Azure Storage solutions
Mohamed Waly
BIRMINGHAM - MUMBAI
Learning Microsoft Azure Storage
Copyright © 2017 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: November 2017
Production reference: 1131117
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78588-491-7
www.packtpub.com
Credits
About the Author
Mohamed Waly has shown interest in IT since he was a student. The journey began in 2011 when he joined the college of computer science where he started learning how to work with Windows Server 2008 and was the youngest among his colleagues at the college to achieve certification. In 2012, he joined one of the greatest and most well-known student programs in the world, the Microsoft Student Partner program. During the time he spent on the program, he took many communication and presentation skills sessions that helped him to deliver many sessions since his second year at college and the journey continues until now. In the meantime, Waly learned some other topics such as Exchange Server System Center, VMware vSphere, and Microsoft Azure, formerly known as Windows Azure.
He has worked in multiple communities, such as the Azure Community in Egypt, and the Open Source on Azure. Also, he served multiple internships during his time in the university to improve his experience. That's why, in July 2014, Microsoft recognized Mohamed Waly as the youngest MVP in the world. After finishing college, he worked for two of the biggest Microsoft Partners in Egypt—Global Knowledge and Blue Cloud Technologies—as a system engineer and an associate infrastructure consultant, respectively, serving Microsoft Customers in the EMEA region by designing and implementing virtualization and Cloud solutions.
This book would not have seen the light without the help of many people. First, I'd like to thank the team at Packt, which includes Rahul Nair, Sweeny Dias, Komal Karne, Nithin George, and every member of staff from Packt who has helped in producing the book in that manner.
Of course, the technical reviews Bert Wolters, Sjoukje Zaal, and Demiliani Stefano have added great value to the book. I'd like to thank them for their endless support.
Last but not least, I'd like to thank my teammates at Blue Cloud Technologies for sharing their experience with me all the time and their guidance along the way: Moataz Shaaban, Karim Hamdy, Mohamed Saeed, and Emad Samir. I really consider them as a blessing and my second family.
About the Reviewers
Stefano Demiliani is a Microsoft Certified Solution Developer (MCSD), MCSA, MCAD, MCTS on Microsoft Dynamics NAV, MCTS on SharePoint, MCTS on SQL Server and a longtime expert on other Microsoft-related technologies. He has a master's degree in computer engineering from Politecnico of Turin.
Currently, he works as a senior project manager and solution architect for EID, a company of Navlab group, one of the biggest Microsoft Dynamics groups in Italy (where he's also the chief technical officer). His main task is architecting and developing enterprise solutions based on the entire stack of Microsoft technologies (Microsoft Dynamics NAV, Microsoft SharePoint, Azure, cloud apps and .NET applications in general, data analysis, and BI solutions) and he's often focused on engineering distributed service-based applications. He works as a full-time NAV consultant (with more than 15 years of international NAV projects) and solution developer and he is available for architecting solutions based on the Microsoft's ERP, for NAV database tuning and optimization (performance and locking management) and for architecting cloud solutions and apps. He's the author of different Microsoft Certified for NAV add-ons.
Stefano writes many articles and blogs on different Microsoft-related topics and he's frequently involved in consulting and teaching. He has worked with Packt in the past on many technical Microsoft-related books and he's recently the author of Building ERP Solutions with Microsoft Dynamics NAV, a book about enterprise solution development with the NAV ERP, Azure Cloud services, and Microsoft technologies. In its free time, Stefano is a runner and a cyclist.
Bert Wolters is currently a lead consultant in hybrid datacenter at the Dutch company Inspark. Bert started his professional life in the Dutch Military, but around 1999 found his talents to be in IT, helping out the platoon and unit leaders with small IT issues in the field. By the time he started on his first Microsoft certification in 2005, he had found his new vocation in life. His ability to look at all sides of a story (issues/problems, solutions, and implementation), was formed by the wide variety of jobs he took. Having a background in the business side of IT as well as Incident and Change Manager, and in the field as engineer and consultant, helps him deliver the most comprehensive solutions for businesses whether technology or business-case driven.
Since 2010, he further specialized in Microsoft infrastructure technology, focusing on system and platform management and is still riding Microsoft’s wave of innovation, looking forward to, and experimenting with, every single new infrastructure feature of Microsoft Azure. Because of this focus, he decided to resign from the Dutch PowerShell User Group (DuPSUg), and the System Center User Group in The Netherlands (SCUG_NL), and chair the Experts Live Foundation.
He currently advises companies on how to get the most out of their Azure platform implementation or System Center Suite and provides knowledge on Microsoft’s hybrid cloud, Hyper-V, Azure Stack, Microsoft OMS, and StorSimple.
I would like to thank my girlfriend and daughters for putting up with all of my efforts to gain and share knowledge. I also give thanks to Mohamed Waly for accepting me in his team of reviewers.
Sjoukje Zaal is a Microsoft Azure MVP, a Principal Architect and Lead Productivity and with over 15 years of experience providing architecture, development, consultancy, and design expertise. She works at Ordina, a system integrator based in the Netherlands. She is very active in the Microsoft community as co-founder of SP&C NL and MixUG, writer, public speaker and on MSDN/TechNet.
www.PacktPub.com
For support files and downloads related to your book, please visit www.PacktPub.com. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www.packtpub.com/mapt
Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.
Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Customer Feedback
Thanks for purchasing this Packt book. At Packt, quality is at the heart of our editorial process. To help us improve, please leave us an honest review on this book's Amazon page at https://www.amazon.com/dp/1785884913.
If you'd like to join our team of regular reviewers, you can email us at [email protected]. We award our regular reviewers with free eBooks and videos in exchange for their valuable feedback. Help us be relentless in improving our products!
Table of Contents
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
Understanding Azure Storage 101
An introduction to Microsoft Azure Storage
Why Azure Storage?
Terminologies
ASM versus ARM model
Azure classic portal (ASM model)
Azure portal (ARM model)
Deployment model tricks
Azure Storage types
Durability
Replication types
Locally redundant storage
Zone Redundant Storage
Geo-redundant storage
Read-access geo-redundant storage
Performance
Standard Storage
Premium Storage
Persistency
Persistent storage
Non-persistent storage
Azure Storage accounts
General-purpose storage accounts
Blob storage accounts
Hot access tier
Cool access tier
Azure Storage Account tips
Creating an Azure Storage account
Automating your tasks
Azure PowerShell
Installing the Azure PowerShell module
Installing the Azure PowerShell module from the PowerShell Gallery
Creating a storage account in the Azure portal using PowerShell
Azure command-line interface
Installing the Azure CLI 2.0
Creating a Storage account using the Azure CLI 2.0
Summary
Delving into Azure Storage
Azure Storage services
Blob storage
Creating Blob storage
Blob storage key points
Table storage
PartitionKey
RowKey
Timestamp
Creating Table storage
Table storage key points
Queue storage
Creating Queue storage
Queue storage key points
File storage
File storage advantages
Creating File storage
File storage key points
Understanding the Azure Storage architecture
Front-End layer
Partition layer
Stream layer
Sparse storage and TRIM in Azure
Securing Azure Storage
RBAC
Granting the reader role to a user using RBAC
Access keys
SAS
Storage design for highly available applications
RA-GRS
Azure Backup
Azure Site Recovery
Premium Storage
Understanding client libraries
Automating tasks
Creating Blob storage using PowerShell
Creating Blob storage using the Azure CLI 2.0
Creating Table storage using PowerShell
Creating Table storage using the Azure CLI 2.0
Creating Queue storage using PowerShell
Creating Queue storage using the Azure CLI 2.0
Creating a file share using PowerShell
Granting the reader role to a user with RBAC using PowerShell
Granting the reader role for a user with RBAC using the Azure CLI 2.0
Regenerating storage account access keys using PowerShell
Regenerating storage account access keys using the Azure CLI 2.0
Summary
Azure Storage for VMs
An introduction to Azure VMs
Azure VMs series
Creating an Azure VM
VM settings
Storage considerations for Azure VMs
Managed versus unmanaged disks
Managed disks key points
VM disks
Adding a data disk to Azure VM
Data disks key points
Resizing disks
Host caching
Read-only
Read/write
None
Host caching key points
Changing the host caching type
Capturing VMs
Sysprepping the VM
Capturing the VM with managed storage
Capturing the VM with unmanaged storage
Automating the tasks
Creating an Azure VM using PowerShell
Network resources
VM configuration
Creating the VM
Creating an Azure VM using the Azure CLI 2.0
Adding data disks to an Azure VM using PowerShell
Adding data disks to an Azure VM using the Azure CLI 2.0
Resizing Azure VM disks using PowerShell
Resizing Azure VM disks using the Azure CLI 2.0
Changing the host caching using PowerShell
Changing the host caching using the Azure CLI 2.0
Capturing the VM using PowerShell
Capturing the VM using the Azure CLI 2.0
Further information
Summary
Implementing Azure SQL Databases
An introduction to Azure SQL Database
Why