Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
As I read, each azure cloud service has a VM behind it (right?). I know, for a VM, I can click 'Connect' button to get the rdp file to remote login. However, for my cloud service (which is running), the 'Connect' button (in Instance panel) is always disabled. How do I turn it on? How do I remote login to this cloud service?
At first you need to enable remote desktop for your cloud service.
This can be done at least in two ways:
During deployment from Visual Studio.
Directly at the portal.
I think good way for you know is a second variant.
Go to your cloud service.
Enter Configure tab and press 'Remote' button at the bottom.
Set all the needed settings there (role, user name, password, certificate, expiration etc.).
After Azure finishes setup - go to 'Instances' tab. Click on the needed and 'Connect' button will be available.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Looking for a solution to schedule daily shutdown for vms at night 8PM and auto start the vms by morning 8 AM. Is there any way to get it done from Azure itself?
We tried the VM capability option under VMs overview page, But there is no option to auto restart. ANy help highly apprecicated..
I recommend you to use Azure Logic Apps. All you need is a scheduler and the action. There is also already a template for your requirement. Additionally, Azure helps you set up the logic app.
Check out this, it's really simple.
https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-examples-and-scenarios
A few notes:
Use consumption plan for the app.
A runbook would also work, but it takes longer to set up and you need
some PowerShell.
Do not confuse Stop with Deallocate. You need Deallocate
if you want to save money.
What you have to pay attention to with a logic app as well as an
automation account: You need a user / a service principal who has the
right to start and stop the VM. For this you should use Manged
Identity (exists for both resources). You then grant this identity
the right to start and stop the VMs via IAM.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 10 months ago.
Improve this question
I have spun up a Windows Server Datacenter 2019 image on Azure. When I go to the Activation screen in Settings, it shows that Windows is not activated. How do I activate Windows? Do I need to buy a server license?
I just created a new VM. I log into the server using RDP, and check if the machine is activated. It isn't. The error is:
We can't activate Windows on this device as we can't connect to your
organization's activation server. Make sure you're connected to your
organization's network and try again. If you continue having problems
with activation, contact your organization's support person. Error
code: 0xC004F074. Then I try to hit the Troubleshooting box:
Troubleshooting has completed: We can't activate Windows. Make sure
you're connected to the Internet.
The server doesn't seems to be able to connect to Microsoft's KMS servers. To verify if that is the case run the following from Powershell:
Invoke-Expression "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /skms kms.core.windows.net:1688"
Test-NetConnection kms.core.windows.net -Port 1688
TcpTestSucceeded must be True , if false then your VM can't reach the KMS and therefore not activate it. So test and see if your VM can reach kms.core.windows.net on port 1688.
There is another known issue where setting the Azure hosted VM to any time zone other then UTC +00 will cause the Settings app to show the VM as not being activated, but if you run the activation command via sconfig the VM is activated fine, the GUI will persist that the VM is not activated however.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am playing around with setting up a Web App in an Azure Resource Group, and I'm using a personal domain of mine (that I'm not currently using for anything) to learn and play: woodswild.com.
I've got the Web App all set up at http://woodswild.azurewebsites.net. There's nothing there right now except Azure's "Coming Soon" screen, and that's fine. I've also logged into GoDaddy and added this A Host Record:
Host Points To
---- -------------
# 23.99.206.151
And a few CName Records:
Host Points To:
------------ ------------------------------------------
www woodswild.azurewebsites.net
awverify.www awverify.woodswild.azurewebsites.net
awverify awverify.woodswild.azurewebsites.net
And then in the Azure Portal UI, I've added the following in the 'Bring External Domains' section of the Web App:
The result is that I can now browse to http://www.woodswild.com, and it resolves! I get the Azure "Coming Soon" message.
So now my question is: Is it possible to also browse to http://23.99.206.151 and have that also resolve to woodswild.azurewebsites.net? If so, how?
Thanks!
This is a much easier one -
No.
Because all that IP address is is the load balancer out in front of Azure Web App, it could be serving a thousand different websites. Azure filters which request goes where by inspecting the headers. i.e. what was typed in the browser.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have an Azure VM created using MSDN account.
But cannot remote-desktop into it using mstsc.
- Tried 443 port adding on VM
- Choose mstsc > options > settings > RD Gateway server > (entered VM name)
Any hints on how to remote to it?
I generally download the RDP file from the portal. This has worked pretty reliably for me.
Find the RDP endpoint port (public port) in VM settings, and RDP into that. You won't use the gateway address in the RDP client in a normal scenario, that setting is only used if you have an RD gateway server (which I'm willing to bet you don't have). So all you need is the address (cloud service URL) + port.
Or just download the RDP file, which is way easier.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Remote desktop is stuck on "securing remote connection". I am connecting to Windows 2008 VM on Azure from Windows 7. I have successfully connected for a few days before now. I have waited for over 15 minutes. I don't have local access to the server.
Please verify that your Windows Azure VM is in Running state from Portal first and then try to RDP. Based on your error and experience, it is possible that your VM is not running or have some issue. Try restarting the VM from Management Preview Portal or using PowerShell and then try RDP and it should work.