Today change the size of my VM, memory and processor. When doing this I did not mark the previous external IP as static. So the IP change and I want to go back to the previous one.
I have tried from the gcloud console but it tells me that the IP I want to assign was not found in the "us-central1" region.
These were the steps I took after what happened in windows:
gcloud compute instances delete-access-config [SERVER_INSTANCE] --access-config-name [CONFIG_NAME]
then
gcloud compute instances add-access-config [SERVER_INSTANCE] --access-config-name [CONFIG_NAME] --address [OLD_IP]
It is very important to recover that IP(OLD_IP)
From already thank you very much for the help
gcloud compute addresses list
the output is Listed 0 items.