Unreal Engine 5 Dedicated Servers with AWS and GameLift

Build UE5 Dedicated Servers with Cloud Backend - Databases, User Pools, Virtual Machine Hosting, all on the Free Tier!

  • 0.0 (0 Reviews)
  • 0 Students
  • 205 Lessons
  • Stephen Ulibarri

Course Overview

This course uses the AWS Free Tier!

Have you ever wondered how you can let your players launch your game, and connect directly with a server, playing in multiplayer with other players right away?

Or perhaps how you can allow your players to create user accounts for your game, with username, password and email? How do games allow you to sign up for a new user account, receiving a 6 digit verification code in their email, allowing them verify their account for your game?

Have you ever wondered how to save player data in databases, so they can see their achievements in the game, showing their progress, skill level, items, or stats from previous matches? Or how leaderboards are made, showing the top scoring players who play the game across the planet?

How can you run dedicated servers that players can connect to? How can you set up servers in different regions around the globe, providing access to your game to players in different countries, allowing them to enjoy gameplay with the lowest possible ping times? And how to make competitive multiplayer games fair to all players, with an authoritative server optimized to manage server operations, reduce lag and provide a consistent and performant experience for everyone?

This course is a masterclass for dedicated servers and cloud backend for unreal engine games.

By the end of this course, you will be able to:

  • Compile Unreal Engine from source, create client and server build targets, and package dedicated server and client builds of your game

  • Integrate the GameLift Server SDK into your game to connect with GameLift

  • Learn how to make API calls with the AWS (command-line interface)

  • Host dedicated servers, both on your own machine and on cloud-hosted virtual machines (and you’ll know what those are)

  • Learn how to create serverless functions (in AWS Lambda) to access cloud resources and use AWS SDKs

  • Create secure user pools, where your game's players can create their own login/password, with email verification with Amazon Cognito

  • Implement security, requiring temporary access tokens granted via user pool login in order to perform game actions

  • Create your own REST API with endpoints that can be accessed via HTTP request, and secure them to require authentication tokens using Amazon API Gateway

  • Learn about HTTP requests and how to send them from Unreal Engine C++ code, triggering serverless functions and accessing cloud resources

  • Learn about formatting JSON data for HTTP requests, and Unreal's JSON utilities for conversion from JSON to USTRUCTs for ease of use of data retrieved from the cloud

  • Create NoSQL databases, storing persistent game data for players, including game stats, career, and leaderboard info using the DynamoDB, a high-speed, highly optimized system for storing data to databases

  • Implement game lobbies, managed by dedicated servers, displaying player names and efficiently replicating lobby data with Fast Array Serializers

  • Create a sign up/login menu with email verification for new users, and a game Access Portal where we can view Career and Leaderboard data, as well as launch the game lobby

  • Learn AWS best practices when it comes to security, Identity and Access Management, Identity Center, Roles, Policies, and Permissions

  • Learn how to access the AWS documentation for all AWS APIs and how to easily use them to create code to create, access, and manipulate data on the cloud

  • Create and manage Game Sessions and Player Sessions in Amazon GameLift

  • Create Server and Client packaged builds of your game, and connect to the server from client builds without any external tools (just launch the game, sign-in in the game, connect in the game)

  • Connect to cloud services without even being connected to a game server (single-player games)

  • Closely monitor your aws billing and management console and setup billing alarms

And so much more!

You’ll be creating an AWS account and learning how to manage it using recommended best practices for the cloud. All of the core features of this course use the free tier, aside from two optional lectures using advanced security features in AWS for custom access token scopes – which cost me less than .69 cents to implement for this course. But you can skip those two lectures if you wish to stay in the free tier.

I’ve created and provided you with an FPS template project as a starting point, with shooter mechanics so we can have some stats to save to the cloud, but it’s not required – you can use your own game project, or a completely empty game project if you want! This course is about creating and hosting servers and setting up the cloud backend for your games.

We’ll be downloading and compiling Unreal Engine from source – which means you will need at least 230 GB of storage for this course. You must know the basics of Unreal Engine C++. You must use an Unreal source build of at least UE5.4 or above. (You can use the latest version of the engine, everything works).

You do NOT need any experience or knowledge of cloud architecture.

It’s time to take your games to the next level, and learn how shipped games manage their users, data, and their game servers.

Are you ready to upgrade your game development skills? I’ll see you in the course!

