Hands-On Networking with Azure

Book description

A step-by-step guide to get you up and running with Azure Networking Services and help you build solutions that leverage effective design patterns

About This Book

  • Learn best practices for designing and implementing Azure Networking for Azure VMs
  • Figure out the hidden secrets to designing a cost-effective environment
  • Plan, design, and implement various connectivity scenarios in Azure

Who This Book Is For

This book is for developers, IT professionals, and database admins who have prior experience of working on Microsoft Azure and want to make the most out of Azure Networking Services.

What You Will Learn

  • Understand Azure networking and use the right networking service to fulfill your needs
  • Design Azure Networks for Azure VMs according to best practices
  • Span your environment with Azure networking solutions
  • Learn to use Azure DNS
  • Implement Azure Load Balancer for highly available environments
  • Distribute user traffic across the world via the Azure Traffic Manager
  • Control your application delivery with Azure Application Gateway

In Detail

Microsoft Azure networking is one of the most valuable and important offerings in Azure. No matter what solution you are building for the cloud, you'll find a compelling use for it. This book will get you up to speed quickly on Microsoft Azure Networking by teaching you how to use different networking services.

By reading this book, you will develop a strong networking foundation for Azure virtual machines and for expanding your on-premise environment to Azure.

Hands-On Networking with Azure starts with an introduction to Microsoft Azure networking and creating Azure Virtual Networks with subnets of different types within them. The book helps you understand the architecture of Azure networks. You will then learn the best practices for designing both Windows- and Linux-based Azure VM networks. You will also learn to expand your networks into Azure and how to use Azure DNS. Moreover, you will master best practices for dealing with Azure Load Balancer and the solutions they offer in different scenarios. Finally, we will demonstrate how the Azure Application Gateway works, offering various layer-7 load balancing capabilities for applications.

By the end of this book, you will be able to architect your networking solutions for Azure.

Style and approach

This book provides in-depth insights into properly designing your environment and saving money on your running Azure Services. Using cutting-edge examples, you will learn to efficiently monitor, diagnose, and troubleshoot Azure Networking

Publisher resources

View/Submit Errata

