Interestingly enough, it looks like SmartFox needs port 8080 opening up on the AWS Security Group firewall. You can perform the following commands on that sfs2x-service: home/ubuntu/SmartFoxServer2X/SFS2X/sfs2x-service stop home/ubuntu/SmartFoxServer2X/SFS2X/sfs2x-service start So, you can go ahead and start the damn thing. However, that executable will also have the wrong environment variables because they are inherited. rwxr-xr-x 1 tom staff 5.7K RELEASE-NOTES.htmlĭrwxr-xr-x 9 tom staff 306B third-party-licenses Yes, you can use a 'Run executable' action to execute it and save the output to an installer variable. rwxr-xr-x 1 tom staff 71K LicenseAgreement.pdf rw-r-r- 1 tom staff 48M SFS2X_unix_2_0_1_64.tar.gzĭrwxr-xr-x 9 tom staff 306B SmartFoxServer2X Select your new server instance, and right click it and you get this menu. This is the firewall of Amazon EC2.Īdd inbound rules for SSH, HTTP and HTTPS. Keep this safe, because if you lose it, you’ve effectively lost the master key to your new server. When you click “Download Keypair” your browser will save the private key. You now need to create a SSH key, and name that too. Select “Classic Wizard” and this AMI to boot. Select a method to configure your instance When you click to create an instance you get this chooser: This all assumes you know a bit about linux, but if you create your first instance using Ubuntu Linux 12.04 64-bit server, it’ll make everything a bit easier! Once you’ve got an account, go here and start an EC2 instance. You’ll need to provide them with a credit/debit card number, but they won’t charge you as long as you keep within the free tier resource limits. They’re a pure webhost, and you need somewhere you can configure and install Java, and the SmartFox server. I’m 99.99% certain that you can’t use the free package at 000webhost to do this. You’ll need to get a VPS, or at least an Amazon EC2 cloud instance to run this on. I do not understand, do I have to put my game and my smartfox instance on a remote server, vps, dedicated server or what? The Answer There is an article explaining what needs to be done - hxxp:///GettingStarted/installation But I need to put my smartfox instance somewhere where it is publicly available. My game works absolutely fine on localhost. Now I want to put this game on my website which is hosted on 000webhost. I have made a ActionScript 3.0 Flash game and implemented multiplayer functionality using SmartFoxServer. This one is fairly specific to SmartFox Server towards the end, but the first few bits about creating an instance, and adding stuff to the security group should be generic enough to be useful. I had a good look around, but didn’t find any true step-by-step EC2 tutorials for proper beginners. The question was about how to configure a Flash game server on Linux, but on EC2. This has been roughly adapted from this ServerFault question for the case when it gets removed/deleted/closed. I would no longer recommend a security group rule for port 22 to 0.0.0.0/0 Do not use any of the defaults shown below. Devopstom's Blog Step By Step AWS EC2 TutorialįebruThis blog post is *ancient*, and preserved only for historical record.
0 Comments
Leave a Reply. |