We create deployment for each server. create and start a Deployment follow the same steps. So we can abstract these steps as a common function.