I start my own server on AWS
AWS now has a whole year free trail for a personal server. This is the reason that I choose AWS as my personal server provider. (T-T) sooo poor.
Anyway, AWS provide quite clear and simple way to create a server. I realy like the dashboard of the AWS.
I have use it for a while last year, but I quit because I was so busy at that time.
Register is very simple, what you need is a email address, phone number, address, and credit card information.
Go through all the process, then you can launch your instance.
Since I have used Ubuntu, I choosed it as my system.
There are couple of things you may need to pay attention:
How to connect to the server you have establised:
In the instance management dashboard, right click the instance -> choose the first one: connect
It will show the method to connect to the server.
Generally, there is a private key file, you have to ssh connect to the server.
There is no default root password in the new system.
You have to create one.
Use commond
$ sudo su
Then you can go into root model
Use commond
# passwd root
And input password and confirm, all good.
Install Apache
Apache is the most common web server.
123$ sudo apt-get update$ sudo apt-get install apache2$ sudo systemctl apache2 start
Network Security Group
You may can not access your website after configuring Apache webserver. This is because all instance controlled by the Network Security Group. When a instance created, for security reason, it only allows access through SSH.
Thus, you have to go to instance dashboard,
and go to left side bar -> Network & Security -> Security Groups.
Create or Edit a Security rules by right clicking the Security group -> inbound rules
add HTTP and HTTPS in the rules
Apply this Security Group to your instance.
And then you should be able to access your website with browser.