diff --git a/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/_index.md b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/_index.md index 5b34b04227..683a186bab 100644 --- a/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/_index.md @@ -3,9 +3,9 @@ title: Run a Minecraft server on OCI A1 Arm64 instances description: Provision an Arm64 instance on Oracle Cloud Infrastructure, install the Java runtime, and deploy a persistent Minecraft server for multiplayer gameplay. -draft: true -cascade: - draft: true +# draft: true +# cascade: +# draft: true minutes_to_complete: 10 @@ -20,8 +20,10 @@ learning_objectives: prerequisites: - Review [Get started with Oracle Cloud Infrastructure](/learning-paths/servers-and-cloud-computing/csp/oci/) - Install software that allows you to connect to a running instance over SSH - - Install the Minecraft client on your local laptop, and ensure that you have a Microsoft - or Mojang account to log in (it will help if you know the basics of playing Minecraft too) + - You will need a copy of the [Minecraft Java edition + client](https://www.minecraft.net/en-us/download) installed, and + [a license](https://www.minecraft.net/en-us/store/minecraft-java-bedrock-edition-pc) + for the game. author: Dave Neary diff --git a/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft-client-connect.md b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft-client-connect.md index 4a9fa9ad5c..ec4168c516 100644 --- a/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft-client-connect.md +++ b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft-client-connect.md @@ -11,9 +11,9 @@ layout: learningpathall ### Opening the port for the Minecraft server -Before you connect to the Minecraft server, you will change the network policy to allow clients to -connect to the Minecraft server over TCP port number 25565. To do this, you need to modify the -networking settings for your instance in the OCI dashboard. +Before you connect to the Minecraft server, you will change the network policy to allow clients +to connect to the Minecraft server over TCP port number 25565. To do this, you need to modify +the networking settings for your instance in the OCI dashboard. 1. On the OCI Instances page, choose your Minecraft server instance. 2. In the **Networking** tab, click on the subnet name: @@ -26,27 +26,26 @@ networking settings for your instance in the OCI dashboard. connect), and set the **Destination Port Range** field to 25565. ![OCI Ingress Rules dialog with source CIDR 0.0.0.0/0 and destination port 25565#center](open_minecraft_port.png "Configure an Ingress rule to open port 25565") -You will also need to update the instance's local firewall to allow connections to port 25565 on your instance. -Reconnect to your instance with SSH, and run the following commands on Oracle Linux: +You will also need to update the instance's local firewall to allow connections to port 25565 on +your instance. Reconnect to your instance with SSH, and run the following commands: ``` sudo firewall-cmd --permanent --add-port=25565/tcp sudo firewall-cmd --reload ``` -or the following commands on Ubuntu: -``` -sudo ufw allow 25565/tcp -sudo ufw reload -``` -You should now be able to run your Minecraft server on the OCI instance, then start your client, log in as -usual, and connect to your brand new server! +You should now be able to run your Minecraft server on the OCI instance, then start your client +on your laptop or desktop., You will first be asked to log in with your Microsoft or Mojang account. +Use the credentials you created for your Microsoft account. ### Connecting to the server from the Minecraft client -1. Start your Minecraft client and log in as usual. -2. Choose **Multiplayer** mode - read and click through the warning that third party servers are not operated -by Mojang. -3. To add your server to the menu of available servers, choose **Add server**, name your server +1. Before connecting to the server with the client for the first time, you will need to +[register for a Microsoft account](https://www.minecraft.net/en-us/download). +2. Start your Minecraft client and log in with your Microsoft account credentials. +3. Start the "Minecraft Java edition" client from the launcher. + ![Minecraft launcher screen](minecraft_launcher.png) +4. Choose **Multiplayer** mode - read and click through the warning that third party servers are not operated by Mojang. +5. To add your server to the menu of available servers, choose **Add server**, name your server something meaningful ("My OCI server" for example) and put the IP address of your instance into the **Server Address** field: ![Minecraft multiplayer server dialog showing Server Name and Server Address fields filled in#center](configuring_new_minecraft_server.png "Add your OCI instance public IP address to the Server Address field") diff --git a/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft_launcher.png b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft_launcher.png new file mode 100644 index 0000000000..afb354e5ba Binary files /dev/null and b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft_launcher.png differ diff --git a/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/oci-instance-start.md b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/oci-instance-start.md index 668c866358..1b8ed45064 100644 --- a/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/oci-instance-start.md +++ b/content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/oci-instance-start.md @@ -9,18 +9,16 @@ layout: learningpathall ## Starting an OCI A4 or A1 instance -Once you have [created an OCI account](../csp/oci) and verified that you can start an -instance, you will create an AmpereOne powered A4 instance and connect to it with SSH to -install the Minecraft Java server. +Once you have [created an OCI account](/learning-paths/servers-and-cloud-computing/csp/oci/) +and verified that you can start an instance, you will create an Ampere powered A1 instance +and connect to it with SSH to install the Minecraft Java server. 1. Log on to [Oracle Cloud](https://cloud.oracle.com) 2. On the OCI dashboard, navigate to Compute -> Instances to start a new instance: ![OCI Console Compute dashboard showing the Instances section#center](oci_compute_dashboard.png "Navigate to Compute -> Instances in the OCI dashboard") 3. Click "Create instance", then: - * Choose one of the availability domains offered to you with A4 instances available - * Select "Change shape", and set the instance type to Ampere VM.Standard.A4.Flex - if the - A4.Flex instance type is not available in your preferred - AD, try another, or choose VM.Standard.A1.Flex: + * Choose one of the availability domains offered to you with A1 instances available + * Select "Change shape", and set the instance type to Ampere VM.Standard.A1.Flex: ![OCI instance creation shape settings panel with VM.Standard.A4.Flex selected#center](oci_change_shape.png "Configure the VM instance shape to VM.Standard.A4.Flex") * Beside the instance type, click the small black arrow to open options. Allocate 2 OCPUs and 12 GB of memory to your instance @@ -30,7 +28,7 @@ install the Minecraft Java server. 5. Configure networking as follows: * When prompted, create a new Virtual Cloud Network (VCN) and public subnet if you do not have one already, or choose an existing VCN configuration - * Select "Automatically assign public IPv4 address" to to allow you to access the instance + * Select "Automatically assign public IPv4 address" to allow you to access the instance remotely from your Minecraft server * Create an SSH key pair if you do not have one (and download both private and public keys), or upload the public key for an existing key pair so that you can connect to your instance @@ -54,7 +52,7 @@ ssh -i opc@ ### What you've accomplished -You successfully provisioned an Ampere A1 or A4 virtual machine instance on Oracle Cloud Infrastructure, configured its virtual network to assign a public IP address, and connected to the server securely over SSH. +You successfully provisioned an Ampere A1 virtual machine instance on Oracle Cloud Infrastructure, configured its virtual network to assign a public IP address, and connected to the server securely over SSH. ### Next step