Microsoft Azure IAAS Essentials - Gethyn Ellis - E-Book

Microsoft Azure IAAS Essentials E-Book

Gethyn Ellis

0,0
20,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

This book is intended for system administrators and other IT professionals who need to both design and implement an Azure-based cloud solution. With the help of this book, you will soon master the basic tasks needed to build a cloud-based solution.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 159

Veröffentlichungsjahr: 2015

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Microsoft Azure IaaS Essentials
Credits
About the Author
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
Downloading the color images of this book
Errata
Piracy
Questions
1. Introduction to Microsoft Azure Cloud Services
Understanding cloud computing
Services offered
Virtualization and on-premises technology
Software as a service (SaaS)
Platform as a service (PaaS)
Infrastructure as a service (IaaS)
Hybrid environments
Microsoft Azure
Exploring the portal
Summary
2. Creating and Deploying a Windows Virtual Machine
Creating a new Windows server virtual machine
Pricing for virtual machines
Creating a virtual machine using the gallery
Connecting and managing your new Windows server virtual machine
Starting and stopping the virtual machine
Connecting to a virtual machine in the portal
Connecting from the Remote Desktop Protocol (RDP)
Working with your virtual machine with PowerShell
Adding additional data disks to your virtual machine
Deploying an existing server to Microsoft Azure
Summary
3. Deploying Linux Virtual Machines on Azure
What is Linux?
Ubuntu
CoreOS
CentOS-based
SUSE
Oracle
Creating a Linux-based virtual machine
Working with your Linux virtual machine
Connect using Secure Shell (SSH)
Connect using Remote Desktop Protocol
Useful Linux commands
Summary
4. Virtual Networks
What is an Azure Virtual Network?
The benefits of virtual networks
The virtual network topology
A cloud-only virtual network
A cross-premises virtual network
Configuring a virtual network
Creating a cloud-only virtual network
Redeploying virtual machines into a virtual network
Configuring a cross-premises virtual network
Configuring the virtual network with a dynamic gateway
Creating certificates
Configuring the VPN client
Summary
5. Managing and Monitoring Virtual Machines
Monitoring cloud services using the Azure portal
Configuring monitoring for cloud services
Prerequisites
Creating a storage account
Azure storage replication options
The steps to create a storage account
Enabling Azure Diagnostics in a virtual machine
Adding metrics
Management services
Alerts
Operational logs
Other monitoring tools
PowerShell
System Center Operation Manager
Third-party monitoring tools
Summary
6. Microsoft Azure and Active Directory
What is Microsoft Azure Active Directory?
Azure AD editions
Configuring a standalone Microsoft Azure Active Directory
Setting up your own domain
Creating a user
Creating a group
Adding a member to the group
Synchronization of on-premises Active Directory and Azure AD
Directory Sync
Directory Sync with password
Directory Sync with single sign-on
Multi-Factor Authentication
Summary
7. High Availability and Disaster Recovery for Azure Virtual Machines
Microsoft Azure High Availability
System availability
System scalability
Redundancy and fault tolerance
Azure virtual machine downtime and availability
The multiple-tier architecture
Availability Set – Azure Internals
Configuring an Availability Set
Creating an Availability Set when provisioning a virtual machine
Creating a new Availability Set for an existing virtual machine
The Microsoft Azure load balancer and Availability Set
Microsoft Azure as a Disaster Recovery site
Summary
Index

Microsoft Azure IaaS Essentials

Microsoft Azure IaaS 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: May 2015

Production reference: 1260515

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78217-463-9

www.packtpub.com

Credits

Author

Gethyn Ellis

Reviewers

Ken Cenerelli

Yatish Patil

Commissioning Editor

Amarabha Banerjee

Acquisition Editor

Harsha Bharwani

Content Development Editor

Gaurav Sharma

Technical Editors

Dhiraj Chandanshive

Taabish Khan

Copy Editor

Rashmi Sawant

Project Coordinator

Bijal Patel

Proofreaders

Stephen Copestake

Safis Editing

Indexer

Hemangini Bari

Production Coordinator

Nitesh Thakur

Cover Work

Nitesh Thakur

