Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Tutorials
    • All tutorials
      • Publishing game updates using Cloud CDN
      • Creating an SAP program in Yandex Cloud
      • Deploying a Minecraft server in Yandex Cloud
      • Deploying a multiplayer server for GTA V in Yandex Cloud
      • Converting a video to a GIF in Python

In this article:

  • Get your cloud ready
  • Required paid resources
  • Create a security group
  • Create a VM for the GTA V multiplayer server
  • Install the required utilities and packages
  • Start the GTA V server
  • Test the solution
  • How to delete the resources you created
  1. Application solutions
  2. Other
  3. Deploying a multiplayer server for GTA V in Yandex Cloud

Deploying a multiplayer server for GTA V in Yandex Cloud

Written by
Yandex Cloud
Updated at May 7, 2025
  • Get your cloud ready
    • Required paid resources
  • Create a security group
  • Create a VM for the GTA V multiplayer server
  • Install the required utilities and packages
  • Start the GTA V server
  • Test the solution
  • How to delete the resources you created

To enable multiplayer mode in Grand Theft Auto V from Rockstar Games, you can deploy a multiplayer server on a virtual machine in Yandex Cloud.

To deploy a GTA V multiplayer server in Yandex Cloud:

  1. Get your cloud ready.
  2. Create a security group.
  3. Create a VM for the GTA V server.
  4. Install the required utilities and packages.
  5. Start the GTA V server.
  6. Test the solution.

If you no longer need the resources you created, delete them.

Get your cloud readyGet your cloud ready

Sign up in Yandex Cloud and create a billing account:

  1. Navigate to the management console and log in to Yandex Cloud or register a new account.
  2. On the Yandex Cloud Billing page, make sure you have a billing account linked and it has the ACTIVE or TRIAL_ACTIVE status. If you do not have a billing account, create one and link a cloud to it.

If you have an active billing account, you can navigate to the cloud page to create or select a folder for your infrastructure to operate in.

Learn more about clouds and folders.

Required paid resourcesRequired paid resources

The infrastructure support cost includes:

  • Fee for continuously running VMs (see Yandex Compute Cloud pricing).
  • Fee for using public IP addresses and outbound traffic (see Yandex Virtual Private Cloud pricing).

Create a security groupCreate a security group

Create a security group with a rule that allows traffic to ports 22005 and 22006. These are the default ports in the GTA V server configuration file.

Management console
  1. In the management console, select your folder.

  2. In the list of services, select Virtual Private Cloud.

  3. In the left-hand panel, select Security groups.

  4. Click Create security group.

  5. In the Name field, specify the name: gta-v-sg.

  6. In the Network field, select default.

  7. Under Rules, create the following traffic management rules:

    Traffic
    direction
    Description Port range Protocol Source /
    Destination name
    CIDR blocks
    Inbound sessions-u 22005 Any CIDR 0.0.0.0/0
    Inbound server-http 22006 Any CIDR 0.0.0.0/0
  8. Click Save.

Create a VM for the GTA V multiplayer serverCreate a VM for the GTA V multiplayer server

  1. Create an SSH key pair:

    ssh-keygen -t ed25519
    

    We recommend sticking with the default key file name.

  2. Create a VM with a public IP address:

    Management console
    1. In the management console, select the folder to create your VM in.

    2. In the list of services, select Compute Cloud.

    3. In the left-hand panel, select Virtual machines.

    4. Click Create virtual machine.

    5. Under Boot disk image, in the Product search field, enter Ubuntu 22.04 LTS and select a public Ubuntu 22.04 LTS image.

    6. Under Location, select an availability zone the VM will reside in.

    7. Under Disks and file storages, select the HDD disk type and set the 20 GB size.

    8. Under Computing resources, navigate to the Custom tab and specify the platform, number of vCPUs, and the amount of RAM:

      • Platform: Intel Ice Lake
      • vCPU: 2
      • Guaranteed vCPU performance: 100%
      • RAM: 2 GB
    9. Under Network settings:

      • In the Subnet field, select the network and subnet to connect your VM to. If the required network or subnet is not listed, create it.
      • Under Public IP address, keep Auto to assign your VM a random external IP address from the Yandex Cloud pool, or select a static address from the list if you reserved one in advance.
      • In the Security groups field, select the gta-v-sg security group you created earlier.
    10. Under Access, select SSH key and specify the VM access credentials:

      • In the Login field, enter a username, e.g., ubuntu. Do not use root or other usernames reserved for the OS. To perform operations requiring root privileges, use the sudo command.
      • In the SSH key field, select the SSH key saved in your organization user profile.

        If there are no saved SSH keys in your profile, or you want to add a new key:

        • Click Add key.
        • Enter a name for the SSH key.
        • Upload or paste the contents of the public key file. You need to create a key pair for the SSH connection to a VM yourself.
        • Click Add.

        The SSH key will be added to your organization user profile.

        If users cannot add SSH keys to their profiles in the organization, the added public SSH key will only be saved to the user profile of the VM being created.

    11. Under General information, specify the VM name: gta-v-server.

    12. Click Create VM.

