Price Difference between Azure ML vs Azure VM

2021-07-02T07:35:32.02+00:00

Hi,
our team is using AzureML for company's Machine Learning project.

My question is this:

What's the price difference between AzureML and AzureVM when executing python script?

if we use AzureVM, we may use Azure Registry together, i think.

Because our team is newbie in Azure, we are unfamiliar with this price policy

thanks.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,343 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,058 questions
0 comments No comments
{count} votes

Accepted answer
  1. prmanhas-MSFT 17,946 Reputation points Microsoft Employee Moderator
    2021-07-02T15:25:30.937+00:00

    @박영민(Park Young Min)/비전)DX팀 Thank you for your query!!!

    Depending upon your requirement there are different possibilities.

    Now as per your statement you want to understand cost associated with Azure ML and Azure VM for running Python Script.

    Now as such for Machine Learning on Azure the Machine Learning surcharges are free and you are only charged for series of VM you use.

    It has been best described in example here:

    You will be billed daily. For billing purposes, a day commences at midnight UTC. Bills are generated monthly.

    Training:
    As a specific example, let’s say you train a model for 100 hours using 10 DS14 v2 VMs on an Basic workspace in US West 2. For a billing month of 30 days, your bill will be as follows:

    Azure VM Charge: (10 machines * $1.196 per machine) * 100 hours = $1,196

    Azure Machine Learning Charge: (10 machines * 16 cores * $0 per core) * 100 hours = $0

    Total: $1,196 + $0 = $1,196

    Inferencing:
    As a specific example, let’s say you deploy a model for inferencing all day for a 30-day billing month using 10 DS14 v2 VMs in Basic in US West 2. For a billing month of 30 days, your bill will be as follows:

    Azure VM Charge: (10 machines * $1.196 per machine) * (24 hours * 30 days) = $8,611.20

    Azure Machine Learning Charge: (10 machines * 16 cores * $0 per core) * (24 hours * 30 days) = $0

    Total: $8,611.20 + $0 = $8,611.20

    This already includes the use of VM.

    Now the other scenario you are talking about is around deployment of Python App where you might need to make use of containers and the cost associated with them which is a seperate topic.

    Now let us come to your basic question where I do assume that you might want to explore the options available to you for running Python Script in Azure.

    Both Azure Automation and Azure Functions support running Python scripts and do not require the creation of any VM's for same.

    For Azure Function you can refer to this. and for cost you can refer to this.

    For Azure Automation you can refer to this. For cost incurred for automation you can refer to this which mostly depends upon the Job you create.

    Now if you check both the option they are not billed particularly for Python script you are running but more around resources being used for what time which you can have a rough estimation from Pricing calculator links mentioned in above links.

    Further now if you want to deploy or run your Python App in Azure there are mainly 4 ways as mentioned here:

    You don't need to worry about the Python script incurring you charges but you can check the price of associated resource you are using basically any Azure resource here on Pricing Calculator as well.

    Hope it helps :) !!!

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.