课程: Microsoft Azure Fundamentals (AZ-900) Exam Tips
今天就学习课程吧!
今天就开通帐号,24,100 门业界名师课程任您挑!
Understanding Infrastructure as Code (IaC) - Azure教程
课程: Microsoft Azure Fundamentals (AZ-900) Exam Tips
Understanding Infrastructure as Code (IaC)
- [Instructor] Think of the cloud as a toolbox with different products and services that can be used together to create sophisticated software solutions. Now, imagine setting up each piece by hand. That's right, it's time consuming and prone to errors. That's precisely where infrastructure as code steps in. Let's consider a scenario where you need to set up a virtual machine, a database, and a VNet for your software. Sure, you could manually configure this using tools like the Azure Portal or Azure CLI. This is the traditional imperative approach where you're essentially giving step-by-step instructions. But what if you need to tweak a few settings here and there? You're back to square one, making manual adjustments and possibly losing track of changes. Here's where the magic of infrastructure as code shines. You just describe the desired state of the infrastructure in a text file, which can be stored in version control and updated easily. When you apply this file, the system…