Issues with HELM deployments on AKS (Sydney)
Syntax to download and run 2 scripts using Azure CustomScriptExtension
Hi All
I'm using the azure CustomScriptExtension to download and run a powershell script.
As the windows servers can't have more than one CustomScriptExtension I'm wondering if I can download and run 2 scripts.
I'm using terraform but it is similar to arm templates interms of the syntax
resource "azurerm_virtual_machine_extension" "ad_01_winrm" { name = "winrm" location = "${var.location}" resource_group_name = "${var.rgp_name}" virtual_machine_name = "${var.win_vm_name}" publisher = "Microsoft.Compute" type = "CustomScriptExtension" type_handler_version = "1.9" depends_on = ["azurerm_virtual_machine.az_windows_vm"] settings = <<SETTINGS {"fileUris": ["https://my.blob.core.windows.net/winrm/myscript.ps1"],"commandToExecute": "powershell.exe -ExecutionPolicy Unrestricted ./myscript.ps1" } SETTINGS }
I've tried few combinations and couldn't get it to work.
Is there a way I can add another storage account url to download a script under fileUris, and also add another command under commandToExecute to run the script?
Not able to push crash dump data to azure storage using appinsight
I have enabled crash dumps collection as mentioned in the link :
https://docs.microsoft.com/en-us/azure/vs-azure-tools-diagnostics-for-cloud-services-and-virtual-machines
However, I'm not able to view the container or the crash dump data that is sent.
Custom script extension via template not waiting for completion
On adding a script extension to windows VM via template does not wait for the script to complete and exits just after launching it. This VM already has an extension run before while creating image and deprovisioning. Though the new extension is with a different name and has different file contents, it comes out after launch.
If i do the same process to a normal windows VM, the extension waits for it to complete and then the template deployment is shown as successful.
Why this ambiguous behavior is observed with the customized VM?
Can't connect to Linux machine
Azure network interruption
Dear all,
I have a few systems on Azure with apps connected over TCP sockets. I see that every 6 hours the TCP socket breaks. Is there any specific reason for this?
No external access to VM intances
I have isolated the issue to access outside of the VPN..
I can access on the vpn but not externally..
The instances were created from the portal using the enable HTTP access selected on and IIS installed from the server management console..
The VM is server 2016 datacentre
I have submitted to twitter and reproduced here as requested..
Cannot connect to my VM using RDP
HI.
I created a VM with ubuntu 16.04. After that, I made some settings for SSH, RDP, HTTP, HTTPS (INBOUND PORT RULES) to allow trafic from different sources. aFTER THAT i TRIED TO CONNECT VIA ssh TO MY vm AND EVERYTHING WORK WELL. wHEN i TRIED TO CONNECT VIA rdp NOTHING HAPPENS, i GOT AN ERROR from MY REMOTE dESKTOP cONNECTION. iN MY ubUNTU vm I INSTALLED XFCE4 AND XRDP. aLSO i iNSTALLED APACHE sERVER. dO YOU KNOW WHAT IS THE PROBLEM WITH THE RDP CONNECTION ? tHANKS.
Smoothness of Virtual machine
Hi, I this common thing that when entering to vm with rdp, vm dose't fell that smooth. Example moving IE window, it feels like a bit lagy, compared my own laptop. I tried computers at 50-150€/month price point with standard ssd and all had the same issue.
Lag or smoothness is not that big, but noticeable. Internet connection or speed should not been issue on Azure vm or at my laptop? Has rdp something to do with it?
Azure website on a VM: how to allow access only to IP addresses in India
how to allow REmote desktop connection in a windows 2016 VM ?
I created a Windows 2016 but I can't connect because apparently I have to allow remote connections on the VM first.
ssh connection timeout
Hi,
I am using <g class="gr_ gr_17 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="17" id="17">laas</g> deployment in Azure.
The deployment process is completed and did some changes in code for requirements.
From last two days onwards I am unable to login into scale set VM (Where the main server related code exits) from Jumpbox using ssh. I am getting a connection timeout error.
The scale set VM don't have NSG. I am unbaled to enable ssh port in Azure portal.
Can anyone please help to solve this issue?
SQL server browse not working in VM
We have moved some of our SQL VMs to Azure and now when using SQL Management Studio we are unable to browse the SQL servers and instances on the network. It will only show the server instances for the local server. Any ideas?
I have confirmed connectivity between SSMS and all servers on port 1434 (UDP). It is like SSMS is not performing a search.
Azure equivalent of OpenStack Neutron::Port port_security_enabled.
This question is in the context of standing up Virtualized Network Functions in Azure.
OpenStack Neutron by default implements IP anti-spoofing on Virtual Machine Network Interfaces, i.e., emitted IP packets that don't match the IP address of the VM interface are dropped. To build VM interfaces through which IP packets can transit, one must set port_security_enabled = false for the Neutron port.
Similarly for AWS EC2, we are told:
The AWS network only allows EC2 instances to send traffic from IP and MAC addresses specifically assigned to them, or the traffic will be dropped..... By default, AWS also protects EC2 instances by treating an instance as a standalone network host, not a router or network gateway, and drops any traffic not specifically addressed to the instance. Customers who need EC2 network appliances to run network address translation, routing, or firewall services can change this default behavior by disabling the Source/Destination Check attribute and configuring VPC route tables to send outbound traffic through the network appliance.
I'm unable to find the equivalent statement for Azure.
The questions are:
1. Does Microsoft Azure also implement by-default IP anti-spoofing, and if yes,
2. What is the configuration needed to turn it off?
Thanks in advance!
-Arun
Autologin at Start / Reboot
I'm trying to set up my VM to automatically login when started or rebooted. The setup usually works on my local computer or on a dedicated server but not with Azure. I've tried the following methods:
1. Unchecking ""Users must enter a user name and password to use this computer" after going to "control.exe userpasswords2" / netplwiz on Run.
2. Not requiring Ctrl+Alt+Delete under Local Security Policy.
3. Enabling auto-login in registry along with including user/pw.
Is there something else we need to do to get this working on Azure? Alternatively is there a runbook or other method to automatically login when a VM is started?
Cannot restart virtual machine from Azure Portal
I have two Linux virtual marchines in the same availability group and same subnet.
One of them is working as expected. But I have a problem with the other machine:
- I start it in Azure Portal. In Notifications list, it looks "Starting virtual machine" forever.
- If I reload the page (F5), it looks Running. But "Restart" button is disabled. In "Diagnose and solve problems", there is a new problem: "Your virtual machine is unavailable". But I have checked that the state of this Machine is "Available".
- I can acces to the machine through WinSCP and Putty. I can reboot the machine through Putty, but after that, still the same problem: cannot restart machine from Azure Portal.
What is the problem?
Cost of azure monitor?
I have 20 prod servers i wish to know the cost of azure monitor to monitor all the vm's for basic performance and 100 custom application running in total.Also Can azure monitor servers in all the regions?
Thanks
configure SSL certificate on SharePoint Web Application
Hi,
I have Virtual Machine of SharePoint. I have created web application like http://myportal:12345 and i have map it with public domain like http://myportal.cloudapp.net
Now i want to configure SSL certificate on my site so that i can access like https://www.myportal.com
for testing i have configure and install Self Signed Certificate on SharePoint VM. I have follow link steps
https://blogs.msdn.microsoft.com/fabdulwahab/2013/01/20/configure-ssl-for-sharepoint-2013/
i have created binding in IIS for myportal.cloudapp.net on 443
problem is that site is not accessible on https.
https://myportal.cloudapp.net [NOT WORKING]
pls guide how to configure SSL on cloudapp.net
iffi
what is the license - Virtual Machines Licenses - Windows Server - 2 vCPU VM License for?
what is the license - Virtual Machines Licenses - Windows Server - 2 vCPU VM License for? In what case we will need that?