azure-vm-role

How can I get the ssh host key for a new Azure Linux VM created using PowerShell?

人盡茶涼 提交于 2019-12-03 10:43:59
If I create an Azure Linux VM using PowerShell, how can I get its new ssh host key, so that I can install it in my local ssh/putty? Preferably the solution is also PowerShell code. Old question, but for newcomers there is nowadays an alternative available by using run-command in Azure CLI. There is probably an equivalent for PowerShell too, but I have not investigated that. az vm run-command invoke --name <your-vm-name> --command-id RunShellScript --scripts "cat /etc/ssh/ssh_host_ecdsa_key.pub" will output a json document from which you can extract the public key. Beware though that this

Does Azure offer https for “cloudapp.net”?

此生再无相见时 提交于 2019-12-03 06:44:39
问题 One great advantage of using Azure Websites is that I can get secure HTTP (HTTPS) without doing nothing: I simply type https://xyz.azurewebsites.net and it works. I don't have to worry about certificates because I use the subdomain that Azure gives me (in the example it would be xyz ) So, what I usually do is that people come by through some registered domain I have, eg. http://www.my-application-homepage.com , and there, if they want to use my application, I redirect them to the subdomain at

Does Azure offer https for “cloudapp.net”?

空扰寡人 提交于 2019-12-02 21:17:13
One great advantage of using Azure Websites is that I can get secure HTTP (HTTPS) without doing nothing: I simply type https://xyz.azurewebsites.net and it works. I don't have to worry about certificates because I use the subdomain that Azure gives me (in the example it would be xyz ) So, what I usually do is that people come by through some registered domain I have, eg. http://www.my-application-homepage.com , and there, if they want to use my application, I redirect them to the subdomain at azurewebsites.net , using HTTPS. Now, having said that: I'm in need of upgrading to Azure Cloud

“The certificate chain was issued by an authority that is not trusted” when connecting DB in VM Role from Azure website

让人想犯罪 __ 提交于 2019-11-27 06:38:47
I am experiencing error when connecting MY DB which is in VM Role(I have SQL VM Role) from Azure Website. Both VM Role and Azure Website are in West zone. I am facing following issue: SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)] I am able to connect to my DB using SSMS. 1433 port is open on my VM role. What is wrong with my connection? Thiago Silva You likely don't have a CA signed certificate

In Windows Azure: What are web role, worker role and VM role?

吃可爱长大的小学妹 提交于 2019-11-27 02:41:16
The application I work on contains a web role: it's a simple web application. I needed to host the application in Windows Azure, so I created a web role. I actually want to know what these roles are for. What is their significance coding wise or storage wise? EDIT 3/3/2013 - updated to reference UDP endpoints, Virtual Machines, and more languages EDIT 6/6/2013 - updated to reflect the discontinuation of VM Role, and update to web/worker role baseline OS images to Windows Server 2012 Good link by @Vladimir. A bit more clarification: All roles (web, worker) are essentially Windows Server. Web

“The certificate chain was issued by an authority that is not trusted” when connecting DB in VM Role from Azure website

隐身守侯 提交于 2019-11-26 12:38:12
问题 I am experiencing error when connecting MY DB which is in VM Role(I have SQL VM Role) from Azure Website. Both VM Role and Azure Website are in West zone. I am facing following issue: SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)] I am able to connect to my DB using SSMS. 1433 port is open on my

In Windows Azure: What are web role, worker role and VM role?

时光怂恿深爱的人放手 提交于 2019-11-26 10:10:13
问题 The application I work on contains a web role: it\'s a simple web application. I needed to host the application in Windows Azure, so I created a web role. I actually want to know what these roles are for. What is their significance coding wise or storage wise? 回答1: EDIT 3/3/2013 - updated to reference UDP endpoints, Virtual Machines, and more languages EDIT 6/6/2013 - updated to reflect the discontinuation of VM Role, and update to web/worker role baseline OS images to Windows Server 2012