18 month review (updated) of Hetzner

hetzner_logo2015

18 months ago I decided that I would go away from cloud hosting for my main sites, and some of my backup sites, and got two servers @ Hetzner

WHAT?? are you thinking, but I wanted more control over my servers, and wanted to have more services on fewer hosts and servers.++

I found out about their server bidding, you can get decent servers there for cheap money, and there is no setup fee or contract. I’m using Windows Server 2012 R2 DC on my servers and use Hyper-V to run my VMs.

And this had now worked 100% for the last 18 months.

Product/hardware/price

hetzner005

At Hetzner you can get it all, from several thousand euro per month servers, to €26/mo servers. And since I’m on a low budget I did find their serverbidding site, and found me a couple of good servers.

hetzner002

The servers sold on their serverbidding is mostly 2-3 years old. Core i7 2600/3770/3930 and Xeon E3/E5 is mostly what you find there. The auction works like this, the price drop on different servers at different times, if somebody grab the server before you, the price goes up again, and it will take hours up to days before the price is so good again. I had two servers, a Core i7 2600 with 16 GB RAM and a Core i7 3770 32 GB RAM both with 2 x 3 TB HDDs and 20 TB bandwidth @ 1 Gbps, then 10mbps the rest of the time (if you use up 20 TB with BW) And I paid only €26/mo for each server.

I have changed one server, mostly because people recommended it, but I think I regret it, but still, my setup now is:

  • Server1:
  • XEON E3-1245v2, 32 GB EEC RAM, 2 x 3 TB Enterprise HDD, 20 TB BW, 9 extra IPs. Price: €50/mo
  • Server2:
  • Core i7 2600, 16 GB RAM, 4 x 4 TB HDD, 30 TB BW, 3 extra IPs: Price: €42.00/mo

One good thing since my last review is the Flexi Pack. Before you needed it if you wanted sub nets (IPs) on your server, and it was quite expensive at €12.5 + the price of the subnet. Now you can have sub nets without Flexi Pack.

Another change is that you can have 6 extra IPs (without subnet) with each server. Before you could only have three. The price is still the same €0,84 per IP/mo.

Some times you are lucky with the disks you get. On my i7 3770 server, the disks was brand new when I got the server. On my XEON server my disks is around two years old.

Still, you get allot for your money. If you are lucky to get a server at the right time, you can get a very good price, and lots of disk space etc.

Service/Support

Hetzner are a unmanaged host. They fix network and hardware issues, but that’s it. All other support cost money. Still, I sent in some tickets in the start, just to see if they helped or not, and at the first I got fast and good help, but then they started to say that they only support Network and Hardware, and that you have to pay for all other support.

They also charge you for the most. Like the flexi pack, if you need to boot from a USB, you have ONE hard reset per month, then you have to pay (so don’t turn the server off)

Still, what can you expect from a company that sells you a Core i7 3770 32 GB RAM, 6 TB HDD, and 20 TB BW on 1 Gbps port for €26/mo?

Have not had any hardware issues at all the last 6 months, so I have not tested their real network/hardware support.

Benchmark

I have taken benchmark from one Linux server on each server, both using 4 cores, and 3 GB of RAM and here is the result:

First the Xeon E3-1245v2:

hetzner003

I tested with 8 cores on the server, but since the 4 last core is just threads, the result was only 5.550 points, around 500 points higher.

Then the Core i7 3770, actually this one got a little better result then the XEON.

hetzner004

Network/uptime

100% uptime on the network on both Data centers (16 and 19) I have my servers the last 18 months.

Conclusion

I did go from a real cloud service @ Iwstack.com to a dedicated server. Was sure that was a bad idea, but since I have my own fail over service, servers in two different DC, backups on Vultr and a good host like Hetzner, my switch was not so bad. My servers is much faster then the Iwstack system, and I can start, stop, create etc server much faster on my servers then at Iwstack. I can use Hyper-V so I can Live export my servers how often I want, no snapshot that only works in this and that way. Full snapshot, that can be imported back on the same server, or on another server with Hyper-V. Just change the IP, and you are up and running again.

