Skip to content

Need help making Unreal Engine 5 Pixel Streaming project auto-start when clients open the link

0

Hi everyone, I’m currently running an Unreal Engine 5 Pixel Streaming project through AWS. Everything works fine, but the project only starts when I manually run it. What I want is for the project to automatically open and stream whenever someone visits the project link, without me having to manually start anything. I found this AWS blog that I believe explains how to achieve this: https://aws.amazon.com/blogs/gametech/deploy-unreal-engines-pixel-streaming-at-scale-on-aws/ It seems to cover the full deployment process, but I got stuck and don’t really know what to do next to make it work the way I want.

Could someone please guide me on how to deploy this setup so that the Unreal Engine 5 Pixel Streaming project runs automatically when a client opens the link while keeping it as cost-effective as possible?

Thanks in advance!

asked 12 days ago35 views
1 Answer
0

Based on your question about auto-starting an Unreal Engine 5 Pixel Streaming project when clients open a link, I can provide some guidance on deployment approaches using AWS services.

For game deployments on AWS, you would typically use Amazon GameLift Servers, which provides managed EC2 instances for hosting your game. When properly configured, this service can automatically launch server processes that are ready to start game sessions when clients connect.

The deployment process involves several key steps:

  1. Prepare your game server build by integrating the necessary Amazon GameLift Servers SDK into your Unreal Engine project.

  2. Deploy your game to a cloud hosting solution using CloudFormation. This can be initiated through the Unreal Engine plugin by selecting "Deploy CloudFormation."

  3. During deployment, AWS will validate your server build, provision hosting resources, install your game server, and launch server processes that are ready to host game sessions.

  4. Once deployment is complete, your game server will be installed on AWS EC2 instances with at least one server process running and ready to start a game session when clients connect.

For a streaming solution specifically, you might also consider using AWS Elemental MediaLive in conjunction with MediaPackage. This would allow you to:

  1. Set up input destinations in MediaLive where your Unreal Engine application can push its stream.

  2. Configure a MediaLive channel that processes this input and outputs it to MediaPackage.

  3. Start the channel, which will then be in a "Running" state waiting for input from your application.

  4. When clients access the endpoint URL, they can view the stream through a preview window.

To make this process automatic, you would need to configure your EC2 instances to start your Unreal Engine application as a service that launches on instance startup, and ensure your MediaLive channel is in a running state ready to receive the stream.
Sources
Step 10: Start the upstream system and the channel - MediaLive
Plugin for Unreal: Deploy your game to a managed EC2 fleet - Amazon GameLift Servers
Game engines and Amazon GameLift Servers - Amazon GameLift Servers

answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.