Why the remaining credit amount is reducing although I'm not using the VMs?
I've "Visual Studio Enterprise" azure subscription. I initially got few credits. I think it was $200 for free. Earlier it used to show static remaining credit i.e. if I built two VMs and it cost $50 it would show $150. But since few days may be just past day remaining credit is continuously reducing.
The activities I have done so far. Earlier I was unable to connect to VM as outgoing connection was not allowed from my organisation. Since I have got permission I'm able to connect. After that I installed Active Directory Services on one of the VM.
I don't think till this step my credit amount got reduced except for the VMs I built.
I was trying to start and stop the VM using powershell but I wasn't able to do so. So I installed powershell azure modules. using Connect-AzAccount to connect and then used Start-AzVM and Stop-AzVm to start and stop the VMs. Just to clarify I keep the VMs in shut down mode so I don't keep getting billed.
Still the amount is being deducted. I ran Disconnect-AzAccount on suspicion that it might be causing the issue but still it hasn't fixed the issue.
Can any one help here?
azure virtual-machine reducing
add a comment |
I've "Visual Studio Enterprise" azure subscription. I initially got few credits. I think it was $200 for free. Earlier it used to show static remaining credit i.e. if I built two VMs and it cost $50 it would show $150. But since few days may be just past day remaining credit is continuously reducing.
The activities I have done so far. Earlier I was unable to connect to VM as outgoing connection was not allowed from my organisation. Since I have got permission I'm able to connect. After that I installed Active Directory Services on one of the VM.
I don't think till this step my credit amount got reduced except for the VMs I built.
I was trying to start and stop the VM using powershell but I wasn't able to do so. So I installed powershell azure modules. using Connect-AzAccount to connect and then used Start-AzVM and Stop-AzVm to start and stop the VMs. Just to clarify I keep the VMs in shut down mode so I don't keep getting billed.
Still the amount is being deducted. I ran Disconnect-AzAccount on suspicion that it might be causing the issue but still it hasn't fixed the issue.
Can any one help here?
azure virtual-machine reducing
another thing, virtual hard disks cost money even when the vm is shutdown
– 4c74356b41
Nov 23 at 7:13
Can I delete the disks and just keep the VM and create and allocate disk at later time because it is the one which is costing me too much?
– The Shooter
Nov 23 at 9:05
you cant delete the disks, but keep the vm. vm cant exist without a disk. you can keep external ip address and delete the vm and the disk (although regualr size disk costs like 3$ a month). when vm is deallocated it doesnt cost anything
– 4c74356b41
Nov 23 at 9:23
add a comment |
I've "Visual Studio Enterprise" azure subscription. I initially got few credits. I think it was $200 for free. Earlier it used to show static remaining credit i.e. if I built two VMs and it cost $50 it would show $150. But since few days may be just past day remaining credit is continuously reducing.
The activities I have done so far. Earlier I was unable to connect to VM as outgoing connection was not allowed from my organisation. Since I have got permission I'm able to connect. After that I installed Active Directory Services on one of the VM.
I don't think till this step my credit amount got reduced except for the VMs I built.
I was trying to start and stop the VM using powershell but I wasn't able to do so. So I installed powershell azure modules. using Connect-AzAccount to connect and then used Start-AzVM and Stop-AzVm to start and stop the VMs. Just to clarify I keep the VMs in shut down mode so I don't keep getting billed.
Still the amount is being deducted. I ran Disconnect-AzAccount on suspicion that it might be causing the issue but still it hasn't fixed the issue.
Can any one help here?
azure virtual-machine reducing
I've "Visual Studio Enterprise" azure subscription. I initially got few credits. I think it was $200 for free. Earlier it used to show static remaining credit i.e. if I built two VMs and it cost $50 it would show $150. But since few days may be just past day remaining credit is continuously reducing.
The activities I have done so far. Earlier I was unable to connect to VM as outgoing connection was not allowed from my organisation. Since I have got permission I'm able to connect. After that I installed Active Directory Services on one of the VM.
I don't think till this step my credit amount got reduced except for the VMs I built.
I was trying to start and stop the VM using powershell but I wasn't able to do so. So I installed powershell azure modules. using Connect-AzAccount to connect and then used Start-AzVM and Stop-AzVm to start and stop the VMs. Just to clarify I keep the VMs in shut down mode so I don't keep getting billed.
Still the amount is being deducted. I ran Disconnect-AzAccount on suspicion that it might be causing the issue but still it hasn't fixed the issue.
Can any one help here?
azure virtual-machine reducing
azure virtual-machine reducing
asked Nov 23 at 6:29
The Shooter
71028
71028
another thing, virtual hard disks cost money even when the vm is shutdown
– 4c74356b41
Nov 23 at 7:13
Can I delete the disks and just keep the VM and create and allocate disk at later time because it is the one which is costing me too much?
– The Shooter
Nov 23 at 9:05
you cant delete the disks, but keep the vm. vm cant exist without a disk. you can keep external ip address and delete the vm and the disk (although regualr size disk costs like 3$ a month). when vm is deallocated it doesnt cost anything
– 4c74356b41
Nov 23 at 9:23
add a comment |
another thing, virtual hard disks cost money even when the vm is shutdown
– 4c74356b41
Nov 23 at 7:13
Can I delete the disks and just keep the VM and create and allocate disk at later time because it is the one which is costing me too much?
– The Shooter
Nov 23 at 9:05
you cant delete the disks, but keep the vm. vm cant exist without a disk. you can keep external ip address and delete the vm and the disk (although regualr size disk costs like 3$ a month). when vm is deallocated it doesnt cost anything
– 4c74356b41
Nov 23 at 9:23
another thing, virtual hard disks cost money even when the vm is shutdown
– 4c74356b41
Nov 23 at 7:13
another thing, virtual hard disks cost money even when the vm is shutdown
– 4c74356b41
Nov 23 at 7:13
Can I delete the disks and just keep the VM and create and allocate disk at later time because it is the one which is costing me too much?
– The Shooter
Nov 23 at 9:05
Can I delete the disks and just keep the VM and create and allocate disk at later time because it is the one which is costing me too much?
– The Shooter
Nov 23 at 9:05
you cant delete the disks, but keep the vm. vm cant exist without a disk. you can keep external ip address and delete the vm and the disk (although regualr size disk costs like 3$ a month). when vm is deallocated it doesnt cost anything
– 4c74356b41
Nov 23 at 9:23
you cant delete the disks, but keep the vm. vm cant exist without a disk. you can keep external ip address and delete the vm and the disk (although regualr size disk costs like 3$ a month). when vm is deallocated it doesnt cost anything
– 4c74356b41
Nov 23 at 9:23
add a comment |
2 Answers
2
active
oldest
votes
There are mainly two ways to stop VM:
Stop the Azure VM locally: When you connect to the Azure VM with remote desktop, go to the Power options within Windows and select Shutdown, this will essentially “turn off” the VM and stop it from running. However, even though the VM won’t be running you WILL still be paying for the Virtual machine hardware allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped”.
Another way is to click Stop in the virtual machine page on the portal(or use Azure PowerShell or Azure CLI). Instead of just shutting down the Operating System, Azure will also deallocate the hardware (CPU and Memory) allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped (Deallocated)”.
Overall, both methods will reduce cost but not none of cost. You do still pay for the Azure Storage account usage, which is used for storig the VM’s .vhd disk image file. As a result, you will still incur some cost for the storage, but at least you will save on the VM resources.
Ref: Properly Shutdown Azure VM to Save Money
Thanks for the quick reply. Although I stopped the VM using powershell azure model but it is still costing me for the reasons you mentioned and now I see it is pretty expensive. The only way I see is to kill the VMs itself for now and go to create all resources once I have entire plan set up.
– The Shooter
Nov 23 at 9:04
When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks.
– Nancy Xiong
Nov 23 at 9:18
If this reply helps you, you could click the checkmark under "Answer" to close your question.
– Nancy Xiong
Nov 23 at 9:33
add a comment |
You need to identify what resource are been billed when VM is stopped or Stopped De-allocated.
Check the Cost analysis under Cost Management to identify the resource. Note that when VM is stopped you still pay for storage and other resources depending in your setup.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53441593%2fwhy-the-remaining-credit-amount-is-reducing-although-im-not-using-the-vms%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are mainly two ways to stop VM:
Stop the Azure VM locally: When you connect to the Azure VM with remote desktop, go to the Power options within Windows and select Shutdown, this will essentially “turn off” the VM and stop it from running. However, even though the VM won’t be running you WILL still be paying for the Virtual machine hardware allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped”.
Another way is to click Stop in the virtual machine page on the portal(or use Azure PowerShell or Azure CLI). Instead of just shutting down the Operating System, Azure will also deallocate the hardware (CPU and Memory) allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped (Deallocated)”.
Overall, both methods will reduce cost but not none of cost. You do still pay for the Azure Storage account usage, which is used for storig the VM’s .vhd disk image file. As a result, you will still incur some cost for the storage, but at least you will save on the VM resources.
Ref: Properly Shutdown Azure VM to Save Money
Thanks for the quick reply. Although I stopped the VM using powershell azure model but it is still costing me for the reasons you mentioned and now I see it is pretty expensive. The only way I see is to kill the VMs itself for now and go to create all resources once I have entire plan set up.
– The Shooter
Nov 23 at 9:04
When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks.
– Nancy Xiong
Nov 23 at 9:18
If this reply helps you, you could click the checkmark under "Answer" to close your question.
– Nancy Xiong
Nov 23 at 9:33
add a comment |
There are mainly two ways to stop VM:
Stop the Azure VM locally: When you connect to the Azure VM with remote desktop, go to the Power options within Windows and select Shutdown, this will essentially “turn off” the VM and stop it from running. However, even though the VM won’t be running you WILL still be paying for the Virtual machine hardware allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped”.
Another way is to click Stop in the virtual machine page on the portal(or use Azure PowerShell or Azure CLI). Instead of just shutting down the Operating System, Azure will also deallocate the hardware (CPU and Memory) allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped (Deallocated)”.
Overall, both methods will reduce cost but not none of cost. You do still pay for the Azure Storage account usage, which is used for storig the VM’s .vhd disk image file. As a result, you will still incur some cost for the storage, but at least you will save on the VM resources.
Ref: Properly Shutdown Azure VM to Save Money
Thanks for the quick reply. Although I stopped the VM using powershell azure model but it is still costing me for the reasons you mentioned and now I see it is pretty expensive. The only way I see is to kill the VMs itself for now and go to create all resources once I have entire plan set up.
– The Shooter
Nov 23 at 9:04
When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks.
– Nancy Xiong
Nov 23 at 9:18
If this reply helps you, you could click the checkmark under "Answer" to close your question.
– Nancy Xiong
Nov 23 at 9:33
add a comment |
There are mainly two ways to stop VM:
Stop the Azure VM locally: When you connect to the Azure VM with remote desktop, go to the Power options within Windows and select Shutdown, this will essentially “turn off” the VM and stop it from running. However, even though the VM won’t be running you WILL still be paying for the Virtual machine hardware allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped”.
Another way is to click Stop in the virtual machine page on the portal(or use Azure PowerShell or Azure CLI). Instead of just shutting down the Operating System, Azure will also deallocate the hardware (CPU and Memory) allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped (Deallocated)”.
Overall, both methods will reduce cost but not none of cost. You do still pay for the Azure Storage account usage, which is used for storig the VM’s .vhd disk image file. As a result, you will still incur some cost for the storage, but at least you will save on the VM resources.
Ref: Properly Shutdown Azure VM to Save Money
There are mainly two ways to stop VM:
Stop the Azure VM locally: When you connect to the Azure VM with remote desktop, go to the Power options within Windows and select Shutdown, this will essentially “turn off” the VM and stop it from running. However, even though the VM won’t be running you WILL still be paying for the Virtual machine hardware allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped”.
Another way is to click Stop in the virtual machine page on the portal(or use Azure PowerShell or Azure CLI). Instead of just shutting down the Operating System, Azure will also deallocate the hardware (CPU and Memory) allocation. Doing this will cause the Azure Portal to report the status of the VM to be “Stopped (Deallocated)”.
Overall, both methods will reduce cost but not none of cost. You do still pay for the Azure Storage account usage, which is used for storig the VM’s .vhd disk image file. As a result, you will still incur some cost for the storage, but at least you will save on the VM resources.
Ref: Properly Shutdown Azure VM to Save Money
edited Nov 23 at 7:37
answered Nov 23 at 6:58
Nancy Xiong
2,380116
2,380116
Thanks for the quick reply. Although I stopped the VM using powershell azure model but it is still costing me for the reasons you mentioned and now I see it is pretty expensive. The only way I see is to kill the VMs itself for now and go to create all resources once I have entire plan set up.
– The Shooter
Nov 23 at 9:04
When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks.
– Nancy Xiong
Nov 23 at 9:18
If this reply helps you, you could click the checkmark under "Answer" to close your question.
– Nancy Xiong
Nov 23 at 9:33
add a comment |
Thanks for the quick reply. Although I stopped the VM using powershell azure model but it is still costing me for the reasons you mentioned and now I see it is pretty expensive. The only way I see is to kill the VMs itself for now and go to create all resources once I have entire plan set up.
– The Shooter
Nov 23 at 9:04
When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks.
– Nancy Xiong
Nov 23 at 9:18
If this reply helps you, you could click the checkmark under "Answer" to close your question.
– Nancy Xiong
Nov 23 at 9:33
Thanks for the quick reply. Although I stopped the VM using powershell azure model but it is still costing me for the reasons you mentioned and now I see it is pretty expensive. The only way I see is to kill the VMs itself for now and go to create all resources once I have entire plan set up.
– The Shooter
Nov 23 at 9:04
Thanks for the quick reply. Although I stopped the VM using powershell azure model but it is still costing me for the reasons you mentioned and now I see it is pretty expensive. The only way I see is to kill the VMs itself for now and go to create all resources once I have entire plan set up.
– The Shooter
Nov 23 at 9:04
When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks.
– Nancy Xiong
Nov 23 at 9:18
When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks.
– Nancy Xiong
Nov 23 at 9:18
If this reply helps you, you could click the checkmark under "Answer" to close your question.
– Nancy Xiong
Nov 23 at 9:33
If this reply helps you, you could click the checkmark under "Answer" to close your question.
– Nancy Xiong
Nov 23 at 9:33
add a comment |
You need to identify what resource are been billed when VM is stopped or Stopped De-allocated.
Check the Cost analysis under Cost Management to identify the resource. Note that when VM is stopped you still pay for storage and other resources depending in your setup.
add a comment |
You need to identify what resource are been billed when VM is stopped or Stopped De-allocated.
Check the Cost analysis under Cost Management to identify the resource. Note that when VM is stopped you still pay for storage and other resources depending in your setup.
add a comment |
You need to identify what resource are been billed when VM is stopped or Stopped De-allocated.
Check the Cost analysis under Cost Management to identify the resource. Note that when VM is stopped you still pay for storage and other resources depending in your setup.
You need to identify what resource are been billed when VM is stopped or Stopped De-allocated.
Check the Cost analysis under Cost Management to identify the resource. Note that when VM is stopped you still pay for storage and other resources depending in your setup.
answered Nov 26 at 1:31
Hannel
49118
49118
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53441593%2fwhy-the-remaining-credit-amount-is-reducing-although-im-not-using-the-vms%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
another thing, virtual hard disks cost money even when the vm is shutdown
– 4c74356b41
Nov 23 at 7:13
Can I delete the disks and just keep the VM and create and allocate disk at later time because it is the one which is costing me too much?
– The Shooter
Nov 23 at 9:05
you cant delete the disks, but keep the vm. vm cant exist without a disk. you can keep external ip address and delete the vm and the disk (although regualr size disk costs like 3$ a month). when vm is deallocated it doesnt cost anything
– 4c74356b41
Nov 23 at 9:23