Learn Azure in a Month of Lunches, Second Edition

Book description

You can be incredibly productive with Azure without mastering every feature, function, and service. Learn Azure in a Month of Lunches, Second Edition gets you up and running quickly, teaching you the most important concepts and tasks in 21 practical bite-sized lessons. As you explore the examples, exercises, and labs, you'll pick up valuable skills immediately and take your first steps to Azure mastery! This fully revised new edition covers core changes to the Azure UI, new Azure features, Azure containers, and the upgraded Azure Kubernetes Service.

About the Technology
Microsoft Azure is vast and powerful, offering virtual servers, application templates, and prebuilt services for everything from data storage to AI. To navigate it all, you need a trustworthy guide. In this book, Microsoft engineer and Azure trainer Iain Foulds focuses on core skills for creating cloud-based applications.

About the Book
Learn Azure in a Month of Lunches, Second Edition, is a tutorial on writing, deploying, and running applications in Azure. In it, you’ll work through 21 short lessons that give you real-world experience. Each lesson includes a hands-on lab so you can try out and lock in your new skills.

What's Inside
  • Understanding Azure beyond point-and-click
  • Securing applications and data
  • Automating your environment
  • Azure services for machine learning, containers, and more


About the Reader
This book is for readers who can write and deploy simple web or client/server applications.

About the Author
Iain Foulds is an engineer and senior content developer with Microsoft.

Quotes
A great overview of the vast Azure offerings—from the essentials to the good stuff.
- Juraj Borza, NIKÉ

The author presents Azure in exactly the right order so the reader can put all the pieces together easily and logically.
- George Onofrei, DevEx Solutions

A lifesaver if you want or have to dive into Azure.
- Charles Lam, EVN AG

Iain Foulds's book gives you a head start in Azure without a big-time commitment.
- Peter Kreyenhop, Department of Internal Affairs (NZ)

Publisher resources

View/Submit Errata

