This blog post covers the issue & fix that most of us encounter while performing any action like Installing IIS server in the Windows Virtual Machine.
Azure Virtual Machines offer scalable computing resources in the cloud, allowing us to deploy a variety of operating systems and applications. They enable the quick deployment of virtualized computer systems that can handle a wide range of workloads. Azure VMs offer both Windows and Linux platforms, meeting a wide range of customer needs.
With capabilities like as auto-scaling and high availability, virtual machines (VMs) provide consistent application performance and uptime. They work smoothly with other Azure services, allowing for convenient management and automation using Azure Resource Manager. It also provide cost-effective solutions for development, testing, and production environments, allowing organizations to optimize their IT infrastructure.
While Installing IIS server through PowerShell inside the Windows VM, we get this error : Not Enough memory resources are available
Cause of ERROR
While creating the Virtual Machine you need to select the SKU size of the VM. The SKU size selected might be smaller Size i.e Standard B1s (1 vcpu, 1 GiB memory) which is not sufficient to perform further tasks in the VM. For a Windows VM you should have at least 2 vCPU and 4 GiB memory to work properly.
FIX of ERROR
You need to resize the Virtual Machine to bigger size so that you can perform further activities inside the VM like installing IIS server without any issue.
To resize the VM:
1. First go to your Virtual Machine
2. Scroll the left pane to Availability + scale options & select Size.
3. Click on Search Bar
4. On the search bar Type B2s & click on that B2s size then finally click on the Resize option.
5. Select Resize once prompted
6. It will take around 10 minutes to get resized
Related/References
- Activity Guides/Hands-on Lab & Projects
- Cloud Services Model
- Cloud Computing – Overview & Benefits
- Azure Region and Availablity Zone
- How to create a free tier account on Azure
- Microsoft Azure Core Services For Beginners
Next Task For You
Begin your journey toward Mastering Azure Cloud and landing high-paying jobs. Just click on the register now button on the below image to register for a Free Class on Mastering Azure Cloud: How to Build In-Demand Skills and Land High-Paying Jobs. This class will help you understand better, so you can choose the right career path and get a higher paying job.
Leave a Reply