How to Host Your UE4 Dedicated Server on AWS for FREE

How to Host Your UE4 Dedicated Server on AWS for FREE



Hello guys and welcome back to another video! In this video I will show you how to utilize Amazon Web Services free tier, and how you can upload your dedicated server to host your game 24/7.

LINKS:

The Packaged Game I Used In The Video:

TIMESTAMPS:
00:00 – Intro
1:00 – AWS Account Creation
2:22 – Create Virtual Machine
6:35 – Visual Studio Setup
10:00 – Project Setup
10:50 – Dedicated Server
14:00 – Package Your Game
17:50 – Test Your Server
19:37 – AWS Server Setup
20:22 – Firewall Ports
24:00 – Install UE4 Prereqs
25:59 – Joining The Server
27:00 – Outro

47 thoughts on “How to Host Your UE4 Dedicated Server on AWS for FREE

  1. Used their free tier and it's crap.. Got billed after 3 days. Even after being careful about usage, Lot of hidden stuff, so be careful before hosting anything. Looks can be deceiving

  2. Great work dude! This took me a full day to implement on my RPG project but it worked, dude! This tutorial totally works to get us crayon eating blueprinters past a huge hurdle and into the mud. For anyone struggling: 1)Grab the Unreal Engine 4.25 source build as it won't show up as 4.25.3. 2) If your RDP fails to connect after closing it and re-opening it, simply redownload the Remote Desktop file and grab your password with that file again!

  3. Hi.. Iam using T3a 2x large instance.. But iam unable to run windows app and unreal engine..

    "direct x 11 feature 10 is missing " this is the error iam getting.. Can someone help me

  4. Great tutorial. Could you make to tutorial how can players create their own sessions on the server? Thanks!

  5. It seems like there is a good opportunity here if someone one day makes a simple plug and play multiplayer integration system for unreal. Like just toggle if you want multiplayer for your game or not and it does the rest. Maybe a flat fee for the setup and then a monthly subscription or each multiplayer server you have running. Who ever does that please take my money. It’s worth it to stop looking through all these complicated YouTube tutorials on how to set it up.

  6. I get
    Build started…

    1>—— Build started: Project: TestAWS, Configuration: Invalid Win32 ——

    1>The selected platform/configuration is not valid for this target.

    ========== Build: 1 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========
    When i hit build…. Any Ideas why?

  7. hi i got an error on switching the project in to Unreal Engine if i had 4.25.4 and try to switch it into 4.25.4 And Paste The UE4 Server.cs File I got a Error that not this {Project Name} Server error etc etc

  8. Great info, thank you! Have you looked at using pixeling streaming and setting up a multiplayer model like you have created here on a AWS sever?

  9. The guy who complains about the elastic IP being billed, this is the reason: "To ensure efficient use of Elastic IP addresses, we impose a small hourly charge when these IP addresses are not associated with a running instance or when they are associated with a stopped instance or unattached network interface."

    So if you're server is off or your elastic IP not associated, better to delete it (Dissociate it and after release it) or you will be charged.

  10. Hello, Thanks a lot for this information; we are putting together a team to make virtual production with UE; the team is located in different parts of the world, so we are figuring out ways to run UE on a server, not for game development but for video production. I was wondering if you would be interested in discussing this project with us? Thank you!

  11. hello, thanks for the tutorial. I don´t have experience in multiplayer and I would like to know if you can solve me a doubt. In a real multiplayer game should I have opened up thounsands of instance of the server map in a decated server if I want the game to be accesible to thousands of people although the logic of the game is between two players. For example in the videotutorial you open one instance of the game in a dedicate server in log mode and people can join to the map, but I suppose that if the game would be between two other people, other people that want to play should wait until two player finish the match if only there is one instance opened up in the dedicated server. Am I right?.

  12. 13:00 I get 551 errors when I try to build the project. They mostly look like they have to do with not being able to open the files. (Severity Code Description Project File Line Suppression State

    Error (active) E0077 this declaration has no storage class or type specifier MyAWSGame E:UnrealEngine-4.25.3EngineSourceRuntimeEnginePublicAnimationAnimCompressionTypes.h 112 ) (Severity Code Description Project File Line Suppression State

    Error (active) E1696 cannot open source file "LevelEditorPlayNetworkEmulationSettings.generated.h" MyAWSGame E:UnrealEngine-4.25.3EngineSourceEditorUnrealEdClassesSettingsLevelEditorPlayNetworkEmulationSettings.h 9)

  13. Hello i got a problem when i try to connect a client to a server : The ouput log say in loop "LogWorld: Warning: SetActiveLevelCollection attempted to use an out of date NetDriver: GameNetDriver" could someone help with this issue

  14. Hello, can you confirm that we can use launcher version to create a dedicated server rather than sourcebuilds?

  15. Hi, I have developed a game for training purpose. and now I want to have it on web browser or similar, so that trainee doesn't have to download the game. What possible solution can be? thanks

  16. look at this what could be the matter. steam listen 4.25.3 https://www.youtube.com/watch?v=M9JtVUsOOZY&feature=youtu.be

  17. Is there a way to visually view how many players are in the server (back-end) and to display through UI (front-end)?

  18. biggest mistake to make inbound rules opened to everyone. You basically only want to set TCP/UDP opened to specific port(the one you specify while running your UE4Server.exe file). Otherwise you end up with your windows server being hacked in few hours after its initial launch.

    Also how is the performance compared to unix based server?

  19. Hey does this work with unity cause I made a dedicated server from Tom wielmend and if I publish that from this that would be awesome

  20. 11:46 – If you can't build the engine server for some reason, change the "UE4Game" to just your games name without the "game" part after it. Then go refresh and build. I was so dumb and actually thought "game" was needed to be added after our game title. Happy Coding

  21. The last time I followed a tutorial for AWS ended up in a 90 Euro bill – and I still have no idea for what it was. Never ever again.

  22. you can leave the link to the github files, because it is not going at all, it only gives a page not found..please.

  23. Thanks.. This is one step forward after following your previous tutorial of creating dedicated multiplayer server I haven't succeed yet..

    By the way, after doing the inboud and outbound rules of the security groups launch-wizard-1, and assigning elastic IPs, I can not connect to the RDP, It's stuck in the Configuring Remote Session.. Do you have any idea?

    #EDIT
    I redownload the RDP and it suddenly works.
    I finished the tutorial and it works. I heard this EC2 is not scalable. If you wish to have a scalable, you should use gamelift. Do you have any idea of how to use it? I haven't found a simple tutorial like this one about gamelift? Also from the AWS SDK it works with Unreal 4.24, I don't know yet about 4.25 compatibility.

    #EDIT 2
    Oh, and it's also multiplatform, I use this tutorial, and build for x64 and android APK and we meet in the server

  24. when i open the port 127.0.0.1 in the game. nothing happens on the server console. I did manage to get it to do say some text once but it the client doesnt seem to connect.

  25. So when I run the GenerateProjectFiles.bat I get the error C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuild15.0
    binRoslynMicrosoft.CSharp.Core.targets. What did I do wrong?

  26. hi everyone pls if someone knows how to fix this error help me pls Warning: OSS: No game present to leave for session (GameSession)

  27. Smart Poly, thanks for tutorial but i am recently finding tutorials that implements Voice Chat with dedicated server completely.

    also if you know how to implement Vivox Positional voicechat, could you?, i find its poorly documented and there's no tutorial so i am struggling it… :(.

  28. am in computer science and i started learning Unity engine for one month and i heard about unreal engine is very powerful so, i moved to learning unreal engine, i was studying ue4 for 1 year and decided to make a small game like GTA and mafia game, i decided to make it in one year and i spent 3 month till now in the game, i learned how to make AI shooter,races,cinematic,police chasing and etc , i know how to code with c++ and blueprint so, i want ur advise if i can continue my dream or not ????

  29. am in computer science and i started learning Unity engine for one month and i heard about unreal engine is very powerful so, i moved to learning unreal engine, i was studying ue4 for 1 year and decided to make a small game like GTA and mafia game, i decided to make it in one year and i spent 3 month till now in the game, i learned how to make AI shooter,races,cinematic,police chasing and etc , i know how to code with c++ and blueprint so, i want ur advise if i can continue my dream or not ????

Leave a Reply

Your email address will not be published. Required fields are marked *