How to assign/swap reserved IP to cloud service ?
The help doc provides how to create a reserved IP. But, how can we assign it to a cloud service ? Also, how can we swap the reserved IP between cloud services ? ( new feature announced before two weeks )
To apply reserved IP to an IaaS VM reside in a cloud service, first you need to create reserved IP using:
network reserved-ip create [options] name location
then while creating VM using 'vm create' command specify reserved IP name via --reserved-ip argument
Swapping is not yet supported.
+1 to this.
In windows azure powershell, Set-AzureReservedIPAssociation command allows to assign the IP to the running deployment. Its more than 3 months since this feature is available. When can we expect this here ?
+1 for supporting reserved-ip assignment for existing resources.
+1 For supporting this. I have to destroy a network and start from scratch because of this
This is an older thread but I was looking for this very thing, and the posts above are no longer true. I just assigned two reserved IPs to different cloud services that are existing with VMs running in them.
Get-AzureReservedIP |Select ReservedIPName,Address
lists the reserved IP information.
Get-AzureService |Select ServiceName
lists the services you have.
Set-AzureReservedIPAssociation -ReservedName <from above> -ServiceName <from above>
works quite nicely. You can also add it to existing VMs now, I believe.
@milburnr - It works only in Windows. The feature is needed for running cli from a Linux OS.
+1. Currently there is no way to assign a reserved ip to a cloud service in cli.
Thanks @statikon I spend hours and try to hookup the ip to vm with my mac machine...it doesn't work. It takes a second to do it in windows machine. Azure should document it better...
add @jtuliani @sauryadas for comments
I think this not only need to be documented but also implemented in linux cli!
+1 for this support in cli.
+1 for this support in cli
+1 for this support in cli
will the azure-cli supports this sometime?
@jtuliani, @romangromov @sauryadas - Can you provide a timeline for adding support for this feature?
+1. Currently, there is no easy way to do that without Powershell.
No. you can assign directly in web portal for vm.
On Fri, Jul 8, 2016 at 9:06 PM, Mikaël Vallerie [email protected] wrote:
+1. Currently, there is no easy way to do that without Powershell.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Azure/azure-xplat-cli/issues/1791#issuecomment-231505438, or mute the thread https://github.com/notifications/unsubscribe/AA3MEvRuroaCBtGbsP-lASh2L02mA3BJks5qTvQEgaJpZM4EeYmt .
Vicki Fu
+1. This is quite crucial for any live projects. Please add this to cli or better on Azure portal
@jtuliani, @MikhailTryakhov @romangromov, @huangpf, @sauryadas -
We have had enough number of +1s for this. Seems like people are still using ASM a lot over ARM. So, can this request be supported?
+1. No work for this?
Fixed and published
@MikhailTryakhov Is this new feature can be used in 0.10.7 ? if it works, would you please share the command sample for me? 😄
I have spent a few hours trying to find a way to do this in a asm deployment with the azure-xplat-cli tools. Alas, I now know a lot about ASM, ARM, azure cli, node.js, python, powershell and even a bit of the rest api. I feel I have been taken to a Kafka tour of the internet.