Hello @Adonis Briceno ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you would like to deploy a Cloud service (extended support) with Static IP or change the Public IP of an existing Cloud Service Extended support from Dynamic to static.
Cloud Services (extended support) supports dynamic & static IP allocation methods. Static IP addresses are referenced as reserved IPs in the cscfg file.
Refer : https://learn.microsoft.com/en-us/azure/cloud-services-extended-support/faq#what-ip-allocation-methods-are-supported-on-cloud-services--extended-support--
To deploy a cloud service with Static IP, you need to create a Reserved Public IP first and then associate it with the Cloud Service. Refer : https://learn.microsoft.com/en-us/previous-versions/azure/virtual-network/virtual-networks-reserved-public-ip
If your Service Configuration (.cscfg) contains a reserved IP address, the allocation type for the public IP must be set tp Static.
Refer : https://learn.microsoft.com/en-us/azure/cloud-services-extended-support/deploy-portal
To know more about Azure Cloud Services (extended support) config schema (cscfg File).
Refer : https://learn.microsoft.com/en-us/azure/cloud-services-extended-support/schema-cscfg-file
https://learn.microsoft.com/en-us/azure/cloud-services/schema-cscfg-networkconfiguration#networkconfiguration-element
To associate a reserved IP to a cloud service by using a service configuration file.
Refer : https://learn.microsoft.com/en-us/previous-versions/azure/virtual-network/virtual-networks-reserved-public-ip#associate-a-reserved-ip-to-a-cloud-service-by-using-a-service-configuration-file
Once you have created a Reserved IP and added that reserved IP to your service configuration (.cscfg) file, you can edit your existing cloud service to use the updated cscfg file and change the Public IP allocation method to Static.
Or my recommendation would be to remove the existing cloud service and recreate a new one after creating a reserved IP address and referencing it in the cscfg file as that would be easier to configure.
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.