Device registration using aws