Can I use docker team subscription in cloud services such as ec2 instance?

I have recently upgraded to Docker Team. I want to migrate all Docker services on my premises to utilize the Docker Team subscription feature. While we are already using this feature in Docker Desktop, but for cloud services such as EC2, I intend to transition the existing Docker setup to utilize the team’s subscription feature.