See more

FAQ

FAQ area empty

Course curriculum

16 chương 205 bài học 33 giờ 25 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Getting Started
Chương 3 AWS Account
  • AWS Account 6:42
  • AWS Billing Management 18:42
  • Identity Center vs IAM 5:17
  • Identity Center User 8:43
  • Permission Sets 10:29
  • Section 3 Quiz
Chương 4 Integrating GameLift with UE5
  • Game Mode 16:05
  • Command Line Arguments 20:36
  • On Start Game Session 23:42
  • On Process Terminate 4:46
  • On Health Check 3:31
  • Port 11:22
  • Process Ready 5:11
  • Packaging the Game 5:13
  • OpenSSL Binaries 5:09
  • Section 4 Quiz
Chương 5 GameLift Anywhere Fleets
  • The AWS CLI 2:15
  • AWS Configure 12:18
  • Create Location 14:07
  • Anywhere Fleet 5:10
  • Register Compute 6:07
  • Get Compute Auth Token 13:41
  • Testing the Dedicated Server 3:13
  • Create Game Session 8:05
  • Create Player Session 7:49
  • Section 5 Quiz
Chương 6 GameLift Fleets
  • Virtual Machines Basics 7:33
  • Build Install Script 5:13
  • Upload Build 6:30
  • Creating GameLift Fleet 15:49
  • Connecting to the Server Build 7:02
  • Deleting the Fleet 1:16
  • Section 6 Quiz
Chương 7 AWS Lambda
  • Serverless 3:36
  • Creating a Lambda 13:59
  • Anatomy of a Lambda Function 5:27
  • Testing a Lambda 6:55
  • Console Log 8:57
  • List Fleets 20:11
  • Try Catch 9:04
  • Section 7 Quiz
Chương 8 API Gateway
  • API Gateway - Our Plan 11:13
  • API Gateway 14:24
  • Creating a Module 10:42
  • Dedicated Servers Game Mode 19:26
  • API Test HUD 13:17
  • List Fleets Widgets 14:30
  • HTTP Request Manager 13:38
  • Game Sessions API Data Asset 18:21
  • Making an HTTP Request 14:50
  • Parsing an HTTP Response 10:45
  • Parsing the Metadata 19:10
  • Parsing the Payload 8:00
  • Parsing Errors 10:29
  • ListFleets Callback 12:43
  • Displaying Fleet Data 9:34
  • Section 8 Quiz
Chương 9 Game Sessions
  • Portal Setup 20:14
  • JoinGame Callbacks 9:40
  • Describe Fleet Attributes 18:11
  • Looping Over Fleets 5:37
  • Describe Game Sessions 12:20
  • Create Game Session 15:53
  • Find or Create Game Session Endpoint 6:02
  • Find or Create Game Sessions HTTP Request 10:43
  • Game Session Struct 11:18
  • Parsing the Game Session Response 14:07
  • Section 9 Quiz
Chương 10 Player Sessions
  • Create Player Session Lambda 12:23
  • Create Player Session Endpoint 3:22
  • Handle Game Session Status 13:55
  • Serializing Content 11:26
  • Player Session Struct 8:35
  • Parsing Create Player Sessions 8:35
  • Traveling to the Server 3:24
  • Testing Absolute Travel 7:17
  • Section 10 Quiz
Chương 11 AWS Cognito
  • AWS Cognito 6:05
  • Creating a User Pool 7:15
  • Sign In Page Classes 11:51
  • Test Buttons 8:06
  • Sign In Page 9:59
  • Sign Up Page 6:38
  • Confirm Sign Up Page 3:11
  • Success Confirmed Page 2:07
  • Widget Switcher 6:12
  • Sign In Page Callbacks 17:11
  • Enforcing a Strong Password (optional) 29:44
  • Sign Up Lambda 11:56
  • Confirm Sign Up Lambda 11:57
  • Sign In Lambda 10:45
  • Portal API 9:07
  • Separation of Concerns 5:46
  • Game Sessions Manager 9:12
  • Cognito Response Structs 12:58
  • Sign Up HTTP Request 5:21
  • Sign Up HTTP Response 11:46
  • Confirm Sign Up HTTP Request 27:03
  • Require Six Digits 5:56
  • Sign In HTTP Request 12:46
  • Section 11 Quiz