About the Author

Gethyn Ellis runs a small IT consulting and training company that offers services to cloud, virtualization, and database technologies. He is based mainly in the UK and has been working with clients in both the private and public sectors. He does, however, support clients in both North America and the rest of Europe. He has been involved in several projects in deploying a virtual machine infrastructure to Azure and other cloud offerings. He has also written Getting Started with SQL Server 2014 Administration, Packt Publishing. You can follow his blog at http://www.gethynellis.com.

I would like to mention my mum and dad, Lynda and Ron Ellis, for encouraging me to write this book. I would also like to mention my two golden retriever dogs, Seth and Jake, who helped me dearly during the writing of this book by providing the necessary distractions from the writing process by demanding regular long walks.

About the Reviewers

Ken Cenerelli is a developer who specializes in designing and creating strong, data-driven web applications using the Microsoft .NET framework. He is also a member of the Microsoft Azure Canadian Community Experts team. Prior to his career in computers, he worked as a journalist in the newspaper industry. As a public speaker on emerging technologies, he has spoken at conferences across North America.

Ken lives in Ontario, Canada, with his wife, Renée. He blogs regularly at https://kencenerelli.wordpress.com and can be found on Twitter via @KenCenerelli.

Yatish Patil is a technology innovation and cloud consulting expert working with Saviant Consulting. His focus is to help businesses accelerate their growth using Cloud, Mobility, and Analytic, as well as Internet of Things (IoT). He is an expert in delivering enterprise application using Microsoft Azure, ASP.NET, and MVC. He has completed his certification in Developing Azure Solutions under Microsoft Azure Certification.

His specialties include technology innovations with Azure Machine Learning and IoT solutions; technological innovations with Microsoft Azure; Microsoft .NET, MVC, ASP.NET, C#, SQL Server, and SQL Azure; and Agile and Iterative (Scrum).

I would like to thank all the people with whom I have worked, gained a lot experience, have reached this level, especially while working at Saviant Consulting. I gained a lot of knowledge I have as of now. I would expect the same support in future as well in order to continue exceeding in technology, innovation, and consulting.

www.PacktPub.com

Support files, eBooks, discount offers, and more

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://www2.packtpub.com/books/subscription/packtlib

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

Fully searchable across every book published by PacktCopy and paste, print, and bookmark contentOn demand and accessible via a web browser

Free access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.

Instant updates on new Packt books

Get notified! Find out when new books are published by following @PacktEnterprise on Twitter or the Packt Enterprise Facebook page.

Preface

Cloud computing has been a buzzword in the IT industry for some time, and there are several cloud providers on the market. Microsoft Azure is Microsoft's cloud offering. Microsoft Azure has evolved very quickly over the last few years and now offers a comprehensive set of services, including Infrastructure as a Service (IaaS). In this book, we will start by explaining what is meant by some cloud terminology. We will take a look at how we can deploy both Windows/Linux-based virtual machines in Azure. We will take a look at how to set up a virtual network, so that our cloud-based resources can communicate with each other. Much like an on-premises server, our cloud-based servers will need to be monitored for any potential issues, and we will take a look at how we can design cloud systems that are both highly available and fault-tolerant.

What this book covers

Chapter 1, Introduction to Microsoft Azure Cloud Services, discusses some of the terminology around cloud, from the services offered to some of the specific features available in Microsoft Azure. You should be able to differentiate between a public and private cloud.

Chapter 2, Creating and Deploying a Windows Virtual Machine, shows you how we can create a new Windows-based virtual machine in Microsoft Azure. We will take a look at how we can connect to and work on the virtual machine and how we can control the VM using PowerShell. Finally, we will see how we can convert an existing server and make it an Azure-based VM.

Chapter 3, Deploying Linux Virtual Machines on Azure, shows you how we can create and configure a Linux-based virtual machine in Microsoft Azure's cloud. We will take a look at the different flavors of Linux available, how we can create the virtual machine, how we can use the command-line interface and Putty, and how we can connect via RDP to work with Linux.

