EC2 Free tier - PacketLoss

Hello there, I've been facing some issues regarding packet-loss in my server hosted on a humble free tier EC2 instance, with Ubuntu 18 with no GUI, t2.micro size which presumably has a single core Xeon and 1gb ram, and the gigantic amazon network infrastructure.

The context here is that I want to host some samp server's with a well known and tested A/D gamemode for my friends' private matches, its been alright with 3 servers running in different ports.

The only problem I'm facing is that the packet-loss function, shortly after going ingame, starts reading values ranging 0.2 ~ 1.0 for myself, and steadily increasing to 2 or 3% for the players known to lag.

I didn't code the gamemode myself, but in my community it is pretty known that some servers with the same opensource gamemode are pretty stable in that regard, and the packetloss function reads 0.0% for me 95% of the time.

I don't think its bandwidth related, cpu usage is just as low as it can get due to the nature of the gamemode, and ram usage is never above 40%,

Any help is appreciated, thanks!!

Its normal to have a packet loss 1-2% even till 5%. Since the free tier you are using t2.micro is basically for testing not great for having actual live deployments its network performance is not that great. But still, 1-2% packet loss is fine, for what you are expecting from a t2.micro instance . Also, your network stability and geographical location also matter.

I've just read that small parragraph at the end of the t2 type, at Amazon EC2 Instance Types

Use Cases

Websites and web applications, development environments, build servers, code repositories, micro services, test and staging environments, and line of business applications.

It just makes me think that if download and upload speeds are close to 1gbps, that would suggest that network performance is just great for programs with small requirements, like samp.
Given that cpu and ram usage is acceptable, I would expect perfect like performance; no user in my server will have 0.0 packetloss for long though.

I will have to find a better ec2 instance type for live deployments, possibly out of free tier plan if I actually wanted to pursue perfect networking for gaming, but I will just deal with it as it is, my goal was just to be able to play and give people free servers to use while I satisfy my career assignments.

Edit: the most fitting type would be the newest M6g, but it is only available with ARM processors, good for most modern software but not samp.

The other alternative would be M5 type with intel cpus, oh well

Forum Jump:

Users browsing this thread: 1 Guest(s)