Attaching an Instance to an Instance Pool

Attach an existing instance to an instance pool, and then select which instances you want to manage as a group.

When you attach an instance to an instance pool, the pool size increases.

Important

If an autoscaling configuration is associated with the instance pool, then ensure that the autoscaling policy defines a maximum pool size that's large enough for the expanded pool by editing the autoscaling policy. If you attach an instance and it causes the pool size to increase above the maximum autoscaling target, then a future autoscaling event might decrease the pool size and delete instances.

If load balancers are attached to the pool, then the instance is also added to the load balancers.

Before You Begin

To attach an instance to an instance pool, all the following things must be true:

  • The instance and the pool are running.
  • The instance is the same machine type as the pool, either virtual machine or bare metal.
  • The instance is in the same availability domain and fault domain as the pool.
  • The instance's primary VNIC is in the same virtual cloud network (VCN) and subnet as the pool.
  • If secondary VNICs are defined, then the instance's secondary VNIC is in the same VCN and subnet as the secondary VNICs used by other instances in the pool.
  • The instance is not attached to another pool.

You must also have the name or OCID  of the instance that you want to attach.