Mirror
  • Mirror Networking
  • API Reference
  • Development Blog
    • A Brief History of Mirror
  • User Manual
    • General
      • Getting Started
      • Script Templates
      • Change Log
        • 2024 Change Log
        • 2023 Change Log
        • 2022 Change Log
        • 2021 Change Log
        • 2020 Change Log
        • 2019 Change Log
      • Deprecations
      • Migration Guide
      • Integrations
      • Timestamp Batching
      • TCP and UDP
      • CCU
      • SyncDirection
      • Round Trip Time (RTT)
      • Connection Quality
      • Lag Compensation
      • Client Side Prediction
      • History Bounds
      • Tests
      • NetGraph
    • FAQ
      • Execution Order
    • Transports
      • KCP Transport
      • Telepathy Transport
      • WebSockets Transport
        • Reverse Proxy
          • Windows
            • IIS
          • Linux
            • NGINX
            • Caddy
            • Apache
            • HA Proxy
        • SSL
      • Multiplex Transport
      • Latency Simulation Transport
      • Ignorance
      • LiteNetLib Transport
      • FizzySteamworks Transport
      • FizzyFacepunch Transport
      • Encryption Transport
      • Edgegap Transports
        • Edgegap Relay
        • Edgegap Lobby
    • Components
      • Network Animator
      • Network Authenticators
        • Basic Authenticator
        • Device Authenticator
      • Network Behaviour
      • Network Discovery
      • Network Identity
      • Network Manager
      • Network Manager HUD
      • Network Ping Display
      • Network Profiler
      • Network Rigidbody
      • Network Lerp Rigidbody
      • Network Room Manager
      • Network Room Player
      • Network Start Position
      • Network Statistics
      • Remote Statistics
      • Network Transform
        • Snapshot Interpolation
      • Deprecated
        • Network Proximity Checker
        • Network Scene Checker
        • Network Match Checker
        • Network Owner Checker
    • Interest Management
      • Spatial Hashing
      • Distance
      • Scene
      • Scene + Distance
      • Match
      • Team
      • Custom
      • Legacy
    • Guides
      • Authority
      • IDs
      • Attributes
      • Time Synchronization
      • Data types
      • Serialization
      • Synchronization
        • SyncVars
        • SyncVar Hooks
        • SyncEvent (Obsolete)
        • SyncLists
        • SyncDictionary
        • SyncHashSet
        • SyncSortedSet
      • Communications
        • Remote Actions
        • NetworkManager Callbacks
        • NetworkBehaviour Callbacks
        • Network Messages
      • GameObjects
        • Player Game Objects
        • Custom Character Spawning
        • Custom Spawn Functions
        • Scene GameObjects
        • Pickups, Drops, and Child Objects
    • Examples
      • Additive Levels
      • Additive Scenes
      • Basic
      • Billiards
      • Multiple Additive Scenes
      • Pong
      • Room
      • Tanks
      • EdgegapLobby
  • Server Hosting
    • The Pragmatic Hosting Guide
    • Cloud Hosting Guides
      • AWS
      • Google Cloud
      • Oracle Free Tier
    • Hosting with a Remote Desktop
    • Edgegap Hosting Plugin Guide
  • Security
    • Security Overview
    • Cheat Protection Stages
    • Cheats & Anticheats
  • Community Guides
    • Community Translations
    • Video Tutorials
    • Resources
    • Mirror Quick Start Project
    • Unity for MMORPGs
    • Unity Canvas HUD
    • Odin Inspector Support
    • Ready Up And Die!
    • iOS AppStore
    • Mirror Docker Guide
    • Gitbook Guide
    • Mirror Branding
    • Contributors Agreement
    • Documentation License
Powered by GitBook
On this page
  • Create and configure your cloud machine
  • Access your machine
  • Create Build
  1. Server Hosting
  2. Cloud Hosting Guides

Oracle Free Tier

Walkthrough for using Oracle Free Tier hosting.

PreviousGoogle CloudNextHosting with a Remote Desktop

Last updated 3 months ago

Create and configure your cloud machine

Access the website. Click on View accounts, then click on Sign up for free Cloud Tier.

Click on Start for free, fill out the form, and create your account. Sign in with your Oracle account. If your account is under validation, wait a few minutes before proceeding with the steps. Click on Set up a network with a wizard. Select Create VCN with internet Connectivity, and click on Start VCN Wizard.

Fill in VCN name and disable the option Use DNS hostname in this VCN, click on Next, and wait.

Click on VCN name to create rules. Select Public-Subnet-network, and then click on Default Security List for network.

Click on Add Ingress Rules, and create the following rules for:

  • Protocol TCP

    • Port range: 80, 443, and 7777

    • Select Stateless option

  • Protocol UDP

    • Port range: 80, 443, and 7777

    • Select Stateless option

Go to Homepage and click on Create a VM Instance. Fill out Computer instance name, and click on Edit in the Image and shape group.

Click on Change image, select Canonical Ubuntu, OS Version 18.04, and click on Select Image.

In the Network group, check if the network is the one created in the previous steps.

In Add SSH Keys, click on Save Private Key. Save this in a safe place; it will be necessary to access your machine.

In Boot Volume, you can specify HD Size, or you can use your 100 GB in one machine. Click on Create and wait. Go back to Home, click on Dashboard > Compute > Instance, select your instance, and copy IP Address.

Access your machine

Open the PowerShell editor and type the following command:

ssh -i [ssh_key_place] ubuntu@[machine_ip]

Example:

ssh -i c:\users\user\desktop\ssh-key-2021-09-15.key ubuntu@0.0.0.0

If you get an error while trying to connect to your cloud machine, you can fix it by right-clicking on ssh-key, select properties > security > advanced > remove inheritance, and delete all other users, keeping only your Windows user.

After you connect, run the following commands to add firewall rules into Ubuntu:

sudo apt install firewalld
sudo firewall-cmd --zone=public --add-port=7777/tcp --permanent
sudo firewall-cmd --zone=public --add-port=7777/udp --permanent
sudo firewall-cmd --reload

Download FileZilla, and follow the steps below to connect to your cloud machine using your ssh-key:

Create Build

In Unity, access File > Build Settings > Select Linux > Mark Server Build. Wait for the build to finish, and then upload your files with FileZilla.

This tutorial uses a server folder, but this is optional.

Use the following commands:

ssh -i c:\users\user\desktop\ssh-key-2021-09-15.key ubuntu@0.0.0.0
cd server
chmod +x ./[your_project_name].x86_64
./[your_project_name].x86_64

Your server should now be running!

https://filezillapro.com/docs/v3/basic-usage-instructions/ssh-private-keys-for-sftp/
Oracle