Chương 12 Access Tokens
  • Preventing Duplicate Emails 20:54
  • Local Player Subsystem 11:55
  • Refreshing Tokens 17:17
  • Dependency Injection 9:43
  • Dashboard Plan 2:04
  • Dashboard Classes 11:16
  • OnSignIn 8:15
  • Switching Dashboard Widgets 4:39
  • Dropdown 25:07
  • Cognito Sign Out Lambda 7:11
  • Cognito Sign Out Endpoint 2:43
  • SignOut HTTP Request 3:40
  • Account Dropdown - Expanded 14:07
  • Getting the Access Token 5:37
  • Username and Email 21:20
  • On Sign Out 7:46
  • Custom Scopes - Resource Server
  • Custom Scopes (optional) 11:32
  • Pre Token Lambda Trigger (optional) 8:48
  • Adding the Authorization Header 14:44
  • Testing the Packaged Build 5:56
  • Section 12 Quiz
Chương 13 Lobbies and Timers
  • Lobbies, Timers, and Player Sessions 18:59
  • Countdown Timer Handle 10:16
  • Calculating Single-Trip Time 10:11
  • Timer RPCs and Delegates 7:05
  • Starting Timers 19:40
  • Timer Widget 27:01
  • Match Game Mode 24:52
  • Lobby Game Mode and Game Instance Subsystem 18:33
  • Lobby Timer 14:37
  • Lobby Map 7:50
  • Transition Map 3:16
  • Travelling Back to the Lobby 4:38
  • Input Settings 19:30
  • Quit Button 15:20
  • Pretty Timers 10:54
  • Section 13 Quiz
Chương 14 Accepting Player Sessions
  • Parsing Options 12:06
  • Accept Player Session 20:34
  • Remove Player Session 10:59
  • Testing Player Sessions 20:36
  • Fast Array Serializer 16:36
  • Lobby State 8:24
  • Player Info Delta 8:44
  • Game State 9:30
  • Lobby Widgets 17:10
  • On Player Removed 3:45
  • Adding and Removing Players 8:10
  • Player Label Widgets 6:05
  • Testing the Lobby 4:07
  • Section 14 Quiz
Chương 15 DynamoDB
  • DynamoDB Players Table 7:19
  • Post Confirmation Lambda Trigger 15:57
  • AdminGetUser 12:56
  • GetItem 7:56
  • PutItem 8:36
  • Game Stats API 5:23
  • Record Match Stats Input 7:00
  • Record Match Stats HTTP Request 5:41
  • Record Match Stats Test Widget (optional) 10:27
  • Recording Match Stats 19:09
  • Retrieve Match Stats Lambda 15:13
  • Retrieve Match Stats Endpoint 2:45
  • Retrieve Match Stats HTTP Request 4:32
  • Retrieve Match Stats HTTP Response 8:46
  • Career Achievements Widgets 15:32
  • Filling in Match Stats 21:13
  • Career Widget Blueprints 21:47
  • Testing Career Stats 10:23
  • Section 15 Quiz
Chương 16 Leaderboards
  • Leaderboard Table 2:02
  • Retrieve Player Data 24:40
  • Retrieve Current Wins 13:53
  • Update Leaderboard 6:40
  • Slice Top 20 14:01
  • Retrieve Leaderboard 7:09
  • Leaderboard API Endpoints 3:38
  • Update Leaderboard HTTP Request 7:49
  • Retrieve Leaderboard HTTP Request 11:05
  • Updating the Leaderboard 13:57
  • Leaderboard Widgets 13:48
  • Populating Leaderboard Widgets 7:32
  • Leaderboard Widget Blueprints 8:15
  • Testing the Leaderboard 1:42
  • Auto Sign In 8:17
  • Testing on EC2 22:26
  • Section 16 Quiz

Requirment

  • Must know the basics of Unreal Engine and C++

  • Must have 230+ GB of storage for an Unreal Engine source build

Outcomes

  • Compile Unreal Engine from source and package dedicated servers

  • Integrate your Unreal Engine game project with cloud backend services

  • Save persistent data to cloud databases from within Unreal Engine

  • Create secure user pools for your games so players can log in from within the game

  • Create Dedicated Server-hosted lobbies

  • Manage game sessions with Amazon GameLift

  • Learn cloud architecture and become an AWS cloud architect

Instructor

...
Stephen Ulibarri

0.0

  • ... 0 Student
  • ... 4 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com