Resource Orchestration Service (ROS) allows you to manage related resources as a single unit called a stack. This topic describes how to create a stack.
Background information
You can use one of the following methods to create a stack:
- Use new resources (standard): Create a stack by using new resources.
If you use one of your templates or sample templates to create a stack, new resources are automatically created. For more information, see Use new resources.
- Use existing resources (resource import): Create a stack by importing existing resources.
You can import existing resources to ROS for centralized management. For more information, see Use existing resources.
Use new resources
Use existing resources
An elastic IP address (EIP) resource is used in the example.
- The resource identifier property of the instance that is associated with the EIP is
obtained.
In this example, the obtained resource identifier property of the instance that is associated with the EIP is AllocationId. For more information, see Obtain a resource identifier property for resource import.
- The ID of the instance that is associated with the EIP is obtained.
Log on to the EIP console to obtain the ID of the EIP that you want to import.
On the Stack Information tab, if Created After Resource Import is displayed on the right side of Status in the Basic Information section, the resource is imported.
What to do nextTo check whether the template of the imported resource matches the actual template, click Drift Detection on the right side of Drift Status on the Stack Information tab. For more information, see Detect drift on a stack.