Submitting job to remote AWS cluster

I’ve managed to do the port forwarding with ray dashboard <name>.yaml, and to submit the job by using ray job submit --address="http://localhost>:8265" --runtime-env-json='{"working_dir": "/data/my_files", "pip": ["emoji"]}' -- python my_ray_script.py.