Change default Python version

I just created a new cluster on AWS and now I want to deploy my machine learning model there following this link Ray Client: Interactive Development — Ray 3.0.0.dev0.

When I deploy the code, I get this error:
RuntimeError: Python minor versions differ between client and server: client is 3.10.6, server is 3.6.9

My question is how can I change the default Python version of my AWS cluster ?