Thanks a lot for the golden info @James-AWS !
Gamesparks indeed has many great features, but looking at its pricing i think this is not for me (a prototype or small project of a just starting developer). At the bottom of this page there is a ‘Per month’ fee: https://gamesparks.com/pricing/ If i understand this correctly, this is the base cost. So i think as starter, im gonna go with AWS Cognito for auth and work out some social features myself.
I have a follow-up question pls. Is there a way to see resource usage data, especially memory, on a given instance in a Fleet in Gamelift? I want to be able to fine tune provisioning based on resource usage by Realtime scripts on game servers.
So maybe there is plenty of unused CPU left, but since all the memory is used up, Gamelift spins up another instance (based on scale config ofc). Or vice-versa. And maybe choosing another EC2 type would be more efficient with the given Realtime scripts.
The only place i found a description about memory usage monitoring is this EC2 related one: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html But here i supposed to install something to be able to get the data and i think i won’t be able to do that if i use Realtime servers. Am i missing some information? How would you do this kind of monitoring?
Edit: ok, looks like there is a workaround. I can get CPUUtilization of a given EC2 instance. So i can check this when there are more than 1 instances running and if the CPU usage is not 100%(probably the threshold is a bit lower than this) on the first instance, then the scale out most probably happened due to insufficient memory. Still nothing concrete, but at least i have a hunch.
Maybe i should ask this topic in a separate question. Coz im also wondering if i have one, almost fully utilized instance(let’s say i can catch this point somehow) and if i check the number of the game sessions (reference here) and divide the instance’s max memory with this number, then i can get the memory used for one session… Probably im already too deep down the rabbit hole. Not sure these insights are really going to help. But im curious anyway.