Connect game servers

I am ping to create an amazon gamelift server and i was wondering how i could connect that to my ue4 game