Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to upload my Unity Game on Live server like AWS

Discussion in 'Getting Started' started by astechnolabs, Jul 21, 2021.

  1. astechnolabs

    astechnolabs

    Joined:
    Jul 11, 2021
    Posts:
    20
    I had made game,
    I have 0 Knowledge of How & what to upload on my server for making my game publically live with database connect

    I had used :
    - Unity Version 2020.x.x
    - MongoDB 4.0.x
    - Server ( I want to live on ) : AWS

    Kindly Help me to get my app live. Thanks in advance.
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    AWS is a cloud server platform, which can host any number of different kinds of servers. But for a linux server, you'd typically just scp the files to it, like copying files to any linux computer. But if you're asking these kinds of questions, you really need to spend a lot of time learning what you're getting into.
     
  3. astechnolabs

    astechnolabs

    Joined:
    Jul 11, 2021
    Posts:
    20
    Thanks @Joe-Censored ,

    I Have knowledge about Like how to deploy NODE code on aws. but have not any idea about what to upload on live server in UNITY.

    I am newbee in unity that's why, and need to learn. any reference article?
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Well you would copy the entire output folder when you create your build. But your question is really an IT question, not much to do with Unity. I'd be checking if AWS offers MongoDB as a turn key service. If not, the approach might be similar to hosting your game anywhere else.

    Meaning, rent a Linux server with an appropriate linux distro for your needs. Install the DB server software. Properly configure the DB server for your access and security needs, and create or import any databases needed. Copy your Linux build to the server, and try it out. If you don't have any Linux experience, you could consider a Windows server if that would work, but you'll probably be better off just investing the time to learn Linux.
     
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Have you written your game yet? That's the first step! And is this a WebGL game that users will be playing in their browser? Or do you plan to have users play the game on their phone. Only a WebGL game needs a server. While you are developing your game, just use PlayerPrefs instead of a database for prototyping.
     
  6. astechnolabs

    astechnolabs

    Joined:
    Jul 11, 2021
    Posts:
    20
    We're making multiplayer game, so database is needed, as wolrdwide players are joining so.

    We'want on webGL, android nd ios all. and need to sync all user with all device, that's why database needed. if user join with WebGL, nd next day he join with android game, then his "points" in game needs to be update so.
     
  7. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Have you written your game yet? Don't worry about multiuser until you have your gameplay working. Users typically don't "run" the game on the server remotely, but use a multiplayer library and host the database on a server.
     
    Vryken and Joe-Censored like this.