No abuse on the server, just me. The network can be from 200 mbps to 1 gbps. I think that will have something to do with other servers on the same rack using BW.

Still, after 18 months, I don’t regret that I changed from Iwstack to my own dedicated servers. But of course, it cost more money. Before I paid less then I do today, but I have put several of my services in the two servers, saving money here and there. Still, it cost more then the cloud. Since I used so little RAM, HDD and CPU cores.

What do you think? Please comment on LET after I have posted the review there also.

6 months review of Hetzner – cheap dedicated servers.

hetzner_logo2015

6 months ago I decided that I would go away from cloud hosting for my main sites, and some of my backup sites, and got two servers @ Hetzner

WHAT?? are you thinking, but I wanted more control over my servers, and wanted to have more services on fewer hosts and servers.++

I found out about their server bidding, you can get decent servers there for cheap money, and there is no setup fee or contract. I’m using Windows Server 2012 R2 DC on my servers and use Hyper-V to run my VMs.

And this had now worked 100% for the last 6 months.

Product/hardware/price

hetzner001

At Hetzner you can get it all, from several thousand euro per month servers, to €26/mo servers. And since I’m on a low budget I did find their serverbidding site, and found me a couple of good servers.

hetzner002

The servers sold on their serverbidding is mostly 2-3 years old. Core i7 2600/3770/3930 and Xeon E3/E5 is mostly what you find there. The auction works like this, the price drop on different servers at different times, if somebody grab the server before you, the price goes up again, and it will take hours up to days before the price is so good again. I had two servers, a Core i7 2600 with 16 GB RAM and a Core i7 3770 32 GB RAM both with 2 x 3 TB HDDs and 20 TB bandwidth @ 1 Gbps, then 10mbps the rest of the time (if you use up 20 TB with BW) And I paid only €26/mo for each server.

I have changed one server, mostly because people recommended it, but I think I regret it, but still, my setup now is:

  • Server1:
  • XEON E3-1245v2, 32 GB EEC RAM, 2 x 3 TB Enterprise HDD, 20 TB BW, 9 extra IPs. Price: €59/mo
  • Server2:
  • Core i7 3770, 16 GB RAM, 2 x 3 TB HDD, 20 TB BW, 3 extra IPs: Price: €28.52/mo

The reason why Server1 cost so much more then Server2 is because of two things: The CPU was €11/mo more expensive then a i7 3770. And then the IPs. I have three extra IPs (0.84 each) and a /29 subnet. (€6.72) And Hetzner force you to have something called a flexi pack when you want /29 /28 /27 subnets. At that costs €12.61 extra per month. Not happy for that, had gladly paid €6 extra for the IPs, but have to pay twice that just to add a subnet is not a good thing.

Some times you are lucky with the disks you get. On my i7 3770 server, the disks was brand new when I got the server. On my XEON server my disks is around two years old.

Still, you get allot for your money. If you are lucky to get a server at the right time, you can get a very good price, and lots of disk space etc.

Service/Support

Hetzer are a unmanaged host. They fix network and hardware issues, but thats it. All other support cost money. Still, I sent in some tickets in the start, just to see if they helped or not, and at the first I got fast and good help, but then they started to say that they only support Network and Hardware, and that you have to pay for all other support.

They also charge you for the most. Like the flexi pack, if you need to boot from a USB, you have ONE hard reset per month, then you have to pay (so don’t turn the server off)

Still, what can you expect from a company that sells you a Core i7 3770 32 GB RAM, 6 TB HDD, and 20 TB BW on 1 Gbps port for €26/mo?

Have not had any hardware issues at all the last 6 months, so I have not tested their real network/hardware support.

Benchmark

I have taken benchmark from one Linux server on each server, both using 4 cores, and 3 GB of RAM and here is the result:

First the Xeon E3-1245v2:

hetzner003

I tested with 8 cores on the server, but since the 4 last core is just threads, the result was only 5.550 points, around 500 points higher.

