- Newest
- Most votes
- Most comments
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:
-
Prepare your game server build by integrating the necessary Amazon GameLift Servers SDK into your Unreal Engine project.
-
Deploy your game to a cloud hosting solution using CloudFormation. This can be initiated through the Unreal Engine plugin by selecting "Deploy CloudFormation."
-
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.
-
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:
-
Set up input destinations in MediaLive where your Unreal Engine application can push its stream.
-
Configure a MediaLive channel that processes this input and outputs it to MediaPackage.
-
Start the channel, which will then be in a "Running" state waiting for input from your application.
-
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
Relevant content
- asked 3 years ago
- asked a year ago
- AWS OFFICIALUpdated 5 years ago
- AWS OFFICIALUpdated 3 years ago
