How to setup a Ubuntu server using AWS

Kevin Rasmusson
6 min readJun 3, 2021

--

If you are looking to build a website you will need web hosting, i.e. a server where you host your files (code). In this article I will teach you how to get a Ubuntu 20.x server up and running using AWS. For transparency, this article is not sponsored. I simply use AWS myself and enjoy the provided services.

1. Sign up for an AWS account

Firstly, we will need an AWS account (this is free!). Head over to aws, register a new account and provide the information required by Amazon. Already have an account? Let’s continue.

2. Head over to EC2

Head over to the search bar at the top and type “ec2.” Click the top search result that says: “EC2 — Virtual Servers in the Cloud”, sounds like what we are looking for, right?

3. Pick geographic location

Now that we have navigated to EC2 we have the option to change the geographic location where we wish to deploy our server. Latency is the primary factor you should consider when deciding the location, more specifically your users’. If you live in the US, but most of your traffic is from central Europe…

--

--

Kevin Rasmusson

Independent business owner focused on web development. Write tutorial articles on tech, general life reflections & entrepreneurship.