- Joined
- Nov 16, 2015
- Messages
- 493
- Likes
- 873
- Degree
- 2
I'm not really going into why I'm doing this - except to say I'm having a play with the cloud for a future idea I have. But it turns out it's super easy to get a cheap (not paying for cpanel etc) but fully web ready, and easy-to-use (essential for me - don't want to be managing sites from the command line particularly...) VPS for hosting a bunch of your sites, apps and other stuff in the cloud. Scalable for when you need it but just over $10/month when the sites and apps you host aren't doing much.
Step 1 - Pick A Cloud Platform
Well this one was easy since I'd stuck $25 on Jelastic and got a 50% bonus (should have deposited more lol) to test out deploying python apps in the cloud etc. I picked Web Hosting.net since they seemed to have the best location/price/rating mix out of the list Jelastic offered (http://webhosting.net/jelastic/).
So the steps here are insanely simple. Sign into your jelastic admin account. Hit create environment, click everything else off except VPS, pick centOS (you seem to get a very up to date version) and hit go. About 30 seconds later you have a VPS set up with a public ip etc. Everything you need if you're an experienced developer... which I'm not so onto step 2.
Step 2 - Pick a Web Hosting Control Panel/Config
The beauty of the Jelastic VPS install is that it's pretty clean/unconfigured which most of the panels seem to need. I tried to pick a light one that wouldn't use too much memory - the one I picked was Sentora (http://sentora.org/about) which seems to have everything you need to run a web hosting server, except a web-based file manager (you can just FTP in as usual). It ended up needing memory such that just 2 cloudlets (they are somewhere around $5/mo each) to run when not much is going on.
Steps required (slightly more than the jelastic step 1, but only just...):
- buy a domain (that'll be your server's domain eg someoneshosting.net)
- point two a records at your server IP (available in your jelastic control panel - https://docs.jelastic.com/vps#installation) - yourdomain.com and something like hosting.yourdomain.com (you need the subdomain one to log in later)
- wait for DNS to propagate
- SSH into your server (ssh root@yourip) - password emailed to you by jelastic (jelastic cloud also has a terminal in a browser thing for those of you who aren't on linux/don't have an SSH app installed on windows but it's buggy so I recommend getting one or installing ubuntu for windows so you can get a bash terminal in windows).
- Type the command found here - http://docs.sentora.org/?node=22 -
~$ bash <(curl -L -Ss http://sentora.org/install)
- Fill in the things it asks for (domain, ip etc)
- go to your subdomain eg hosting.yourdomain.com
- the login details appeared in your terminal after installing, log in
And boom - about 3 minutes and for $10/month you have your own fully functional VPS with control panel, hosted in the cloud and ready to go.
I have no idea if I made all the right choices etc, and I'm sure some of the dev ops guys will chime in with improvements/other options etc but I thought I'd post this in orientation as I didn't realize it would be so easy to get up and running with my own server without buying it from someone pre configured etc as I'd normally do.
Step 1 - Pick A Cloud Platform
Well this one was easy since I'd stuck $25 on Jelastic and got a 50% bonus (should have deposited more lol) to test out deploying python apps in the cloud etc. I picked Web Hosting.net since they seemed to have the best location/price/rating mix out of the list Jelastic offered (http://webhosting.net/jelastic/).
So the steps here are insanely simple. Sign into your jelastic admin account. Hit create environment, click everything else off except VPS, pick centOS (you seem to get a very up to date version) and hit go. About 30 seconds later you have a VPS set up with a public ip etc. Everything you need if you're an experienced developer... which I'm not so onto step 2.
Step 2 - Pick a Web Hosting Control Panel/Config
The beauty of the Jelastic VPS install is that it's pretty clean/unconfigured which most of the panels seem to need. I tried to pick a light one that wouldn't use too much memory - the one I picked was Sentora (http://sentora.org/about) which seems to have everything you need to run a web hosting server, except a web-based file manager (you can just FTP in as usual). It ended up needing memory such that just 2 cloudlets (they are somewhere around $5/mo each) to run when not much is going on.
Steps required (slightly more than the jelastic step 1, but only just...):
- buy a domain (that'll be your server's domain eg someoneshosting.net)
- point two a records at your server IP (available in your jelastic control panel - https://docs.jelastic.com/vps#installation) - yourdomain.com and something like hosting.yourdomain.com (you need the subdomain one to log in later)
- wait for DNS to propagate
- SSH into your server (ssh root@yourip) - password emailed to you by jelastic (jelastic cloud also has a terminal in a browser thing for those of you who aren't on linux/don't have an SSH app installed on windows but it's buggy so I recommend getting one or installing ubuntu for windows so you can get a bash terminal in windows).
- Type the command found here - http://docs.sentora.org/?node=22 -
~$ bash <(curl -L -Ss http://sentora.org/install)
- Fill in the things it asks for (domain, ip etc)
- go to your subdomain eg hosting.yourdomain.com
- the login details appeared in your terminal after installing, log in
And boom - about 3 minutes and for $10/month you have your own fully functional VPS with control panel, hosted in the cloud and ready to go.
I have no idea if I made all the right choices etc, and I'm sure some of the dev ops guys will chime in with improvements/other options etc but I thought I'd post this in orientation as I didn't realize it would be so easy to get up and running with my own server without buying it from someone pre configured etc as I'd normally do.