Aws email server
Then to start the instance you must select or create a key pair. I add SSH port and the Minecraft port (25565) like you see on the following screen: Keep the default settings, and the default size for the disk (8 GB) as it's enough.įor the tag screen I generally provide a Name (it's then displayed on EC2 instance list) and a costcenter (I use it for cost management later).įor the Security Group, it the equivalent of a firewall on EC2 and you must configure which port will be accessible from internet on your server. You will able to change it after the creation.Ĭlick on Next: Configure Instance Details to continue the configuration. I recommend you the t2.small for Minecraft. From the EC2 dashboard, click on Launch Instance and choose the Amazon Linux 2 AMI with the x86 option. This is the initial part, you must create a new EC2 instance. after 8h the instance is shutdown by the lambda function (I estimate that my son must not play on Minecraft more than 8h straight ?).send an e-mail to a specific and secret e-mail address, this will start the instance.one Lambda function to start the serverĪnd that's it.use SES (Simple Email Service) to receive e-mail, and trigger a Lambda function.The global idea is to start the server only when my son is using it, but he doesn't have access to my AWS Console so I need to find a sweet solution! Not a lot but I was thinking that there is room for improvement! The main part of the cost is the EC2 compute cost (~17 US$) and I know that it's not used 100% of the time.
It's built on a EC2 t2.small with a 8 GB disk so I have a monthly cost of about 18 US$. The first month operating the server, I noticed that my son is using it a couple of hours each day, and then the server was idle. In this case I will focus on the Minecraft Java Edition, because the server version is running well on Linux server, and my son is running a laptop on Debian. Minecraft is a popular sandbox video-game.
#Aws email server how to
This article will explain you how to optimize the cost ?, based on the usage! After checking some available services (yeah not so expensive finally), I have chosen to build a server on a EC2 instance. During the first weeks of the COVID-19 pandemic, back in april 2020 my son ask me to build a Minecraft server in order to play on the same world with his school friend.