I don't know how to do aws auto scaling after installing docker jitsi/jibri

Hello. I’ve been struggling with it for several days now and I can’t find any clues. please help

I am using a t2.2xlarge instance in aws.
What I’m trying to do now is:

  1. The task of instance A is to record two rooms at the same time.
  2. If A is running two rooms at the same time, a new instance called B is created.
  3. B should also be able to record two rooms at the same time.

In this way, one instance records two rooms, and when the number of users increases, the number of instances is increased through aws auto scaling group to proceed with horizontal scaling.

Currently I’ve been able to record 2 rooms simultaneously in 1 instance.

But I have no idea how to horizontally scale it through an auto scaling group.

Can someone please explain this in detail?

Below is a picture to show the status of my current Docker installation.