Can I Change Replica Set Member Priority in MongoDB Atlas?

We are currently using a MongoDB Atlas replica set deployed on AWS.

We want to make a specific node in a particular availability zone (AZ) the primary node. However, it seems like the priority value assigned to the nodes in each availability zone is fixed and cannot be changed.

The node in our preferred availability zone appears to have the lowest priority. Because of this, even after running resilience tests multiple times, the node in that specific AZ never becomes the primary.

We are wondering:

  • How are these priorities determined or set in MongoDB Atlas?
  • Why is it not possible to change these priority values?
  • Is there any way at all to achieve our goal of having the primary node elected in our preferred availability zone?

Any insights or solutions would be greatly appreciated!