Blog Archives

[TIP] Sending UDP requests to AWS Server


Hi there 🙂

In this quick tip I’ll show how to send a udp request to your Amazon EC2 server instance and then receive a reply from there. Simply put, you can use this to check if your AWS servers are online or not when player is logging in.

So what are we covering today? Well, we will write a simple UDP server in Node.js and run it on AWS EC2 server. This server will be listening on EC2’s IP on a specific port. Then in Unreal Engine 4, we will use the FUDPPing::UDPEcho method to ping the above server ip and port and see if we get a reply. Let’s get started.

Read the rest of this entry

Advertisements

GameSparks Matchmaking and starting dedicated servers on AWS


Finally after almost a week in both C++ and JavaScript, our game supports matchmaking using GameSparks and dynamically starts new dedicated servers to connect players on our Amazon EC2 instance.

(Thanks to Josh Markiewicz from Epic Games for the high level explanation of Paragon Servers)

(Thanks to Pádraig from GameSparks for Node.js setup)

So how does it all work?
Read the rest of this entry

%d bloggers like this: