Breaking blocks with Terraform | S01 E02 | Build On Weekly
Do you need a Minecraft Server? Today, we deploy one with Terraform
AWS Admin
Amazon Employee
Published Mar 31, 2023
Last Modified Jun 25, 2024
Welcome to episode 2 of Build On Weekly! 🥳 Today is all about Terraform and building stuff with it. Namely, in this episode, we have built a Minecraft server, running on EC2, with some Terraform Magic.
We will be posting here, on Community.aws, to share show notes, links, socials, code, and any other things mentioned during the live stream with you! 🚀
If you miss an episode, don't worry! We will upload recordings of all our episodes to this youtube playlist! Make sure to smash that like and subscribe button! 🥹
Let's look at some news, blog posts, and interesting tidbits from the previous week.
Links from the discussion:
It is July 21st 2022, and today we have more news from Infracost, we are checking out a blog post on Blazor WebAssembly. AWS Open sourced CloudScape, Google came out with Carbon an experimental new language taking to replace C++, and teach yourself some ML GPU programming!
This was another edition of - Deployed weekly
Links from the discussion:
- You can now view the costs of your Terraform templates, straight from Visual Studio code with this Infracost plugin: https://github.com/infracost/vscode-infracost
- Looking to build Web applications with some dotnet? Well Blazor WebAssembly is maybe for you. Our colleague Francois, wrote a blog post on some first steps when it comes to using the ASP.NET Core Blazor WebAssembly framework: Medium Blog post
- If you are looking to build products with the same Design System we use here at AWS, check out CloudScape - an open source solution to building user experiences: https://cloudscape.design/
- Carbon Language - An experimental successor to C++: GitHub repo
- Are you having fun with Machine Learning? Go and teach yourself beginner GPU programming with this wonderful notebook: GitHub repo
Today, Jacquie and Darko discussed Infrastructure as Code (IaC), why should you care about it, how to approach it, and what does it take to get started.
Speaking of getting started, on this episode we took upon the challenge of building on a Minecraft server, running on EC2, with Terraform.
The goal was to create a simple EC2 virtual machine running on AWS, install and configure all the necessary pieces of software on it to run Minecraft.
On top of that we will use GNU screen to monitor the launch of Minecraft. And instead of using SSH, we will be using AWS Systems Manager - Session manager to log into the system.
Here is the code we ended up building:
- Infrastructure as Code: Wiki page
- Terraform: Terraform documentation
- Github repo we based our build on: GitHub repo
- Minecraft server download URL: Where you can find the server URL
- AWS SSM - Session manager: Docs page
- GNU Screen: Website
🐦 Reach out to the hosts and guests:
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.