So, prepare the docker-compose.yml and host the yml on minecraft directory. Make sure you are re-login after setup that.Ĭheck your docker installation. Note: Since I want to use docker without sudo for my ubuntu user, you might want to read this. You might want to read this article on how to install the docker. Update our package reference using sudo apt update. Make sure you can SSH to our previous EC2. Select the instance you've created before. You will get the notification message, and click the Associate this Elastic IP address button. I use default options, and click Allocate. After that click the Allocate Elastic IP address button. Go to the VPC page, and select Elastic IPs. I use 25 GiB.Ĭlick Launch instance in the summary section. Please fill in your desired volume size in Configure volume section. Click on the source, and make sure you choose 0.0.0.0/0. Port 25565 will be used to host the Minecraft server. Click Add security group rule, and fill in the Port range for Security group rule 2 with 25565. Update the Security group name with an appropriate name, for example, minecraft-server-security-group, etc. Make sure you've selected Create security group. I disable Auto-assign public IP since I will use Elastic IP. After that, choose the subnet as you wish. Please click Edit on the Network Setting section. You will need this to SSH into your server. If you don't have it yet, you may create new key pair using Create new key pair link. But, I will recommend using t3.small as a minimum specification.Ĭhoose your key pair. Feel free to choose another instance type. I'm using t3.small since I will not have many users on my own server. But, you will need to find how to set up Docker for your selected OS. After that, please make sure the number of instances is 1. After that, click Launch Instances.įill in the EC2 name. Make sure you are visiting the correct region.Ĭlick on Instances. For Ubuntu, you can check this article on how to install it.For Windows, you may use putty or another SSH client.We will use Docker to run the Minecraft Server to minimize the setup of our AWS EC2. Hello, everyone! How are you today? I'm going to explain about setup Minecraft Server on AWS EC2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |