### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

I am running a script to set up a local stack environment. When running the following commands there is an issue with Redis and MySQL fighting for the same port. 
```
echo "Create an Mysql RDS Instance"
awslocal rds create-db-instance \
    --db-instance-identifier devops-toolkit \
    --db-instance-class db.t3.micro \
    --engine mysql \
    --master-user-password 12345678 \
    --master-username admin \
    --allocated-storage 5
sleep 5
echo "Create a Redis Cache Cluster"
awslocal elasticache create-cache-cluster --cache-cluster-id cluster-1
```
This can be seen in the logs
```
2022-09-01T07:49:51.054  INFO --- [  Thread-119] l.s.rds.engine_mysql       : Starting MySQL RDS server on port 4510 (backend port 4510) - database "test", user "admin"
2022-09-01T07:49:53.245  INFO --- [   asgi_gw_0] l.s.elasticache.provider   : Waiting for Redis server on tcp://localhost:4510 to start
2022-09-01T07:49:53.259  INFO --- [  Thread-123] l.s.elasticache.redis      : 1181:C 01 Sep 2022 07:49:53.258 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2022-09-01T07:49:53.259  INFO --- [  Thread-123] l.s.elasticache.redis      : 1181:C 01 Sep 2022 07:49:53.258 # Redis version=5.0.14, bits=64, commit=00000000, modified=0, pid=1181, just started
2022-09-01T07:49:53.259  INFO --- [  Thread-123] l.s.elasticache.redis      : 1181:C 01 Sep 2022 07:49:53.258 # Configuration loaded
2022-09-01T07:49:53.265  INFO --- [  Thread-123] l.s.elasticache.redis      : 1181:M 01 Sep 2022 07:49:53.265 * Running mode=standalone, port=4510.
2022-09-01T07:49:53.265  INFO --- [  Thread-123] l.s.elasticache.redis      : 1181:M 01 Sep 2022 07:49:53.265 # Server initialized
2022-09-01T07:49:53.266  INFO --- [  Thread-123] l.s.elasticache.redis      : 1181:M 01 Sep 2022 07:49:53.265 # WARNING you have Transparent Huge Pages (THP) support en
```
And then results in mysql errors
```
ERROR: 'cat /tmp/tmpfbw8o1x_ | mysql --socket /tmp/mysql-states/09a73ec8/mysqld.sock': exit code 1; output: b"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql-states/09a73ec8/mysqld.sock' (2)\n"
```
Any ideas, thanks in advance ✌️ 

### Expected Behavior

The two services should be run on different ports, is the the possibility to preconfigure the port on which each service is run?

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

Run this simple script
```
localstack start -d
echo "wait for local stack to start"
sleep 10
echo "Now trying to configure local stack"
echo "Create an Mysql RDS Instance"
awslocal rds create-db-instance \
    --db-instance-identifier devops-toolkit \
    --db-instance-class db.t3.micro \
    --engine mysql \
    --master-user-password 12345678 \
    --master-username admin \
    --allocated-storage 5
sleep 5
echo "Create a Redis Cache Cluster"
awslocal elasticache create-cache-cluster --cache-cluster-id cluster-1
```

### Environment

```markdown
- OS: MacOS 11
- LocalStack: latest
```


### Anything else?

_No response_
"""Returns whether the first dict is a sub-dict (subset) of the second dict."""
    return all(parent_dict.get(key) == val for key, val in child_dict.items())
def items_equivalent(list1, list2, comparator):
    """Returns whether two lists are equivalent (i.e., same items contained in both lists,
    irrespective of the items' order) with respect to a comparator function."""
    def contained(item):
        for _item in list2:
            if comparator(item, _item):
                return True
    if len(list1) != len(list2):
        return False
    for item in list1:
        if not contained(item):
            return False
    return True
def is_none_or_empty(obj: Union[Optional[str], Optional[list]]) -> bool:
    return (
        obj is None
        or (isinstance(obj, str) and obj.strip() == "")
        or (isinstance(obj, Sized) and len(obj) == 0)
    )
def select_from_typed_dict(typed_dict: Type[TypedDict], obj: Dict):
    """Select a subset of attributes from a dictionary based on the keys of a given `TypedDict`"""
    return select_attributes(obj, [*typed_dict.__required_keys__, *typed_dict.__optional_keys__])