Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Solutions for Microsoft Azure AZ-204 Exam Guide

You're reading from   Developing Solutions for Microsoft Azure AZ-204 Exam Guide A comprehensive guide to passing the AZ-204 exam

Arrow left icon
Product type Paperback
Published in May 2024
Publisher Packt
ISBN-13 9781835085295
Length 428 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Paul Ivey Paul Ivey
Author Profile Icon Paul Ivey
Paul Ivey
Alex Ivanov Alex Ivanov
Author Profile Icon Alex Ivanov
Alex Ivanov
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Chapter 1: Azure and Cloud Fundamentals 2. Chapter 2: Implementing Azure App Service Web Apps FREE CHAPTER 3. Chapter 3: Implementing Containerized Solutions 4. Chapter 4: Implementing Azure Functions 5. Chapter 5: Developing Solutions That Use Cosmos DB Storage 6. Chapter 6: Developing Solutions That Use Azure Blob Storage 7. Chapter 7: Implementing User Authentication and Authorization 8. Chapter 8: Implementing Secure Azure Solutions 9. Chapter 9: Integrating Caching and Content Delivery within Solutions 10. Chapter 10: Monitoring and Troubleshooting Solutions by Using Application Insights 11. Chapter 11: Implementing API Management 12. Chapter 12: Developing Event-Based Solutions 13. Chapter 13: Developing Message-Based Solutions 14. Chapter 14: Accessing the Online Practice Resources 15. Other Books You May Enjoy

Understanding the Benefits of Cloud Computing

Before the option of cloud computing, companies would have physical network components and server hardware to host roles that would allow them to manage identity, storage, databases, and web applications, among others. Each of these requires skill and money to install, configure, maintain, patch, and eventually upgrade.

If, for example, there was a sudden rise in incoming requests to one of your web servers, you may have had a drop in service availability because your hardware lacks the resources required to handle such traffic. If you predicted the sudden rise, perhaps due to seasonal patterns, you may have gone through a capital expenditure (CapEx) process. Once approvals are obtained and everything gets set up, if the actual traffic isn’t what was forecast, or once the traffic drops again, you might be stuck with expensive hardware that isn’t being fully utilized, while still having ongoing running and maintenance costs (as well as potentially grumpy financial controllers). This alone presents a problem, and this isn’t even touching on disaster recovery or high-availability requirements.

Enter cloud computing…

Perhaps the most noticeable change when a company moves to a cloud-based infrastructure is that the requirement for many physical components is greatly reduced. Identity management can be achieved without a single physical server for you to manage. Just log in to a web portal and do everything from there. Users no longer need to be connected directly to your internal network for secure connectivity.

Depending on the service-level agreement (SLA) you have with your cloud provider, even when something goes wrong, the cloud infrastructure can help keep your applications highly available with no noticeable downtime. With the previous scenario of a sudden rise in incoming requests, you may have decided to scale your application vertically (also known as scaling up/down), providing your application with new, underlying servers that have more compute resources, such as more powerful processors and/or more memory, but that results in some downtime during the upgrade.

You could have configured automatic horizontal scaling (also known as scaling in/out). For example, if your application gets a certain number of incoming requests or the underlying server(s) come close to fully utilizing their hardware, more instances of your application could be automatically created to handle the spike. Once the demand reduces again, the number of instances could be scaled down automatically, preventing any downtime and ensuring cost-effectiveness.

Take the example of a simple web app in Microsoft Azure configured to automatically scale using the autoscale feature. When monitoring the instances of the web app, there was a spike in the number of incoming requests (the lower line in Figure 1.1) over a period, which caused the instance count (the upper line) to be increased to 2, and once that spike subsided, the instances were reduced to 1 (in this context, instances refers to the number of servers over which the traffic is load balanced, which will be discussed in Chapter 2, Implementing Azure App Service Web Apps):

Figure 1.2: Automatically scaled instances during and after a spike in requests

Figure 1.2: Automatically scaled instances during and after a spike in requests

Due to the elasticity that cloud computing brings, the application had the instances it needed without any downtime and scaled the number of instances back in when they were no longer needed.

With cloud computing, you not only have all the benefits mentioned here and more, but because cloud services are often (not all of them are) consumption-based, you only pay for the resources you use. This means there are no up-front costs, just operational expenditure (OpEx) costs, depending on what you use.

With the benefits just covered and many others, it’s no surprise that the number of workloads being migrated to the cloud is increasing exponentially. When thinking about moving workloads to the cloud, it’s important to understand the hosting options available to you, the most common of which we will cover in the next section.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image