37,19 €
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
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.
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.
This 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.
Sie lesen das E-Book in den Legimi-Apps auf:
Seitenzahl: 196
Veröffentlichungsjahr: 2017
BIRMINGHAM - MUMBAI
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
ISBN 978-1-78588-491-7
www.packtpub.com
Author
Mohamed Waly
Copy Editor
Safis Editing
Reviewers
Stefano Demiliani
Bert Wolters
Sjoukje Zaal
Project Coordinator
Virginia Dias
Commissioning Editor
Vijin Boricha
Proofreader
Safis Editing
Acquisition Editor
Rahul Nair
Indexer
Pratik Shirodkar
Content Development Editors
Sweeny Dias
Nithin Varghese
Graphics
Tania Dutta
Technical Editor
Komal Karne
Production Coordinator
Melwyn Dsa
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.
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.
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.
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.
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
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!
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 Azure SQL Database?
Service tiers
Elastic database pools
Single databases
Service tier types
Creating an Azure SQL Database
Connecting to Azure SQL Database
Server-level firewall rule
Connecting to Azure SQL Database using SQL SSMS
Azure SQL Database business continuity
How business continuity works for Azure SQL Database
Hardware failure
Point-in-time restore
Restoring Azure SQL Database key points
Restoring a deleted database
Geo-restore
Automating the tasks
Creating an Azure SQL Database using PowerShell
Creating an Azure SQL Database using the Azure CLI 2.0
Creating an SQL Server-level firewall rule using PowerShell
Creating an SQL Server-level firewall rule using Azure CLI 2.0
Point-in-time restore using PowerShell
Point-in-time restore using the Azure CLI 2.0
Restoring a deleted database using PowerShell
Restoring a deleted database using PowerShell
Summary
Beyond Azure SQL Database Management
SQL Database (IaaS/PaaS)
Azure SQL Database (PaaS)
Scenarios that would fit in Azure SQL Database
SQL on Azure VMs (IaaS)
Scenarios that would suit SQL on Azure VMs
Azure SQL elastic database pools
Creating an elastic database pool
Adding a database to the elastic database pool
Setting Azure AD authentication to Azure SQL Database
Active geo-replication
Implementing active geo-replication
Adding the databases to a failover group
Active geo-replication key points
Automating the tasks
Creating an elastic database pool using PowerShell
Creating an elastic database pool using Azure CLI 2.0
Adding database to the elastic database pool using PowerShell
Adding an additional database to the elastic database pool using Azure CLI 2.0
Setting Azure AD authentication to Azure SQL Database using PowerShell
Setting Azure AD authentication to Azure SQL Database using the Azure CLI 2.0
Implementing active geo-replication using PowerShell
Implementing active geo-replication using Azure CLI 2.0
Adding databases to a failover group using PowerShell
Adding databases to a failover group using the Azure CLI 2.0
Further information
Summary
Azure Backup
An introduction to Azure Backup
Why Azure Backup?
The process of backing up data
Building a Recovery Services vault
Backing up an Azure VM
Restoring Azure VM files
Restoring Azure VM files key points
Restoring an Azure VM
Restoring an Azure VM key points
Further information
Automating tasks
Building a Recovery Services vault using Azure PowerShell
Building a Recovery Services vault using the Azure CLI 2.0
Backing up an Azure VM using Azure PowerShell
Backing up an Azure VM using the Azure CLI 2.0
Restoring Azure VM files using Azure PowerShell
Restoring Azure VM files using the Azure CLI 2.0
Restoring an Azure VM using Azure PowerShell
Restoring an Azure VM using the Azure CLI 2.0
Summary
Azure Site Recovery
Introduction to ASR
ASR supportability
Hyper-V servers
VMware vSphere and physical servers
Preparing your environment for ASR
Building a site-to-site VPN connection
Preparing an infrastructure for replication
Kicking off replication from on-premises to ASR
ASR recovery plans
Testing ASR
Further information
Summary
Extending Your Azure Storage Management
Azure StorSimple
StorSimple Virtual Array
StorSimple 8000 series
AzCopy
Uploading a folder to Azure Blob
Downloading an Azure Blob service container
Azure Storage Explorer
Connecting to Azure Storage using Azure Storage Explorer
Managing Azure Storage accounts using Azure Storage Explorer
Creating an Azure Storage service
Azure Storage's three musketeers
Summary
First off, I'd like to thank you for purchasing Learning Microsoft Azure Storage. Throughout the book, I've shared my entire experience with Azure Storage, which started in 2012 and has witnessed many changes in the storage services.
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 with 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, and even your on-premises environment. The aim of this book is to provide accurate and easy-to-follow instructions when working with Azure Storage.
I hope that this book will be a great asset to you. Also, if you have any questions, comments, or suggestions, you can post it in the author online forum.
Chapter 1, Understanding Azure Storage 101, introduces Azure Storage and its types. It helps you understand the difference between Azure Service Management (ASM), Azure Resource Management (ARM) model, and Azure Storage types in addition to working with Azure Storage accounts and using PowerShell to automate some, such as creating a storage account.
Chapter 2, Delving into Azure Storage, introduces Azure Storage services and explains how to work with them. It will also cover the architecture of Azure Storage and how to secure Azure Storage services, and the best practices that need to be followed to design highly available applications and the role of client libraries with storage services.
Chapter 3, Azure Storage for VMs, covers the process of creating Azure VMs and how it relates to and depend on Azure Storage, followed by the best practices you need to know to create a better and more cost-effective design for Azure VMs.
Chapter 4, Implementing Azure SQL Databases, introduces Azure SQL Databases and why to use them. The services tier and performance levels will also be covered followed by how to create, and restore Azure SQL Databases.
Chapter 5, Beyond Azure SQL Database Management, covers how the SQL database works in the (IaaS/PaaS) service model, how to work with elastic database pools, integrate Azure AD with Azure SQL Database, and how to make sure that your databases will be up and running even in the event that disasters occur.
Chapter 6, Azure Backup, introduces Azure Backup and why it is so important to use, how to configure it and how to go through the restoration process.
Chapter 7, Azure Site Recovery, introduces Azure Site Recovery and why to work with it. Then we move on to how to prepare your environment for Azure Site Recovery, how to implement it, and even test whether it works or not.
Chapter 8, Extending Your Azure Storage Management, covers StorSimple which is used to spread your storage across on-premises and Azure Storage, and some other cool tools, such as AzCopy and Azure Storage Explorer. Finally, you will be introduced to Azure Storage's three musketeers: monitoring, diagnosing, and troubleshooting.
To follow along with what is covered in the book, you do not need a lot of resources. You only need a Windows 8 or above/Windows Server 2008 R2 or above for most of the topics with Azure PowerShell module installed on it, a SQL Server Management Studio 17.3 to connect to Azure SQL Database, as well as a quad-core, 8 GB memory, and 500 GB Disk VM to be used while working with Azure Site Recovery and StorSimple. Finally, some simple tools, such as AzCopy and Azure Storage Explorer would need to be downloaded.
This book is intended at anyone interested in Azure generally, and Azure Storage specifically. Some basic knowledge about Azure, Hyper-V, and SQL Server would be very beneficial, but it is not mandatory.
Feedback from our readers is always welcome. Let us know what you think about this book-what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of. To send us general feedback, simply email [email protected], and mention the book's title in the subject of your message. If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/LearningMicrosoftAzureStorage_ColorImages.pdf.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books-maybe a mistake in the text or the code-we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title. To view the previously submitted errata, go to https://www.packtpub.com/books/content/support
