Editing an Instance
You can edit the properties of a compute instance without having to rebuild the instance or redeploy your applications. When you edit an instance, the instance's OCID remains the same.
On supported instances, you can edit the following properties:
- Name. See Renaming an Instance.
- The shape that's used for the instance. Changing the shape affects the processor, number of OCPUs, memory, and other resources that are allocated to the instance. This lets you scale up your Compute resources for increased performance, or scale down to reduce cost. See Changing the Shape of an Instance.
- The fault domain where the instance is placed. You can distribute your instances across fault domains to protect against unexpected hardware failures or maintenance outages. See Editing the Fault Domain for an Instance.
- The launch options for the instance, which include the following properties:
- The networking type for the virtual network interface card (VNIC). The networking interface handles functions such as disk input/output and network communication. Choose between paravirtualized and hardware-assisted (SR-IOV) networking. Paravirtualized networking provides more management flexibility. SR-IOV networking offers better performance.
- The boot volume attachment type. Choose between paravirtualized and iSCSI attachment types.
- Whether in-transit encryption is used for the boot volume or block volume. See Enabling In-Transit Encryption Between an Instance and Boot Volumes or Block Volumes.
- Whether a running instance is recovered to the same lifecycle state or stopped after a maintenance event or an infrastructure failure affects the underlying infrastructure. See Setting Instance Availability During Maintenance Events.
- Whether a notification is sent before live migrating instances. See Setting Instance Availability During Maintenance Events.
- Whether the instance is in a capacity reservation, and which capacity reservation the instance is in. See Changing the Capacity Reservation for an Instance.
For an existing instance, where supported, you can enable live migration by editing the instance to use settings that are compatible with live migration. Some settings that are incompatible with live migration cannot be edited after you create an instance. For details about the criteria that make an instance compatible with live migration, see Live Migration Support.