Required Image and Size of Azure Virtual machine

Salil Singh 20 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.
8,333 questions
{count} votes

3 answers

Sort by: Most helpful
  1. hossein jalilian 9,930 Reputation points
    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. Pradeep Kommaraju 0 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. Bruce (SqlWork.com) 71,266 Reputation points
    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

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.