A DevOps engineer is working on an on-premise AEM 6.5 setup on a virtual private cloud (VPC). The DevOps engineer needs to automate the creation of additional publish instances based on increased load to the current architecture. Events based on triggers are set up to monitor the load on the load balancer. When the threshold is reached, an automated script is required to add the publish instance to the architecture.
Which steps should the automated script perform?