Hi Mohd,
Check out the evaluation guide https://www.mendix.com/evaluation-guide/app-lifecycle/deployment/#third
I think most of your questions will be answered.