Chapter 4, Virtual Networks, shows you how we can create a virtual network in Azure. We will take a look at how we can approach moving an existing virtual machine to a new virtual network and what is needed to configure point-to-site connectivity for hybrid networks that allow you to combine your on-premises network with your cloud-based resources.

Chapter 5, Managing and Monitoring Virtual Machines, shows you how we can set up and collect the diagnostic information on our cloud-based virtual machine. We will take a look at what we need to do in order to store this information in the cloud and also how we can integrate the monitoring with on-premises tools, such as SCOM.

Chapter 6, Microsoft Azure and Active Directory, discusses the options that are available to you when it comes to making use of Microsoft Azure Directory Services. We will take a look at how we can create a cloud-based directory and discuss the options available for integrating your on-premises Active Directory with the cloud.

Chapter 7, High Availability and Disaster Recovery for Azure Virtual Machines, shows you the High Availability options that you have when configuring virtual machines in Azure. You have a number of options available to you when you configure both your Azure-based VMs to be highly available, including the ability to create availability sets. You can make use of site recovery to use the Azure cloud as a disaster recovery site for both your cloud-based virtual machines and on-premises Hyper-V virtual machines.

What you need for this book

All you need for this book is a subscription to Microsoft Azure. In this case, it's perfectly acceptable to use the free trial subscription.

Who this book is for

This book is for system administrators and developers who want to get an understanding of how to deploy virtual machines to the cloud.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Then, you are ready to upload your .vhd file."

A block of code is set as follows:

New-AzureAlert ` -alertName "High CPU" ` -alertDescription "Higher than 85% CPU utilization" ` -subscriptionId $subscriptionId `

Any command-line input or output is written as follows:

Add-AzureVhd -Destination "<BlobStorageURL>/<vhdimage>/<VHDName>.vhd" -LocalFilePath <PathToVHDFile>

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on the Create Storage Account button to create the storage account."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

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 e-mail <[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.

Customer support

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.

Downloading the example code

You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Downloading the color images of this book

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 http://www.packtpub.com/sites/default/files/downloads/1234OT_ColorImages.pdf.

Errata

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 and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at <[email protected]> with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at <[email protected]>, and we will do our best to address the problem.

Chapter 1. Introduction to Microsoft Azure Cloud Services

Cloud is a buzzword that has been bandied about the technology industry for the last few years, but what exactly does this mean. What does cloud mean for the people working in IT departments around the world? How will cloud affect the way you do your job, how you work, and what type of work you do? I guess these are questions that are yet to be answered fully, but in this book, we will try and give some meaning to the term cloud from a technology perspective, and then we will spend some time to take a look at the Microsoft's Azure cloud offering, and discuss some of the services you can get from Microsoft's cloud.

This chapter is intended to provide a grounding in some of the terminology associated with cloud computing, and then we will take a look at what we need to do in order to be able to work with Microsoft Azure and the services that Microsoft offers through this platform.

In this chapter, you will learn the following topics:

A definition of cloud computingCloud services terminologyAn introduction to Microsoft Azure

Understanding cloud computing

What do we mean when we talk about cloud from an information technology perspective? People mention cloud services; where do we get the services from? What services are offered?

The Wikipedia definition of cloud computing is as follows:

"Cloud computing is a computing term or metaphor that evolved in the late 1990s, based on utility and consumption of computer resources. Cloud computing involves application systems which are executed within the cloud and operated through internet enabled devices. Purely cloud computing does not rely on the use of cloud storage as it will be removed upon users download action. Clouds can be classified as public, private and [hybrid cloud|hybrid]."

If you have worked with virtualization, then the concept of cloud is not completely alien to you. With virtualization, you can group a bunch of powerful hardware together, using a hypervisor. A hypervisor is a kind of software, operating system, or firmware that allows you to run virtual machines. Some of the popular Hypervisors on the market are VMware ESX or Microsoft's Hyper-V. Then, you can use this powerful hardware to run a set of virtual servers or guests. The guests share the resources of the host in order to execute and provide the services and computing resources of your IT department. The IT department takes care of everything from maintaining the hypervisor hosts to managing and maintaining the virtual servers and guests. The internal IT department does all the work. This is sometimes termed as a private cloud.