Table of contents

  1. Second Edition
  2. Copyright
  3. Praise for the first edition
  4. brief contents
  5. contents
  6. preface
    1. acknowledgments
    2. about this book
      1. Roadmap
      2. About the examples and source code
      3. liveBook discussion forum
    3. about the author
  7. Part 1. Azure core services
  8. 1 Before you begin
    1. 1.1 Is this book for you?
    2. 1.2 How to use this book
      1. 1.2.1 The main chapters
      2. 1.2.2 Try it now
      3. 1.2.3 Hands-on labs
      4. 1.2.4 Source code and supplementary materials
    3. 1.3 Creating your lab environment
      1. 1.3.1 Creating a free Azure account
      2. 1.3.2 Bonus lab exercise: Creating a free GitHub account
    4. 1.4 A little helping hand
    5. 1.5 Understanding the Azure platform
      1. 1.5.1 Virtualization in Azure
      2. 1.5.2 Management tools
        1. Azure portal
        2. Azure Cloud Shell
        3. Local Azure CLI and PowerShell tools
  9. 2 Creating a virtual machine
    1. 2.1 Virtual machine configuration basics
      1. 2.1.1 Regions and availability options
      2. 2.1.2 VM images
      3. 2.1.3 VM sizes
      4. 2.1.4 Azure storage
      5. 2.1.5 Virtual networking
    2. 2.2 Creating an SSH key pair for authentication
    3. 2.3 Creating a VM from your web browser
    4. 2.4 Connecting to the VM and installing the web server
      1. 2.4.1 Connecting to the VM with SSH
      2. 2.4.2 Installing the web server
    5. 2.5 Allowing web traffic to reach the VM
      1. 2.5.1 Creating a rule to allow web traffic
      2. 2.5.2 Viewing the web server in action
    6. 2.6 Lab: Creating a Windows VM
    7. 2.7 Cleaning up resources
    8. 2.8 Houston, we have a problem
  10. 3 Azure Web Apps
    1. 3.1 Azure Web Apps overview and concepts
      1. 3.1.1 Supported languages and environments
      2. 3.1.2 Staging different versions with deployment slots
      3. App service plans
    2. 3.2 Creating a web app
      1. 3.2.1 Creating a basic web app
      2. 3.2.2 Deploying a sample HTML site
    3. 3.3 Viewing diagnostic logs
    4. 3.4 Lab: Creating and using a deployment slot
  11. 4 Introduction to Azure Storage
    1. 4.1 Managed Disks
      1. 4.1.1 OS disks
      2. 4.1.2 Temporary disks and data disks
      3. 4.1.3 Disk-caching options
    2. 4.2 Adding disks to a VM
    3. 4.1.3 Azure Storage
      1. 4.3.1 Table storage
      2. 4.3.2 Queue storage
      3. 4.3.3 Storage availability and redundancy
    4. 4.4 Lab: Exploring Azure Storage
      1. 4.4.1 VM-focused
      2. 4.4.2 Developer-focused
  12. 5 Azure Networking basics
    1. 5.1 Virtual network components
      1. 5.1.1 Virtual networks and subnets
      2. 5.1.2 Virtual network interface cards
      3. 5.1.3 Public IP address and DNS resolution
    2. 5.2 Securing and controlling traffic with network security groups
      1. 5.2.1 Creating a network security group
      2. 5.2.2 Associating a network security group with a subnet
      3. 5.2.3 Creating network security group filtering rules
    3. 5.3 Building a sample web application with secure traffic
      1. 5.3.1 Creating remote access network connections
      2. 5.3.2 Creating VMs
      3. 5.3.3 Using the SSH agent to connect to your VMs
    4. 5.4 Lab: Installing and testing the LAMP web server
  13. Part 2. High availability and scale
  14. 6 Azure Resource Manager
    1. 6.1 The Azure Resource Manager approach
      1. 6.1.1 Designing around the application lifecycle
      2. 6.1.2 Securing and controlling resources
      3. 6.1.3 Protecting resources with locks
      4. 6.1.4 Managing and grouping resources with tags
    2. 6.2 Azure Resource Manager templates
      1. 6.2.1 Creating and using templates
      2. 6.2.2 Creating multiples of a resource type
      3. 6.2.3 Tools to build your own templates
      4. 6.2.4 Storing and using templates
    3. 6.3 Lab: Deploying Azure resources from a template
  15. 7 High availability and redundancy
    1. 7.1 The need for redundancy
    2. 7.2 Infrastructure redundancy with Availability Zones
      1. 7.2.1 Creating network resources across an Availability Zone
      2. 7.2.2 Creating VMs in an Availability Zone
    3. 7.3 VM redundancy with Availability Sets
      1. 7.3.1 Fault domains
      2. 7.3.2 Update domains
      3. 7.3.3 Distributing VMs across an Availability Set
      4. 7.3.4 View distribution of VMs across an Availability Set
    4. 7.4 Lab: Deploying highly available VMs from a template
  16. 8 Load-balancing applications
    1. 8.1 Azure load-balancer components
      1. 8.1.1 Creating a frontend IP pool
      2. 8.1.2 Creating and configuring health probes
      3. 8.1.3 Defining traffic distribution with load-balancer rules
      4. 8.1.4 Routing direct traffic with Network Address Translation rules
      5. 8.1.5 Assigning groups of VMs to backend pools
    2. 8.2 Creating and configuring VMs with the load balancer
    3. 8.3 Lab: Viewing templates of existing deployments
  17. 9 Applications that scale
    1. 9.1 Why build scalable, reliable applications?
      1. 9.1.1 Scaling VMs vertically
        1. Resizing virtual machines
        2. Scaling down
      2. 9.1.2 Scaling web apps vertically
      3. 9.1.3 Scaling resources horizontally
    2. 9.2 Virtual machine scale sets
      1. 9.2.1 Creating a virtual machine scale set
      2. 9.2.2 Creating autoscale rules
    3. 9.3 Scaling a web app
    4. 9.4 Lab: Installing applications on your scale set or web app
      1. 9.4.1 Virtual machine scale sets
      2. 9.4.2 Web apps
  18. 10 Global databases with Cosmos DB
    1. 10.1 What is Cosmos DB?
      1. 10.1.1 Structured (SQL) databases
      2. 10.1.2 Unstructured (NoSQL) databases
      3. 10.1.3 Scaling databases
      4. 10.1.4 Bringing it all together with Cosmos DB
    2. 10.2 Creating a Cosmos DB account and database
      1. 10.2.1 Creating and populating a Cosmos DB database
      2. 10.2.2 Adding global redundancy to a Cosmos DB database
    3. 10.3 Accessing globally distributed data
    4. 10.4 Lab: Deploying a web app that uses Cosmos DB
  19. 11 Managing network traffic and routing
    1. 11.1 What is Azure DNS?
    2. 11.2 Delegating a real domain to Azure DNS
    3. 11.3 Global routing and resolution with Traffic Manager
      1. 11.3.1 Creating Traffic Manager profiles
      2. 11.3.2 Globally distributing traffic to the closest instance
    4. 11.4 Lab: Deploying web apps to see Traffic Manager in action
  20. 12 Monitoring and troubleshooting
    1. 12.1 VM boot diagnostics
    2. 12.2 Performance metrics and alerts
      1. 12.2.1 Viewing performance metrics with the VM diagnostics extension
      2. 12.2.2 Creating alerts for performance conditions
    3. 12.3 Azure Network Watcher
      1. 12.3.1 Verifying IP flows
      2. 12.3.2 Viewing effective NSG rules
      3. 12.3.3 Capturing network packets
    4. 12.4 Lab: Creating performance alerts
  21. Part 3. Secure by default
  22. 13 Backup, recovery, and replication
    1. 13.1 Azure Backup
      1. 13.1.1 Policies and retention
        1. Recovery point objective
        2. Recovery time objective
      2. 13.1.2 Backup schedules
      3. Restoring a VM
        1. File-level restore
        2. Complete VM restore
    2. 13.2 Azure Site Recovery
    3. 13.3 Lab: Configuring a VM for Site Recovery
  23. 14 Data encryption
    1. 14.1 What is data encryption?
    2. 14.2 Encryption at rest
    3. 14.3 Storage Service Encryption
    4. 14.4 VM encryption
      1. 14.4.1 Storing encryption keys in Azure Key Vault
      2. 14.4.2 Encrypting an Azure VM
    5. 14.5 Lab: Encrypting a VM
  24. 15 Securing information with Azure Key Vault
    1. 15.1 Securing information in the cloud
      1. 15.1.1 Software vaults and hardware security modules
      2. 15.1.2 Creating a key vault and secret
    2. 15.2 Managed identities for Azure resources
    3. 15.3 Obtaining a secret from within a VM with managed identity
    4. 15.4 Creating and injecting certificates
    5. 15.5 Lab: Configuring a secure web server
  25. 16 Azure Security Center and updates
    1. 16.1 Azure Security Center
    2. 16.2 Just-in-time access
    3. 16.3 Azure Update Management
      1. 16.3.1 Combined Azure management services
      2. 16.3.2 Reviewing and applying updates
    4. 16.4 Lab: Enabling JIT and updates for a Windows VM
  26. Part 4. The cool stuff
  27. 17 Machine learning and artificial intelligence
    1. 17.1 Overview and relationship of AI and ML
      1. 17.1.1 Artificial intelligence
      2. 17.1.2 Machine learning
      3. 17.1.3 Bringing AI and ML together
      4. 17.1.4 Azure ML tools for data scientists
    2. 17.2 Azure Cognitive Services
    3. 17.3 Building an intelligent bot to help with pizza orders
      1. 17.3.1 Creating an Azure web app bot
      2. 17.3.2 Language and understanding intent with LUIS
      3. 17.3.3 Building and running a web app bot with LUIS
    4. 17.4 Lab: Adding channels for bot communication
  28. 18 Azure Automation
    1. 18.1 What is Azure Automation?
      1. 18.1.1 Creating an Azure Automation account
      2. 18.1.2 Azure Automation assets and runbooks
    2. 18.2 Azure Automation sample runbook
      1. 18.2.1 Running and viewing output from a sample runbook
    3. 18.3 PowerShell Desired State Configuration (DSC)
      1. 18.3.1 Defining and using PowerShell DSC and an Azure Automation pull server
    4. 18.4 Lab: Using DSC with Linux
  29. 19 Azure containers
    1. 19.1 What are containers?
    2. 19.2 The microservices approach to applications
    3. 19.3 Azure Container Instances
    4. 19.4 Azure Kubernetes Service
      1. 19.4.1 Creating a cluster with Azure Kubernetes Services
      2. 19.4.2 Running a basic website in Kubernetes
    5. 19.5 Lab: Scaling your Kubernetes deployments
  30. 20 Azure and the Internet of Things
    1. 20.1 What is the Internet of Things?
    2. 20.2 Centrally managing devices with Azure IoT Hub
    3. 20.3 Creating a simulated Raspberry Pi device
    4. 20.4 Streaming Azure IoT hub data into Azure web apps
    5. 20.5 Azure IoT component review
    6. 20.6 Lab: Exploring use cases for IoT
  31. 21 Serverless computing
    1. 21.1 What is serverless computing?
    2. 21.2 Azure messaging platforms
      1. 21.2.1 Azure Event Grid
      2. 21.2.2 Azure Event Hubs and Service Bus
      3. 21.2.3 Creating a service bus and integrating it with an IoT hub
    3. 21.3 Creating an Azure logic app
    4. 21.4 Creating an Azure function app to analyze IoT device data
    5. 21.5 Don’t stop learning
      1. 21.5.1 Additional learning materials
      2. 21.5.2 GitHub resources
      3. 21.5.3 One final thought
  32. index

Product information

  • Title: Learn Azure in a Month of Lunches, Second Edition
  • Author(s): Iain Foulds
  • Release date: July 2020
  • Publisher(s): Manning Publications
  • ISBN: 9781617297625