iknowjason / PurpleCloud

A little tool to play with Azure Identity - Azure Active Directory lab creation tool
https://www.purplecloud.network
MIT License
493 stars 85 forks source link

Update managed_identity.py #25

Closed Sh4d0w-3xPl0iT closed 1 year ago

Sh4d0w-3xPl0iT commented 1 year ago

The standard a1 is not available on new azure account on accounts on retirement. v2 works really well and no issues.

sed] azurerm_windows_virtual_machine.managed_identity: Still creating... [7m40s elapsed] azurerm_windows_virtual_machine.managed_identity: Still creating... [7m50s elapsed] azurerm_windows_virtual_machine.managed_identity: Still creating... [8m0s elapsed] azurerm_windows_virtual_machine.managed_identity: Still creating... [8m10s elapsed] azurerm_windows_virtual_machine.managed_identity: Still creating... [8m20s elapsed] azurerm_windows_virtual_machine.managed_identity: Still creating... [8m30s elapsed] azurerm_windows_virtual_machine.managed_identity: Creation complete after 8m37s [id=/subscriptions/f7c7d5de-5e02-4157-800b-1b14c854eb63/resourceGroups/purpleidentityovd2w/providers/Microsoft.Compute/virtualMachines/purpleidentityovd2w]

Apply complete! Resources: 45 added, 0 changed, 0 destroyed.

iknowjason commented 1 year ago

@Sh4d0w-3xPl0iT Thank you for the information on this. I believe this should be fine. I am currently doing some testing on it and it builds just fine, so I don't have an issue with it.

Quick question: I have been standardizing on the Standard_D2as_v4 for Windows VMs on the other generators such as ad.py. This is just because the costs estimated table is nice for the users to know what the estimated likely costs are of the Windows VM.

https://www.purplecloud.network/cost/#cost-analysis-pricing-estimate

I'd like to make the documentation easier and not split off different VMs on different python scripts if we can. Do you have any thoughts on Standard_D2as_v4 versus Standard_A1_v2? If it's an issue I can just allow the PR for making change just to managed_identity.py

Sh4d0w-3xPl0iT commented 1 year ago

@Sh4d0w-3xPl0iT Thank you for the information on this. I believe this should be fine. I am currently doing some testing on it and it builds just fine, so I don't have an issue with it.

Quick question: I have been standardizing on the Standard_D2as_v4 for Windows VMs on the other generators such as ad.py. This is just because the costs estimated table is nice for the users to know what the estimated likely costs are of the Windows VM.

https://www.purplecloud.network/cost/#cost-analysis-pricing-estimate

I'd like to make the documentation easier and not split off different VMs on different python scripts if we can. Do you have any thoughts on Standard_D2as_v4 versus Standard_A1_v2? If it's an issue I can just allow the PR for making change just to managed_identity.py

standard_d2 is 2 cores and 8 gb ram which is higher price for lab when run on long term but this standard_a1 is much cheaper and standard_d2as_v4 needs quota upping by microsoft on the new accounts ( this happened to me)

iknowjason commented 1 year ago

@Sh4d0w-3xPl0iT Thank you for the information on this. I believe this should be fine. I am currently doing some testing on it and it builds just fine, so I don't have an issue with it. Quick question: I have been standardizing on the Standard_D2as_v4 for Windows VMs on the other generators such as ad.py. This is just because the costs estimated table is nice for the users to know what the estimated likely costs are of the Windows VM. https://www.purplecloud.network/cost/#cost-analysis-pricing-estimate I'd like to make the documentation easier and not split off different VMs on different python scripts if we can. Do you have any thoughts on Standard_D2as_v4 versus Standard_A1_v2? If it's an issue I can just allow the PR for making change just to managed_identity.py

standard_d2 is 2 cores and 8 gb ram which is higher price for lab when run on long term but this standard_a1 is much cheaper and standard_d2as_v4 needs quota upping by microsoft on the new accounts ( this happened to me)

I understand you. There needs to be a better option here that needs more research. The A1v2 is cheaper and works well for standalone VMs but doesn't work well for running Domain Controller, AD DS, ADFS. Since it is only 2 GB RAM and 10 GB storage, there are going to be issues installing AD and other server software. I've opened up a new issue for researching long-term best option for VMs.