Connecting Drone and Ground control station through AWS Server

I want to connect my drone using AWS Server or any server, How I can do this, what should I do with coding or software on the server side, is there any software or code available for this to forward port, so that both the drone and ground control can communicate with each other? I have done it using the local network that is working properly.