Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (13.1k points)
I have an application which can take files from one FTP server and send them to different server. Now, I want to deploy the same service on Azure VM. Can anyone help me that is it possible to have that static public IP for outbound connections? Or Azure is not a good platform to do that?

1 Answer

0 votes
by (26.7k points)

Yes you can very well do it using Azure. Given below is the PowerShell to do that:

New-AzureReservedIP –ReservedIPName MyReservedIP –Location "Central US"

$image = Get-AzureVMImage|?{$_.ImageName -like "*RightImage-Windows-2012R2-x64*"}

New-AzureVMConfig -Name TestVM -InstanceSize Small -ImageName $image.ImageName `

| Add-AzureProvisioningConfig -Windows -AdminUsername adminuser -Password MyP@ssw0rd!! `

| New-AzureVM -ServiceName TestService -ReservedIPName MyReservedIP -Location "Central US"

Also, you can able to see the IP's over Site settings page, then properties.

I hope this will help.

Want to become an azure expert? join azure developer certification now!!

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Dec 31, 2020 in Azure by dante07 (13.1k points)
0 votes
1 answer

Browse Categories

...