For anyone just starting out: it is usually a good idea to use a whitelist, which is a list of all players allowed to access the server. Otherwise, if you make the IP address public, someone shares it, or someone guesses it, they can connect to your Minecraft world. I had a server that temporarily had no whitelist, and two players called one of my friends a few slurs and griefed the server. Thankfully, we had a backup from only a day or so before they logged on.
Nice tutorial. I substituted the bedrock edition as I wanted my younger son to be able to play from the playstation (PS4) along with any of my kids' friends who might be on console or mobile, while my older son I joining from his recently build PC. Main diff besides the obvious stuff done inside Ubuntu itself (I found a site that gave those step fairly well), for the security group inbound rules I had to do both TCP AND UDP (where as you only show TCP) and for bedrock the port is 19132 (for IPv4).
Great job! You should add some notice about the latest minecraft server version 1.17 which requires java 16 while the one you use in the video is 1.16 only require java 8. Other than that, amazing tutorial!
To install the latest version of minecraft, it will most likely not run on Java 8 as seen in the video. 1) Remove java (use the below command) (only do this step if you already have a version of java installed) sudo yum -y remove java* 2) Install latest version of java (use below command) sudo yum install java That should allow you to properly install the server files
I have run minecraft java server on t2.micro which is free tier I have to setup swapfile of 4GiB ... And set server in loop because due to low memory condition, server can bring to state that crash itself The performance is not too bad or good.... on 1 player without modding, you can expected good playing but sometime it said player move too quickly but less frequently
Thanks for the tutorial. I didn't think it would be this easy. A doubt I have - What's the difference between using an AWS server and paying Amazon over paying a hosting service which advertises Minecraft servers and costs less?
To install the latest version, you actually don't specify the version number. Do the following if you've already downloaded java 8 (1.8.0) 1) Remove java (use the below command) (only do this step if you already have a version of java installed) sudo yum -y remove java* 2) Install latest version of java (use below command) sudo yum install java That should stop the errors
how to keep the server always running even when I close the ec2 terminal. I want my friends be able to play without me having to open the server for them
After 1.13 Minecraft I find it hard to run a normal installation on one gigabyte of ram so I don’t even see how it would be possible on half a gig of ram
Great question! Unfortunately only the Micro is free, the medium cost a fraction of a cent an hour. As long as you are disciplined about turning off your instance after you play, you should only spend between $3-$8 a month
@@isaacscott6225 Thanks for the reply! One more question. The T2 micro has one GB of ram. When I tried to set up the server I gave it 800MB because you can't give it all of your ram. However, I noticed that the server wouldn't start with that little ram. I think the minimum is 1 GB. Is there anything I'm missing? Or is it not possible to host a server in T2 Micro?
@@nitrothescout6765 it is super hard if not impossible to make the server run on t2 micro. you can generate a world in 1.12.2, but your friends will most likely get disconnected when they try to join. Forget about 1.19, that one will crash regardless with that little amount of RAM.
if you dont want to put your credit car info while sign up you need to create a amazon account after that click on i forgot my password on aws sign in page and do the reset password after that your account will be created
Hi Isaac. Thanks for the info and tutorial. I'm just wondering what is the "catch" here with the free server on Amazon. Is it totally free? Is there a time limit?
my server is up and running but every time I join after a few seconds it says "Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host." can somebody pls tell me how t fix this?
Good suggestion, I will work on getting one together. I have been swamped with things recently and haven't had a whole lot of time to focus on this channel. But I want to start making videos again soon and putting more time here. The command I used to for making myself be able to use commands in minecraft is just: "op "
The part where he made a player a server op is the same commands used within Minecraft. In minecraft, you can use "/op [player]" or "/tp [player1] [player2]". This is the same, but without using the "/"
Good question, if you make sure you start and stop the instance when you aren't using it, you will only get charged what you use. So you could grab the biggest instance on aws, and if you only use an hour a day, you probably won't get charged too much
Good question! If you are clicking stop instance in the AWS UI, then you will just need to select the instance and then start it again. If you typed stop in the command line, to start the same world you need to type the java command again (sudo java -Xmx2G -Xms2G -jar server.jar nogui). Something to note, if you stop the AWS instance and start it back up again your public IP will change so you will need to change that in the minecraft multiplayer options
how much ram did you allocate to minecraft? sorry for answering 5 months later you probably already got it fixed. make sure the ram you allocated to minecraft is less than the total ram of the instance (in this case only 1gb)
Run screen, then the server. To exit the screen session, use ctrl + A, D, and to go back to the screen session, use screen -r. Screen will stay running even if you close the command prompt, but you will have to restart the screen session and server when you restart the instance on aws, unless you create a script to do it for you on boot
Hi All Behlil! Thanks for reaching out. To transfer a folder via SCP you will need to zip it first. For more details on how to do that check out the other video on my channel, which is uploading world folders
That works! Another thing you can do is, after you run your command to start the server, press ctrl + a and then ctrl + d, this will detach your screen but keep the command running. If you ever need to re-access that "screen" just type: "screen -r" in the terminal
I do pay for my server. I find it is better than using the free tier. I pay between $3-$5/month with a t2.large. (Just make sure you stop the instance after everytime you use it)
@@fry8357 If you head to this website: aws.amazon.com/ec2/spot/pricing/ and change the tab to "Definition Duration for Linux" You can see a large list of all the pricing per hour for every instance. So depending on the instance you use, you can see how much it cost. For example because I have the t2.large, I can just search for that on the page and check the pricing per hour
for some reason the ssh command doesn't seem to like me very much :p I don't think the ssh Protocol v.1 is supported by Windows anymore which is the reason that the command won't run. Does anyone have a way around this? Thanks
probably way too late but no this is for a Java Edition server. Im not familiar with Bedrock servers but I assume it should be a mostly similar process as this video up to the actual Java installation, since Bedrock doesn't use Java.
My command prompt states that I have an "unprotected private key file" when I first try to run the ssh -i... command and I cannot go any further than that. Any suggestions?
Hey there! Sorry you are having trouble. I have a few ideas as to what might be happening, if you are on linux or mac, type sudo before your command (your ssh command) this will give you admin privileges in the terminal. If you are on windows, when you search in the side bar for command prompt, right click on the command prompt icon when it shows up and hit "Run as administrator". Now anything you run in the command prompt window will run as an admin!
Your private key (like minecraft-example-server-key.pem) is probably writeable by anybody. Because ssh is supposed to be secure, it refuses to use the key, because someone might have changed it. In a linux-like terminal, you can 'chmod 400 ' to fix it. I'm not sure how to change permissions on Windows, I'm afraid.
i ran into the same issue as i had a key called somename.ppk. if yours has the same ending then try making another key this time and that should fix it.
Hi Pro Man Gaming. Unfortunately this is not possible with Bedrock edition. As far as i know, Mojang does not provide server files for bedrock, and because it is not written in Java you would not be able to use the same setup. Thank you for you comment, sorry to disappoint!
Free tier only gets you a set number of hours per month. Free tier also might not be able to actually handle a server. Cost is based on time running (If you only have the server active during certain hours, you will only be charged for those hours) and power/memory (for 50+ players, you will definitely need more than the medium tier, and some pluggns can require more power as well.) You can make a server that is up 24/7 with that much power through Amazon, but it will cost money.
If you won't do massive griefing and large megaprojects with 20+ players and just play normal Minecraft with 2 other people, the t2 micro will do just fine. I know I am responding 2 years later, but this for the other people who want to know that are newer.
Depends on the instance you use. If you opperate within the free tier (t2.micro) on setup, it will be free for a year. But usually that server cannot support many players, so you may want to bump up your instance to have more power. If you are diligent about stopping your instance after everytime you use it, you shouldn't pay much more than $3.00/month. I use the t2.large and play up to 10 hours a week with my friends and stop it after every time I use it and I only pay between $3-$5/month
you need to create a screen. "screen -S minecraft" create a separated process, run the server, and use Cntrl+a+d to go out of the screen and close your console, and the server still running. if you open the console again, su need the comand: "screen -r minecraft" an you get the control again of these screen. remember the command "screen -S minecraft" the -S is uppercase and the comand "screen -r minecraft" to get again the -r is in lowercase. sorry for my english, i speak spanish.
Imma leave a comment because OMG I went through 3 tutorials(including amazon's) and this was so easy to follow and WORKED
For anyone just starting out: it is usually a good idea to use a whitelist, which is a list of all players allowed to access the server. Otherwise, if you make the IP address public, someone shares it, or someone guesses it, they can connect to your Minecraft world. I had a server that temporarily had no whitelist, and two players called one of my friends a few slurs and griefed the server. Thankfully, we had a backup from only a day or so before they logged on.
lmao yeah but then you have their IP addresses and you know whats next :))
@@ExieledXD
Nice tutorial. I substituted the bedrock edition as I wanted my younger son to be able to play from the playstation (PS4) along with any of my kids' friends who might be on console or mobile, while my older son I joining from his recently build PC. Main diff besides the obvious stuff done inside Ubuntu itself (I found a site that gave those step fairly well), for the security group inbound rules I had to do both TCP AND UDP (where as you only show TCP) and for bedrock the port is 19132 (for IPv4).
Youre a W dad lol
Just made a server with this tutorial, thanks man.
Glad to hear it!
Jesus loves you
This is like when everything you’ve ever learnt finally comes together to do something awesome, great video man
Thank you! Glad you enjoyed it
@@isaacscott6225 please tell wil the server work with cracked minecraft
Hi @Whopsie. I'm not sure I understand the question. What do you mean by cracked Minecraft?
@@isaacscott6225 will this server run in tlauncher minecraft.
@@whopsie80 if you make online mode=false in server.properties then it will allow cracked Minecraft
Great job! You should add some notice about the latest minecraft server version 1.17 which requires java 16 while the one you use in the video is 1.16 only require java 8. Other than that, amazing tutorial!
Great suggestion!
For 1.18, it uses java 17
For 1.20 still Java 17
Really informative video man ,i was looking for practice creating instances ,thank you very much 👍🏻
To install the latest version of minecraft, it will most likely not run on Java 8 as seen in the video.
1) Remove java (use the below command) (only do this step if you already have a version of java installed)
sudo yum -y remove java*
2) Install latest version of java (use below command)
sudo yum install java
That should allow you to properly install the server files
The highlight of this video is the windmills on the wallpaper
Thought you might like those
You are the GOAT of my day thank you
Hello mate, I would like to know how I can update my AWS Minecraft server to the most recent versions without losing my world.
you are a legend, ty so much!!!
Great video man!
I have run minecraft java server on t2.micro which is free tier
I have to setup swapfile of 4GiB
...
And set server in loop because due to low memory condition, server can bring to state that crash itself
The performance is not too bad or good.... on 1 player without modding, you can expected good playing but sometime it said player move too quickly but less frequently
Awesome tutorial. Thanks
Thanks for the tutorial. I didn't think it would be this easy.
A doubt I have - What's the difference between using an AWS server and paying Amazon over paying a hosting service which advertises Minecraft servers and costs less?
Does anyone know what command it is for the newer version of java?
To install the latest version, you actually don't specify the version number. Do the following if you've already downloaded java 8 (1.8.0)
1) Remove java (use the below command) (only do this step if you already have a version of java installed)
sudo yum -y remove java*
2) Install latest version of java (use below command)
sudo yum install java
That should stop the errors
how to keep the server always running even when I close the ec2 terminal. I want my friends be able to play without me having to open the server for them
So... this isn't ACTUALLY free tier because of the t2.medium right?
You can choose to use the free version
Yeah. Bro doesnt know what he’s saying: “For the tutorial” you were supposed to select what your title says…
I'm using a t3 medium, it just costs cents an hour, I don't keep it on all the time.
After 1.13 Minecraft I find it hard to run a normal installation on one gigabyte of ram so I don’t even see how it would be possible on half a gig of ram
Possible tutorial for a forge modded minecraft server?
Hey! I notice that the T2 Micro is the only one that says free tier eligible. Is there a fee for using Medium?
Great question! Unfortunately only the Micro is free, the medium cost a fraction of a cent an hour. As long as you are disciplined about turning off your instance after you play, you should only spend between $3-$8 a month
@@isaacscott6225 Thanks for the reply! One more question. The T2 micro has one GB of ram. When I tried to set up the server I gave it 800MB because you can't give it all of your ram. However, I noticed that the server wouldn't start with that little ram. I think the minimum is 1 GB. Is there anything I'm missing? Or is it not possible to host a server in T2 Micro?
@@nitrothescout6765 it is super hard if not impossible to make the server run on t2 micro. you can generate a world in 1.12.2, but your friends will most likely get disconnected when they try to join.
Forget about 1.19, that one will crash regardless with that little amount of RAM.
it would have been cool if u would have just written all the cmds in the description box
Bro love thank you soooo much
Glad the video was helpful!
How do i exit the ssh terminal without killing the server session
use screen to keep the command to launch the jar file running while closing the terminal
if you dont want to put your credit car info while sign up you need to create a amazon account after that click on i forgot my password on aws sign in page and do the reset password after that your account will be created
Hi Isaac. Thanks for the info and tutorial. I'm just wondering what is the "catch" here with the free server on Amazon. Is it totally free? Is there a time limit?
its for 12 months, after that you can just make a new aws account and set it up again
Its for 12 months, also if you follow his tutorial, you have to pay for the t2.medium usage
my server is up and running but every time I join after a few seconds it says "Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host." can somebody pls tell me how t fix this?
You may need to upgrade your instance, if you are using the smallest instance, sometimes it has trouble sustaining a server for long periods of time
how do i get it to stay online without terminal opened?
can you make a github list of commands
I cant tell what you did for the last step; making an admin access
Good suggestion, I will work on getting one together. I have been swamped with things recently and haven't had a whole lot of time to focus on this channel. But I want to start making videos again soon and putting more time here.
The command I used to for making myself be able to use commands in minecraft is just: "op "
The part where he made a player a server op is the same commands used within Minecraft. In minecraft, you can use "/op [player]" or "/tp [player1] [player2]". This is the same, but without using the "/"
Awesome video, for the life of me I cant figure out how to get java updated for 1.17. Any suggestions?
Hi Ed! Glad you liked the video. Have you tried using yum install? What error message is returning when you try to run it?
If you haven't upgraded/updated run;
1. sudo apt update && sudo apt -y upgrade
2. MC 1.17+
: sudo apt install openjdk-16-jre
MC 1.16.5-: sudo apt install openjdk-11-jre
@@UnchallengedGaming TY
If i pick a bigger ec2 instance do i get charged for running the server 24/7 ?
Good question, if you make sure you start and stop the instance when you aren't using it, you will only get charged what you use.
So you could grab the biggest instance on aws, and if you only use an hour a day, you probably won't get charged too much
If I stop the minecraft server by using stop, how do I start up that same minecraft world
Good question! If you are clicking stop instance in the AWS UI, then you will just need to select the instance and then start it again. If you typed stop in the command line, to start the same world you need to type the java command again (sudo java -Xmx2G -Xms2G -jar server.jar nogui).
Something to note, if you stop the AWS instance and start it back up again your public IP will change so you will need to change that in the minecraft multiplayer options
Great video!
Thanks!
thanks friend
For me, it kills the operation instantly. I'm using t2.micro. Any ideas on how to fix this?
how much ram did you allocate to minecraft? sorry for answering 5 months later you probably already got it fixed. make sure the ram you allocated to minecraft is less than the total ram of the instance (in this case only 1gb)
@@notkirb_ any idea about a good number?
every time i exit the command prompt me server gets stopped, how to prevent that?
Run screen, then the server. To exit the screen session, use ctrl + A, D, and to go back to the screen session, use screen -r. Screen will stay running even if you close the command prompt, but you will have to restart the screen session and server when you restart the instance on aws, unless you create a script to do it for you on boot
@@tzq33tdq Great answer!
you placed the recording of yourself in exactly the one corner i needed information from
lol
how do you transfer a folder instead of just server.jar?
Hi All Behlil! Thanks for reaching out. To transfer a folder via SCP you will need to zip it first. For more details on how to do that check out the other video on my channel, which is uploading world folders
when i close the comand prompt the server crashes does any one have a fix for this
Just don't close it cuz the command prompt is the console of the minecraft server
That works! Another thing you can do is, after you run your command to start the server, press ctrl + a and then ctrl + d, this will detach your screen but keep the command running. If you ever need to re-access that "screen" just type: "screen -r" in the terminal
@@isaacscott6225 thank you I will try that
After the first year do you have to pay?
Does it work for bedrock or is there another way?
how do you update the Minecraft server version?
Question. His face cam covered up how to make yourself op so please tell me how to make myself p[
Hey there! Good question. All you do is just type: op in you terminal. So, for example, mine was: op downcookoo
I actually show how to do it toward the end of my latest video if you are still having trouble!
Your plan wasn't covered in the free plan right ? Did you ended up paying for it ?
I do pay for my server. I find it is better than using the free tier. I pay between $3-$5/month with a t2.large. (Just make sure you stop the instance after everytime you use it)
To upload your existing server, check out my video here: ruclips.net/video/WrFylMgwxjM/видео.html
@@isaacscott6225 how many is it per hour?
@@fry8357 If you head to this website: aws.amazon.com/ec2/spot/pricing/ and change the tab to "Definition Duration for Linux" You can see a large list of all the pricing per hour for every instance. So depending on the instance you use, you can see how much it cost. For example because I have the t2.large, I can just search for that on the page and check the pricing per hour
insane intro
for some reason the ssh command doesn't seem to like me very much :p I don't think the ssh Protocol v.1 is supported by Windows anymore which is the reason that the command won't run. Does anyone have a way around this? Thanks
It ran just fine for me. what are you putting in for the ssh line?
What about for bedrock edition so that others on IOS can join? Is this setup thru server properties?
probably way too late but no this is for a Java Edition server. Im not familiar with Bedrock servers but I assume it should be a mostly similar process as this video up to the actual Java installation, since Bedrock doesn't use Java.
9:20 wait i know what that mean its for
secure contain protect
That's definitely it! Thanks
Nice👍
If you guys want to try out a server with more ram, you could try google cloud vm which provide 300$ free for new accounts.
What do I have to do to make this work with iOS pocket edition?
Unfortunately, this is not possible with pocket edition (bedrock edition) only java edition
Once your (Java -Paper/Spigot) server is up, can load Geyser plugin, and set it up to allow java/bedrock.
How do i make my server 24/7
My command prompt states that I have an "unprotected private key file" when I first try to run the ssh -i... command and I cannot go any further than that. Any suggestions?
Hey there! Sorry you are having trouble. I have a few ideas as to what might be happening, if you are on linux or mac, type sudo before your command (your ssh command) this will give you admin privileges in the terminal. If you are on windows, when you search in the side bar for command prompt, right click on the command prompt icon when it shows up and hit "Run as administrator". Now anything you run in the command prompt window will run as an admin!
Let me know if either of these solutions work for you!
Your private key (like minecraft-example-server-key.pem) is probably writeable by anybody. Because ssh is supposed to be secure, it refuses to use the key, because someone might have changed it. In a linux-like terminal, you can 'chmod 400 ' to fix it. I'm not sure how to change permissions on Windows, I'm afraid.
i ran into the same issue as i had a key called somename.ppk. if yours has the same ending then try making another key this time and that should fix it.
Place the file in a secure place like Documents instead of Desktop
If I turn off the instance and restart the server, will all the server progress be lost?
no
U didn't blur out ur ip address. Are ya okay with that?
Yep! I start and stop my instance multiple times so it is never consistent. Thanks for reaching out though!
i got permission denied when trying to ssh in can you help please?
me too
Hi, is there any other launcher I can use instead of the minecraft launcher?
SKLauncher is pretty good, and supports cracked accounts if that's what you're looking for.
@@JustNeki thank you so much, I really appreciate it !
@@MWKING You have to disable online mode
Please make 1 for bedrock edition
Hi Pro Man Gaming. Unfortunately this is not possible with Bedrock edition. As far as i know, Mojang does not provide server files for bedrock, and because it is not written in Java you would not be able to use the same setup. Thank you for you comment, sorry to disappoint!
@@isaacscott6225 it provides sever files. Search minecraft.net dedicated servers
I will go check it out! Thanks for letting me know!
Cant you just use IP to ssh into the cosole?
yes lol
Hey is this 24/7 and can handle 50+players with plugins
20 players
Free tier only gets you a set number of hours per month. Free tier also might not be able to actually handle a server. Cost is based on time running (If you only have the server active during certain hours, you will only be charged for those hours) and power/memory (for 50+ players, you will definitely need more than the medium tier, and some pluggns can require more power as well.) You can make a server that is up 24/7 with that much power through Amazon, but it will cost money.
can we play it in cracked minecraft
You can! Just edit the "online_mode=true" to "online_mode=false" in your server.properties file
do for bedrock edition pls
I used this tutorial for stormworks lmao
Hi, can i use 24gb ram with free tier?
no, only t2 micro is free. the higher the performance, the more expensive to run it.
Will this effect on our pc?
Nope. You only use your PC to send instructions to the Amazon server.
Is it just me, or does he sound like Cole Spouse from season 3 of Riverdale?
How good is this server?
If you won't do massive griefing and large megaprojects with 20+ players and just play normal Minecraft with 2 other people, the t2 micro will do just fine. I know I am responding 2 years later, but this for the other people who want to know that are newer.
Is this free?
Depends on the instance you use. If you opperate within the free tier (t2.micro) on setup, it will be free for a year. But usually that server cannot support many players, so you may want to bump up your instance to have more power. If you are diligent about stopping your instance after everytime you use it, you shouldn't pay much more than $3.00/month. I use the t2.large and play up to 10 hours a week with my friends and stop it after every time I use it and I only pay between $3-$5/month
for more recent versions use this to install java: sudo yum install java-17
pls pin this
ily
this is literally what I'm looking for, thank you
I did slightly something else.
how can i keep the server online 24/7? because when i close the cmd, the server stops immediantly
you need to create a screen. "screen -S minecraft" create a separated process, run the server, and use Cntrl+a+d to go out of the screen and close your console, and the server still running. if you open the console again, su need the comand: "screen -r minecraft" an you get the control again of these screen. remember the command "screen -S minecraft" the -S is uppercase and the comand "screen -r minecraft" to get again the -r is in lowercase. sorry for my english, i speak spanish.
what is the command to restart the server after a stoped it ?
turn it on again
How would I add Plugins or mods ?