I recently picked up rFactor2 (coming from AC) and was frustrated with the process of setting up a dedicated server, so created this detailed guide, that also has an easy way to host on AWS for free. Hopefully this saves someone else a little pain: https://github.com/afloesch/rfactor2-server-setup Let me know if you think it's missing anything.
This is an awesome resource man, going to try this out during the week. Didn't know you could get 100gig of space for free on AWS. Rather silly question, dedi needs to run on Windows; do you need to purchase a windows key for the instance or is this all somehow taken care of on the instance, I'm guessing it;s not running through WINE?
No worries hope it helps. You are correct on not running through WINE. AWS installs a licensed copy of Windows server so you don't have to worry about activating windows. The license cost is covered with the AWS instance cost, and as long as you are running that on instances that are eligible for the free-tier (t2.micro) then you won't pay anything for the instance. If you're new to AWS and signup with a new account they should give you tons of free credits, and I think you get the free-tier stuff for up to a year in addition to the free credits they give you. The cloud companies are competing so hard right now they give away tons of free time to new accounts.
Thanks so much for sharing this. I created my AWS account, and followed instructions but the stack creation keeps failing and rolling back.. I have used the same names fir all items as per instruction.. tried this 6 times with the same failure every time.. any one else had the same issue? QUOTE="McFly, post: 1056098, member: 56598"]I recently picked up rFactor2 (coming from AC) and was frustrated with the process of setting up a dedicated server, so created this detailed guide, that also has an easy way to host on AWS for free. Hopefully this saves someone else a little pain: https://github.com/afloesch/rfactor2-server-setup Let me know if you think it's missing anything.[/QUOTE]
I think the template is only working for us-west-1. When i tried this with another region, it failed. found this info here from the error code: invalidAMIID.notfound https://stackoverflow.com/questions/8969677/aws-error-message-invalidinstanceid-notfound
yeah it installs fine if its set to us-west-1 any way to change the template so that it will work with UK region?
I can confirm I'm having the same issue trying to install on the us-ohio server. Installed it on us-west-1 and it worked great. I'm hopeful the template can be updated to work with other servers. Thank you very much for putting this info together @McFly this is awesome!
Great concept, and great documentation too. Sadly I couldn't get it to work in N.California/us-west-1, using the right key pair (also in same region). I hope dev continues, wish I had the skills to help.
Hello, Thanks much for this tutorial. I have a problem when i apply the template. I have this error S3 error: All access to this object has been disabled For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html When I tried to just upload the template file i have this error: Template format error: YAML not well-formed. (line 128, column 65) What can i do ?
Anyone have any luck getting this to work @McFly doesn't seem to be around anymore. I emailed him twice and no response.
I tried this too with no success. I suppose someone with a bit of time needs to investigate what needs to be done. I have a copy of the cftemplate file that @McFly created
There's some extra server tools that you can describe in your manual for a more complete experience: Live weather plugin: https://forum.studio-397.com/index.php?threads/weatherplugin.58614/ Log analyzer (generate a site with server results including championship manager): https://forum.studio-397.com/index....ffline-and-league-championship-manager.48117/
OK I've done a bit of digging and it seems that the cftemplate file that we are using loads up an image file that no longer exists - or if it does I can't find it. If you want to see what's going on then have a look at the cftemplate file which is written in YAML format. Near to the bottom there is a section that creates the AWS instance. There is a line ImageId: ami-0ae930fa924b34ed3 This image file doesn't appear to exist I'm guessing that @McFly created a server on the AWS system and made an image of this that the script loads up. If that was to be deleted then the script won't be able to create a new version. I think that if we want to be able to do this we'll have to create a new image... Is there any demand for this? As to your error @Tony Raharidzery I can't see any errors with the template file. I have been playing with a new version which seems to work OK - apart from not finding a valid server image