How can this be done?
“The cloud” is just a buzzword. All you’re ever doing is passing data to and from a server. If you’ve got a server up already, you just need to make some sort of network request to it, usually HTTP. There’s more, but it’s just implementation details, and those will depend on what you want to do.