Updating Instances
You can update service instances in two ways, depending on which values you want to update:
-
Update any values: If you want to update any of the values that you specified for a service instance when you registered it, including custom attributes, you reregister the service instance and respecify all values. See To update a service instance.
-
Update only custom attributes: If you want to update only the custom attributes for a service instance, you don't need to reregister the instance. You can update only those values. See To update only custom attributes for a service instance.
To update a service instance
Sign in to the Amazon Web Services Management Console and open the Amazon Cloud Map console at https://console.amazonaws.cn/cloudmap/
. -
In the navigation pane, choose Namespaces.
-
On the Namespaces page, choose the namespace that contains the service that you originally used to register the service instance.
-
On the Namespace:
namespace-name
page, choose the service that you used to register the service instance. -
On the Service:
service-name
page, copy the ID of the service instance that you want to update. -
Choose Register service instance.
-
On the Register service instance page, paste the ID that you copied in step 5 into Service instance ID.
-
Enter all the other values that you want to apply to the service instance. The previous values for the service instance are not retained. For more information, see Values That You Specify When You Register or Update Instances.
-
Choose Register service instance.
To update only custom attributes for a service instance
Sign in to the Amazon Web Services Management Console and open the Amazon Cloud Map console at https://console.amazonaws.cn/cloudmap/
. -
In the navigation pane, choose Namespaces.
-
On the Namespaces page, choose the namespace that contains the service that you originally used to register the service instance.
-
On the Namespace:
namespace-name
page, choose the service that you used to register the service instance. -
On the Service:
service-name
page, choose the name of the service instance that you want to update. -
In the Custom attributes section, choose Edit.
-
On the Edit service instance:
instance-name
page, add, remove, or update custom attributes. You can update both keys and values for existing attributes. -
Choose Update service instance.