Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 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
      • SpeechSense integration with Bitrix24
      • SpeechSense integration with amoCRM

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 November 10, 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 for Yandex Cloud and create a billing account:

  1. Navigate to the management console and log in to Yandex Cloud or create 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.

Learn more about clouds and folders here.

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. From 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
    Ingress sessions-u 22005 Any CIDR 0.0.0.0/0
    Ingress 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 where you want to create your VM.

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

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

    4. Click Create virtual machine.

    5. Select Advanced setup.

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

    7. Under Location, select the availability zone where your VM will reside.

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

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

      • Platform: Intel Ice Lake
      • vCPU: 2
      • Guaranteed vCPU performance: 100%
      • RAM: 2 GB
    10. 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 there, create it.
      • Under Public IP address, leave Auto to assign a random external IP address from the Yandex Cloud pool to your VM. Alternatively, select a static address from the list if you reserved one.
      • In the Security groups field, select gta-v-sg.
    11. 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 names reserved for the OS purposes. 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 SSH keys in your profile or you want to add a new key:

        1. Click Add key.

        2. Enter a name for the SSH key.

        3. Select one of the following:

          • Enter manually: Paste the contents of the public SSH key. You need to create an SSH key pair on your own.

          • Load from file: Upload the public part of the SSH key. You need to create an SSH key pair on your own.

          • Generate key: Automatically create an SSH key pair.

            When adding a new SSH key, an archive containing the key pair will be created and downloaded. In Linux or macOS-based operating systems, unpack the archive to the /home/<user_name>/.ssh directory. In Windows, unpack the archive to the C:\Users\<user_name>/.ssh directory. You do not need additionally enter the public key in the management console.

        4. Click Add.

        The system will add the SSH key to your organization user profile. If the organization has disabled the ability for users to add SSH keys to their profiles, the added public SSH key will only be saved in the user profile inside the newly created resource.

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

    13. 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.