Setting up a dmz on azure vds

assd dsad 6 Reputation points
2022-12-16T14:47:09.743+00:00

so im trying to setup a minecraft server inside on an azure vds

i did the setup before on my pc and it worked with some adjustments
im using duckdns for people to connect to my server which is only possible when i open a dmz from my routers settings

so i need to set up a dmz on the vds im using for duckdns to work but theres no router settings and i cant figure it out on control panel.

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,835 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,801 Reputation points Microsoft Employee Moderator
    2022-12-17T20:00:34.067+00:00

    Hello, @assddsad-7149!

    How do I create a Minecraft server on Azure?
    The documentation is going to be your best resource here and while there's too much for me to include everything here, I'll go through the VM creation as best I can (there are a couple variations depending on your Minecraft version and which OS you choose to use). Here is the official documentation:
    https://learn.microsoft.com/en-us/gaming/azure/reference-architectures/multiplayer-basic-game-server-hosting


    Edit: For anyone looking for a complete walkthrough including screenshots of each step, check out this developer blog by Azure MVP cyruswong that goes through the process of creating a Minecraft server on Azure and connecting to it:
    https://techcommunity.microsoft.com/t5/educator-developer-blog/how-to-deploy-your-free-private-minecraft-server-with-azure-for/ba-p/3693328


    These are the steps from the official documentation:

    1. Set up a resource group.
    2. Set up an Azure Virtual Machine, attach a persistent disk and open ports.
    3. Access the new Azure Virtual Machine remotely via maintenance port.
    4. Set up the operating system firewall.
    5. Initialize and format the persistent data disk.
    6. Install the game server dependencies.
    7. Install the game server itself.
    8. Configure the game server.
    9. Run the game server and double check that the ports are open.

    Note: You can use Windows or Linux. In this example I'll be using Windows Server 2016 Datacenter.

    Set up an Azure Virtual Machine, attach a persistent disk and open ports

    We're going to create a virtual machine in the Azure portal (search for virtual machines > select Virtual machines under services > Create / Azure virtual machine).

    In the Basics tab, we'll:

    • Create a new resource group
    • Name our virtual machine
    • Select a region close to our players
    • Pick Windows Server 2016 Datacenter as our image
    • Pick a small VM size like a B2s (10 or less users, bigger VM for more)
    • Set the Administrator Username and Password you'll use to access the VM (use both a strong username and password, as you don't want bots on the internet to guess either of these)

    271741-image.png

    On the Disks tab we'll select create and attach a new data empty disk to the Azure Virtual Machine, to store the game server executable and the data files it produces. The source type is none (empty disk).

    On the Networking tab instructions vary depending on your Minecraft edition so you'll want to refer to the official documentation. Below is an example of what my networking looked like when I was done:

    271751-image.png

    Review and create the virtual machine. It will take a few minutes to complete the deployment.

    Configuring your VM

    At this point, you are ready to connect to your VM and configure it, starting with setting up your OS firewall (steps 3 and 4). These steps will vary depending on which OS you use and your version of Minecraft so pick back up with the official documentation here:

    https://learn.microsoft.com/en-us/gaming/azure/reference-architectures/multiplayer-basic-game-server-hosting#access-the-new-azure-virtual-machine-remotely-via-maintenance-port

    It's going to take some time to get everything set up but I hope this helps you get started. Remember that to save on VM costs, you can deallocate your VM when it isn't in use. Having the server up just during the evenings or weekends could save a lot of VM costs. Best of luck and happy gaming!

    271752-image.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.