How to Host DCS SRS (Simple Radio Standalone) in AWS
SRS is a fantasic piece of software that can be used alongside DCS for voice communication that is also an immersive radio simulation. I was recently asked if I could do standalone hosting for it. The main beneifts I can see from hosting SRS in AWS is that it will have it's own internet connectivity - which can help since voip applications are particularly sensitive to network conditions, as well as being able to pick a central hosting location since SRS is still a client server architecture and not peer to peer. I think people might find value in an accesible rr style turn key solution, but due to the nature of SRS being just a small exe it's arguably fairly straight forward to roll your own with just a startup script, which I'm happy to detail here.
User data is the name AWS gives to parametrisation of instances including scripts to run on startup. This enables starting SRS in AWS with just a user data argument with a standard AWS Windows image. This user data script just turns off windows firewall (to make the SRS ports 5002 TCP/UDP accesible), downloads, unzips, and then starts SRS.
<powershell> Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False $WebClient = New-Object System.Net.WebClient $WebClient.DownloadFile("https://github.com/ciribob/DCS-SimpleRadioStandalone/releases/download/22.214.171.124/DCS-SimpleRadioStandalone-126.96.36.199.zip","C:\DCS-SimpleRadioStandalone-188.8.131.52.zip") Expand-Archive C:\DCS-SimpleRadioStandalone-184.108.40.206.zip -DestinationPath C:\DCS-SimpleRadioStandalone-220.127.116.11 C:\DCS-SimpleRadioStandalone-18.104.22.168\SR-Server.exe </powershell>
From the EC2 Dashboard start with 'Launch instance'.
Pick the Windows image quickstart.
Configure security groups to allow inbound traffic port 5002 TCP and UDP.
Expand 'Advanced details'.
Supply the user data startup script.
And we're good to go. Startup should be a couple of minutes after which your SRS client should be able to connect to the public IP.
SRS doesn't need alot of resources so it could potentially be run for free on AWS's free tier.