Then the Core i7 3770, actually this one got a little better result then the XEON.

hetzner004

Network/uptime

100% uptime on the network on both Data centers (16 and 19) I have my servers the last 6 months.

Conclusion

I did go from a real cloud service @ Iwstack.com to a dedicated server. Was sure that was a bad idea, but since I have my own fail over service, servers in two different DC, backups on Vultr and a good host like Hetzner, my switch was not so bad. My servers is much faster then the Iwstack system, and I can start, stop, create etc server much faster on my servers then at Iwstack. I can use Hyper-V so I can Live export my servers how often I want, no snapshot that only works in this and that way. Full snapshot, that can be imported back on the same server, or on another server with Hyper-V. Just change the IP, and you are up and running again.

No abuse on the server, just me. The network can be from 200 mbps to 1 gbps. I think that will have something to do with other servers on the same rack using BW.

Still, after 6 months, I don’t regret that I changed from Iwstack to my own dedicated servers. But of course, it cost more money. Before I paid less then I do today, but I have put several of my services in the two servers, saving money here and there. Still, it cost more then the cloud. Since I used so little RAM, HDD and CPU cores.

What do you think? Please comment on LET after I have posted the review there also.

The ultimate guide: Owncloud 8 on CentOS 7.x – step by step. Will work 100%

I have used several hours today, trying to get Owncloud to work on my CentOs 6.6 Virtual Machine. Gave it up, and tried CentOS 7. Got it to work, but not after just following one guide, but several. All guides missing some small parts, that make your life hard if you are trying to do what I’m wanted: Owncloud 8 running on a CentOS VPS/dedicated server.

Here is the ultimate guide, the guide that make you get it to work at first try. Not spending hours like me. I will link to all the guides I have got info from, so it’s mainly others that have made this guide possible, I have just collected all the pieces in one guide.

1. Installing CentOS 7 on your server/VPS/VM

The only thing you want to change here, is the disk setup if you have a large disk. CentOS 7, puts a small portion of you disk at /, then rest at /home. But if you follow the Owncloud guide, it automaticcly install it’s self on /, so you will only get the space there.

You can move the installation after it’s ready, but you have to change config files etc, so I do it simple, I take controll over the disk space under the installation of CentOS 7.

All field marked with red is places that you should click.

 

060215guide001

 

060215guide002 060215guide003 060215guide004 060215guide005

Here you reduce the partition to a low value, if you only are going to run Owncloud on this server, this number can be almost nothing.

060215guide006

Then you update the free space on the / there owncloud will be installed, and update settings.

060215guide007

This is my setup on a 500 GB disk. You can choose whatever you want, just remember that it’s / owncloud will be installed on, and it will be that space that is available in Owncloud.

060215guide008

Then you can setup and install CentOS 7 just like you want it. Thats complete part 1.

2. Make the server ready for Owncloud. (from this guide)

Run the following command as root user:

yum update -y
yum install httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget mod_ssl -y
setsebool -P httpd_unified 1

Opening ports to Apache in firewall,

firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

Start Apache and MariaDB,

systemctl start httpd.service
systemctl start mariadb.service

Auto start the service at system start-up.

systemctl enable httpd.service
systemctl enable mariadb.service
apachectl restart

How To Create an SSL Certificate on Apache for CentOS 7 (from this guide)

systemctl enable httpd.service
mkdir /etc/httpd/ssl
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/httpd/ssl/apache.key -out /etc/httpd/ssl/apache.crt

The full list of prompts will look something like this:

Country Name (2 letter code) [XX]:US
State or Province Name (full name) []:Example
Locality Name (eg, city) [Default City]:Example 
Organization Name (eg, company) [Default Company Ltd]:Example Inc
Organizational Unit Name (eg, section) []:Example Dept
Common Name (eg, your name or your server's hostname) []:example.com
Email Address []:webmaster@example.com
vi /etc/httpd/conf.d/ssl.conf

I’m always using vi when editing files in CentOS, but you can use whatever edit program you like.

Find the section that begins with <VirtualHost _default_:443>. We need to make a few changes here to ensure that our SSL certificate is correctly applied to our site.

First, uncomment the DocumentRoot line and edit the address in quotes to the location of your site’s document root. By default, this will be in /var/www/html, and you don’t need to change this line if you have not changed the document root for your site. However, if you followed a guide like our Apache virtual hosts setup guide, your site’s document root may be different.

DocumentRoot "/var/www/example.com/public_html"

Next, uncomment the ServerName line and replace www.example.com with your domain name or server IP address (whichever one you put as the common name in your certificate):

 ServerName www.example.com:443

Find the SSLCertificateFile and SSLCertificateKeyFile lines and change them to the directory we made at /etc/httpd/ssl:

SSLCertificateFile /etc/httpd/ssl/apache.crt
SSLCertificateKeyFile /etc/httpd/ssl/apache.key

When you are finished making these changes, you can save and close the file.

apachectl restart

PHP 5.6.x

With Owncloud 8 the minimum requirement for PHP is PHP 5.4.x, some apps will need PHP 5.5.x. So why not just update PHP 5.6.x right away? This is an optional part, but then you are ready for the future:

rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php56w php56w-opcache -y
yum install yum-plugin-replace -y
 
yum replace --enablerepo=webtatic-testing php-common --replace-with=php56w-common -y

You will get some error messages when you run the third command (yum install …) but just ignore them.

php -v

Per 15.February 2015 that will show PHP 5.6.5

That complete part 2.

3. Installing Owncloud 8  on your CentOS 7 server (from this guide)

Download and setup. We first install the repo. It is the official one.

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/isv:ownCloud:community/CentOS_CentOS-7/isv:ownCloud:community.repo
yum install owncloud -y

Setting the owner to Apache:

chown -R apache:apache /var/www/html/owncloud/

Now we create the database and the user for MariaDB:

mysql -u root -p
create database clouddb;
grant all on clouddb.* to 'clouddbuser'@'localhost' identified by 'password';

It ask for password, but just hit enter, there is no password yet.

Remember the database name: clouddb, you will need it later on.
Next is configure the virtual host Apache file,

vi /etc/httpd/conf.d/owncloud.conf

Add the following,

<Directory /var/www/html/owncloud>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

Restart Apache server,

systemctl restart httpd.service

Then you have to set a password on MySQL database, you will need this when you setup Owncloud later on. (from this guide)

mysqladmin -u root password NEWPASSWORD

There NEWPASSWORD is whatever password you like.

And then you are good to go to https://yourserver/owncloud to further configuration. Select MySQL/MariaDB instead of SQLite. Then use root at username for DB, then your new password you just made. Use localhost.

060215guide009

 

You can choose your own login name and password.

Then you have to click on MySQL/MariaDB

Then fill out the info from earlier in the guide. The user is root, the password is the password you set. The DB name is clouddb and localhost is correct. The you can finish the setup. (sorry for my Norwegian interface, it changes language to your language automatically if they have your language.

060215guide010

Finally, I can use all my disk space. And you are ready to go. Download on of the clients you get on your welcome screen, use your https://yourdomain-or-ip/owncloud and your username and password. And you are online.

That my ULTIMATE guide for setting up Owncloud 7 on a CentOS 7 server, with all the small parts from several guides, that will work every time.

It is not free using lots of my time to write guides and reviews, and host them. So if you like to give something back, please signup with one of my affiliates links if you need hosting or like to try them out. I recommend Vultr:

B9RbhIjCIAAf1Jm.png large

Vultr.com – 14 locations, really fast servers: http://www.vultr.com/?ref=6802732

DigitalOcean – The place for every developer: https://www.digitalocean.com/?refcode=6baa1cd0214b ( you get a free $10 credit if you use my link to sign up)

HostHatch – Want a 10Gbit server – you have found it: https://www.digitalocean.com/?refcode=6baa1cd0214b

Prometeus/Iwstack – Real cloud service: https://www.prometeus.net/billing/aff.php?aff=168