Table of contents

  1. Title Page
  2. Copyright and Credits
    1. Hands-On Networking with Azure
  3. Dedication
  4. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  5. Contributors
    1. About the author
    2. About the reviewers
    3. Packt is searching for authors like you
  6. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the color images
      2. Conventions used
    4. Get in touch
      1. Reviews
  7. Azure Virtual Networks 101
    1. Introduction
      1. Learning outcomes
    2. Technical requirements
    3. Introduction to Microsoft Azure Networks
    4. Azure terminologies
    5. ASM versus ARM model
      1. Azure portal (ARM model)
        1. ARM key points
    6. Azure VNet
      1. Azure VNet benefits
      2. Creating Azure VNet
        1. Adding address spaces to the virtual network
        2. Adding subnets to the virtual network
      3. Azure VNet key points
    7. Automating your tasks
      1. Azure PowerShell
        1. Installing the Azure PowerShell module
        2. Installing the Azure PowerShell module from PowerShell Gallery
        3. Creating a virtual network in Azure portal using PowerShell
        4. Adding address space to a virtual network using PowerShell
      2. Azure CLI
        1. Installing Azure CLI 2.0
        2. Creating a virtual network using Azure CLI 2.0
        3. Adding a gateway subnet to a virtual network using Azure CLI 2.0
        4. Adding an address space to a virtual network using Azure CLI 2.0
    8. Summary
    9. Questions
    10. Further reading
  8. Delving into Azure Virtual Networks
    1. Introduction
      1. Learning outcomes
    2. Understanding Azure VNet architecture
    3. Azure VNet service endpoints
      1. Why use VNet service endpoints?
      2. Configuring service endpoints for Azure VNet
      3. Azure VNet service endpoints key points
    4. Azure services integration with virtual networks
      1. Integrating Azure services with Azure VNet key benefits
    5. Virtual network peering
      1. Configuring virtual network peering
      2. Virtual network peering key points
    6. Securing Azure VNet
      1. NSG
        1. Creating NSG
        2. Inbound security rules
        3. Outbound security rules
        4. Associating the NSG
          1. Associating the NSG to an NIC
          2. Associating the NSG to a subnet
      2. Azure DDoS protection
    7. Automating the tasks
      1. Adding a service endpoint to an existing virtual network using PowerShell
      2. Adding a service endpoint to an existing virtual network using Azure CLI
      3. Creating virtual network peering using PowerShell
      4. Creating virtual network peering using Azure CLI
      5. Creating NSG using PowerShell
      6. Creating NSG using Azure CLI
      7. Associating NSG with a subnet using PowerShell
      8. Associating NSG with a subnet using Azure CLI
    8. Summary
    9. Questions
    10. Further reading
  9. Azure Network for VMs
    1. Introduction
      1. Learning outcomes
    2. Azure VMs
      1. Azure VMs series
      2. Azure VMs statuses
    3. Creating and configuring Azure VMs
      1. Azure VMs networking
        1. Adding inbound and outbound rules
        2. Adding an additional NIC to the VM
        3. Configuring the NICs
        4. Azure VNets considerations for Azure VMs
    4. Automating tasks
      1. Creating an Azure VM using Azure PowerShell
      2. Creating an Azure VM using Azure CLI 2.0
      3. Adding an inbound or outbound rule to an Azure VM using Azure PowerShell
      4. Adding an inbound or outbound rule to an Azure VM using Azure CLI 2.0
      5. Attaching an NIC to an Azure VM using Azure PowerShell
      6. Attaching an NIC to an Azure VM using Azure CLI 2.0
      7. Enabling IP forwarding using Azure PowerShell
      8. Enabling IP forwarding using Azure CLI 2.0
      9. Adding an additional IP address using Azure PowerShell
      10. Adding an additional IP address using Azure CLI 2.0
    5. Summary
    6. Questions
    7. Further information
  10. Network Connectivity Scenarios in Azure
    1. Introduction 
      1. Learning outcomes
    2. Network connectivity scenarios in Azure
    3. VNet2VNet connection
      1. VNet2VNet connection benefits
      2. Creating a VNet2VNet connection
      3. VNet2VNet connection key points
    4. Point-to-Site connection
      1. Point-to-Site connection advantages
      2. Creating a Point-to-Site connection
      3. Point-to-Site connection key points
    5. Site-to-Site connection
      1. Site-to-Site connection benefits
      2. Creating a Site-to-Site connection
      3. Site-to-Site connection key points
    6. ExpressRoute
      1. ExpressRoute benefits
      2. ExpressRoute connectivity models
        1. Co-location at a cloud exchange
        2. Point-to-Point Ethernet connection
        3. Any-to-any (IPVPN) connection
    7. User-defined routes
      1. Creating a user-defined route
      2. User-defined routing key points
    8. Summary
    9. Questions
    10. Further information
  11. Azure DNS
    1. Introduction
      1. Learning outcomes
    2. Azure DNS
      1. Azure DNS benefits
    3. Azure DNS zones and records
      1. Creating a DNS zone
      2. Creating a DNS record
      3. DNS zones and records key points
    4. Azure DNS delegation
      1. Configuring DNS delegation for third-party domain names
      2. Configuring DNS delegation for subdomains
      3. Azure DNS delegation key points
    5. Azure reverse DNS zone
      1. Azure reverse DNS zone key points
    6. Private Azure DNS zones
      1. Private Azure DNS zones key points
    7. Automating the tasks
      1. Creating an Azure DNS zone using PowerShell
      2. Creating an Azure DNS zone using Azure CLI 2.0
      3. Creating an Azure DNS record using PowerShell
      4. Creating an Azure DNS record using Azure CLI 2.0
      5. Configuring Azure DNS delegation using PowerShell
      6. Configuring Azure DNS delegation using Azure CLI 2.0
      7. Creating an Azure reverse DNS zone using PowerShell
      8. Creating an Azure reverse DNS zone using Azure CLI 2.0
      9. Creating a PTR record using PowerShell
      10. Creating a PTR record using Azure CLI 2.0
    8. Summary
    9. Questions
    10. Further information
  12. Azure Load Balancers
    1. Introduction
    2. Learning outcomes
    3. Introduction to Azure Load Balancer
      1. Azure Load Balancer benefits
    4. Azure Load Balancer flavors
      1. Basic Azure Load Balancer
      2. Standard Azure Load Balancer
        1. Standard Azure Load Balancer benefits
      3. Public Azure Load Balancer
      4. Internal Azure Load Balancer
    5. Hands-on with Azure Load Balancers
      1. Creating a public Azure Load Balancer
      2. Creating an internal Azure Load Balancer
      3. Configuring public load balancer frontend IPs
        1. Creating a public IP address
        2. Add additional frontend IP
      4. Configuring internal load balancer frontend IPs
      5. Configuring the load balancer backend pools
      6. Configuring load balancer health probes
      7. Configuring load balancing rules
      8. Configuring inbound NAT rules
    6. Summary
    7. Questions
    8. Further information
  13. Azure Traffic Manager
    1. Introduction
    2. Learning outcomes
    3. Introduction to Azure Traffic Manager
      1. Why Azure Traffic Manager?
    4. Azure Traffic Manager endpoints
    5. Azure Traffic Manager routing methods
    6. Creating Traffic Manager profile
      1. Traffic Manager configuration
    7. Configuring Traffic Manager service endpoints
      1. Configuring endpoints for Traffic Manager with performance routing method
        1. Adding an Azure endpoint
        2. Adding an external endpoint
        3. Adding a nested endpoint
      2. Configuring endpoints for Traffic Manager with the geographic routing method
      3. Configuring endpoints for Traffic Manager with the priority routing method
      4. Configuring endpoints for Traffic Manager with the weighted routing method
    8. Azure Traffic Manager key points
    9. Automating the tasks
      1. Creating a Traffic Manager profile using Azure PowerShell
      2. Creating a Traffic Manager profile using Azure CLI 2.0
      3. Adding an Azure endpoint using Azure PowerShell
      4. Adding an Azure endpoint using Azure CLI 2.0
      5. Adding an external endpoint using Azure PowerShell
      6. Adding an external endpoint using Azure CLI 2.0
      7. Adding a nested endpoint using Azure PowerShell
      8. Adding a nested endpoint using Azure CLI 2.0
    10. Summary
    11. Questions
    12. Further information
  14. Azure Application Gateway
    1. Introduction
      1. Learning outcomes
    2. An introduction to Azure Application Gateway
      1. Why Azure Application Gateway?
      2. The flavors of Azure Application Gateway
    3. Creating an Azure Application Gateway
    4. Configuring Azure Application Gateway settings
      1. Azure Application Gateway configurations
      2. Configuring WAF
      3. Configuring the backend pool
      4. Configuring Azure Application Gateway HTTP settings
      5. Configuring frontend IP configurations
      6. Configuring listeners
        1. Configuring basic listener
        2. Configuring multi-site listener
      7. Configuring rules
        1. Configuring basic rule
        2. Configuring path-based rule
      8. Configuring health probes
    5. Summary
    6. Questions
    7. Further reading
  15. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think

Product information

  • Title: Hands-On Networking with Azure
  • Author(s): Mohamed Waly
  • Release date: March 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788998222