Maybe you can try the Cloud control S2S solution which is exactly for this purpose.
Otherwise, pls refer to this thread for manual setup