Required Image and Size of Azure Virtual machine

Salil Singh 60 Reputation points
2025-02-06T16:33:29.4933333+00:00

Hi Team,

I need to create a Windows Azure Virtual machine which I would be using to create a new ASP.Net Core Web API project (in Visual Studio 2022 Community, .Net 8) and a new Angular project. I need to make sure I am using the option which is a least cost option and able to run both the projects at same time. It is for a POC purpose only.

Could you please let me know what could be the Image and Size of the Azure Virtual Machine.

Thanks,

Salil

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,015 questions
{count} votes

Accepted answer
  1. Pradeep Kommaraju 625 Reputation points Microsoft Employee
    2025-02-06T17:48:50.5933333+00:00

    For your Azure Virtual Machine (VM) setup, you need a cost-effective option that can run:

    -Visual Studio 2022 Community for ASP.NET Core Web API (.NET 8)

    -Node.js & Angular for your frontend

    Since this is for a POC (Proof of Concept), we’ll choose a low-cost VM while ensuring performance is sufficient to run both projects simultaneously.


     Recommended Azure VM Configuration

    Feature Selection
    VM Size Standard B2s (2 vCPUs, 4GB RAM) (Cheapest for basic workloads)
    Image Windows 11 Pro / Windows Server 2022 + Visual Studio 2022 Community (Pre-installed)
    OS Disk Standard SSD (64GB or higher)
    CPU & RAM 2 vCPUs, 4GB RAM (Upgrade to B2ms (8GB RAM) if needed)
    Region Choose a low-cost region (e.g., East US, West US, Central India)

     Useful Azure Docs & Examples

    Azure VM Pricing Calculator 🔗 Azure Pricing - Windows VMs

    Install Angular & Node.js on VM 🔗 Setup Angular in Windows VM


    Cost Optimization Tips

    • Use "Spot VM" to get up to 90% cheaper pricing for temporary workloads
    • Auto Shutdown at night to save costs

    Please don't forget to accept the answer if this helps you .


3 additional answers

Sort by: Most helpful
  1. hossein jalilian 10,825 Reputation points Volunteer Moderator
    2025-02-06T17:48:12.54+00:00

    Hello Salil Singh,

    Thanks for posting your question in the Microsoft Q&A forum.

    You can use the following configuration:Image:

    • Windows Server 2022 Datacenter
    • Size: B2s (2 vCPUs, 4 GB RAM)

    This configuration should be sufficient for your development needs while keeping costs low. The B2s size is part of the B-series, which are economical burstable VMs designed for workloads that don't need consistent high CPU performance


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful


  2. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2025-02-07T18:25:22.0066667+00:00

    not sure why you want a virtual machine.

    a azure web app service is easier and cheaper.

    https://azure.microsoft.com/en-us/products/app-service/web

    even cheaper is azure static web app and azure function instead of core webapi:

    https://learn.microsoft.com/en-us/azure/static-web-apps/overview

    if you want more control of the O/S then web app for container is simpler and cheaper than a VM

    https://azure.microsoft.com/en-us/products/app-service/containers?activetab=pivot:deploytab

    0 comments No comments

  3. Anonymous
    2025-02-07T18:58:23.8633333+00:00

    Hi Salil Singh,

    Thank you for reaching out to the Microsoft Q&A platform.

    Based on your question I would recommend below following:

    You can deploy a VM in Azure that runs Windows Server 2022 Datacenter.

    For the Visual Studio, a VM size with at least two processors and 7 GB of memory is recommended.

    Recommended VM sizes include Standard_D2_v3, Standard_D2s_v3, Standard_D4_v3, Standard_D4s_v3, Standard_D2_v2, Standard_D2S_v2, and Standard_D3_v2.

    https://learn.microsoft.com/en-us/visualstudio/install/using-visual-studio-vm?view=vs-2022

    VM sizes, you can rebalance your initial choice by resizing the VM if needed.

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  

    Thank You.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.