Thanks bro, I have one doubt. As you created Ubuntu user in both instance, did you kept same password for both user? And one more things when you run command ssh-copy-id username@ip then how linux will determine which file are you going to copy in slave node? I mean without mentioned that pub file how it can be copied?