# exo compute instance private-network update-ip


### Description

This command updates the IP address assigned to a Compute instance in a
managed Private Network.

Supported output template annotations: .ID, .Name, .CreationDate, .InstanceType, .Template, .Zone, .AntiAffinityGroups, .DeployTarget, .SecurityGroups, .PrivateInstance, .PrivateNetworks, .ElasticIPs, .IPAddress, .IPv6Address, .SSHKey, .DiskSize, .State, .Labels, .ReverseDNS

```
exo compute instance private-network update-ip INSTANCE-NAME|ID PRIVATE-NETWORK-NAME|ID [flags]
```

### Options

| Option | Description |
|---------|------------|
|`--help, -h` | help for update-ip |
|`--ip` | network IP address to assign to the Compute instance |
|`--zone, -z` | instance zone |


### Options inherited from parent commands

| Option | Description |
|---------|------------|
|`--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
|`--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
|`--output-template` | Template to use if output format is &#34;text&#34; |
|`--quiet, -Q` | Quiet mode (disable non-essential command output) |
|`--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [private-network]({{< ref "../private-network">}})	 - Manage Compute instance Private Networks