Install the required utilities and packagesInstall the required utilities and packages

  1. Use SSH to connect to the VM you created.

  2. Install the required toolchain packages from the Ubuntu-Toolchain repository, libstdc++6, libatomic1, and the screen utility to run the terminal session in background mode:

    sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
    sudo apt update -y && sudo apt install libstdc++6 libatomic1 screen
    
  3. Download the server distribution to the current directory:

    wget https://cdn.rage.mp/updater/prerelease/server-files/linux_x64.tar.gz
    
  4. Unpack the archive:

    tar -xzf linux_x64.tar.gz
    
  5. Go to the directory with the server and make the ragemp-server file executable:

    cd ragemp-srv
    chmod +x ragemp-server
    
  6. If you want, you can install the RAGE.MP Freeroam package. RAGE.MP Freeroam is a simple modification that gives multiplayer users access to all skins, weapons, and vehicles. Players can also restore health and defense. To install the package:

    1. Go to the directory with the installed server:
    cd ~/ragemp-srv
    
    1. Download the mod distribution from the GitHub developer page:
    git clone https://github.com/n-n1ks/rage.mp-freeroam.git
    
    1. Go to the rage.mp-freeroam repository directory and copy the required folders:
    cd rage.mp-freeroam
    cp -r ./client_packages/* ../client_packages/
    cp -r ./packages/* ../packages/
    

Start the GTA V serverStart the GTA V server

  1. Run the background screen session:

    screen
    
  2. In the background session, run the server:

    ./ragemp-server
    

    Make sure you get The server is ready to accept connections in the output:

    [INFO] Starting RAGE Multiplayer server...
    
    [============================================================]
    ||
    ||      MaxPlayers              100
    ||      Sync rate               40ms
    ||      Name                    RAGE:MP Unofficial server
    ||      Gamemode                freeroam
    ||      Streaming distance      300
    ||      Announcement            disabled
    ||      Voice chat              disabled
    ||      Address                 127.0.0.1:22005
    ||      Connection limits       disabled
    ||      Encryption              enabled
    ||      NodeJS                  enabled
    ||      C#                      disabled
    ||
    [============================================================]
    
    
    [INFO] Loading NodeJS packages...
    [INFO] Starting packages...
    [DONE] Server packages have been started.
    [DONE] Started resource transfer server at 22006 port.
    [DONE] Client-side packages weight: 0.000000 MB (uncompressed: 0.000000 MB).
    [INFO] Initializing networking...
    [DONE] Networking has been started: (IPv4-only) at 127.0.0.1:22005
    [DONE] The server is ready to accept connections.
    

Test the solutionTest the solution

  1. Download and install RageMP on the computer with GTA 5:

    https://cdn.rage.mp/public/files/RAGEMultiplayer_Setup.exe
    
  2. Run Grand Theft Auto V via RageMP.

  3. In the multiplayer window, click the direct server connection icon.

  4. In the dialog box that opens, specify your VM’s public IP address and port 22005.

  5. Connect to the server by clicking Connect.

  6. If you have configured RAGE.MP Freeroam, press F2 to reveal the additional options menu.

How to delete the resources you createdHow to delete the resources you created

To stop paying for the resources you created:

  1. In Compute Cloud, delete the VM you created.
  2. In Virtual Private Cloud, delete the security group you created.

Was the article helpful?

Previous
Deploying a Minecraft server in Yandex Cloud
Next
Converting a video to a GIF in Python
© 2025 Direct Cursus Technology L.L.C.