On the details page of a VM instance, click on the Configurations tab. On the vNIC tab page, select a network and click ActionsFixed IP to set a fixed IP address for the VM instance.

Note: Before you set a fixed IP address for a VM instance, stop the VM instance.