Archive

Posts Tagged ‘VPS’

Linode turns 7, gives ~42% RAM Upgrade to all customers!

June 18th, 2010 No comments

Linode has turned out to be the best VPS provider I’ve ever used and it as of yesterday (6/16/10), they upgraded all VPS’ memory by ~42%.  All I have to say is Wow.  Since I’ve been with them, they have upgraded HDD space, which is also nice, but not something I really needed.  RAM is a different story, that is very important for VPS customers.  That much more memory means a LOT and really makes the entry level 512 servers (for only $19.95) much more useful without breaking the bank.

I currently have 5 512MB Linodes (upgraded from 360) and one 768 (upgraded from 512).  I should now be able to do much more with these servers now and offer more scalability to my customers who are paying for their own servers.

Linode, in my opinion, destroys the competition and always seems to be ahead of the gang of “peer” VPS providers like Slicehost, Rackspace Cloud Servers, VPS.net and others.  They may not have the “prettiest” or most user friendly control panel, but they offer a level of flexibility unrivaled by others.

Cherokee Web Server

April 23rd, 2009 2 comments

indiankidI ran across a webserver called Cherokee a week or so ago while looking around for “light” alternatives to Apache on VPSes.  It looked pretty nice, so I downloaded it and compiled the latest version 0.99.9 and started it up.

The nicest thing, I think, about this server is the simple Web configuration UI (cherokee-admin).  When you start it, it generates a one time hashlike password that you then use to log into the web config.  From there, you can configure virtually (no pun intended) all aspects of the web server, including virtual hosts and many other settings.

The reason primarily for my use is serving up my static HTML sites and light PHP ones as well, light meaning minimal DB calls for things like contact form entry, single simple “SELECT * from where whatever = whatever” type querys with small recordsets and so on.  I moved about 20 of my customer sites to it and so far so good.  That is the level of confidence I had in Cherokee.  100% stable so far.

Compiling it from source may not be everyone’s cup of tea, but it really isn’t that difficult.

Here’s how I did it from a new VPS.

apt-get install nano htop build-essential mysql-server php5 php5-cgi php5-mcrypt php5-mysql gettext

This installs nano (a simple text editor), htop (top on steroids), build-essential which is a meta package containing necessary packages to compile crap, mysql, PHP, a few extensions and gettext which the ./configure told me it needed and I’m surprised it wasn’t part of the build-essential.

If this is a fresh ubuntu build, you’ll probably get a locales error… Use this to correct.

sudo locale-gen en_US.UTF-8
sudo /usr/sbin/update-locale LANG=en_US.UTF-8

Download the latest cherokee source.

Untar it and enter the folder.

Now run these commands, modify the paths to your liking.  This runs the pre-compile config, makes then installs it, it then copies the init script to that folder and changes the permissions to allow it to execute.

./configure –localstatedir=/var –prefix=/usr –sysconfdir=/etc –with-wwwroot=/var/www
make
make install
cp contrib/cherokee /etc/init.d/
chmod 755 /etc/init.d/cherokee

to Autostart the init script on boot… Run this…

update-rc.d -f cherokee defaults

That’s about it, read the documentation for specific information on features and have fun.  It is a VERY fast and light webserver that is very well suited for basic websites running on minimal memory VPSes.

My VPS Provider Adventures

March 18th, 2009 5 comments

Left Slicehost, joined Linode

I moved my sites (2 servers) from Slicehost to Linode due to no 32-bit support at Slicehost and am VERY happy with the service I am receiving from Linode.  They have been excellent at answering the few questions I had during setup and everything has been flawless ever since.  The 32bit Linodes have been running much more efficiently for me than the 64 bit.

Mosso CloudServers

Since moving, the other day Mosso came out with their “version” of Slicehost’s system running straight through the Mosso control panel.  I setup a small 256mb instance for .015 cents per hour (~10.95/mo) which is cheaper than SH, but it doesn’t include any bandwidth… Bandwidth is bill seperately at .22/gb out and .08/gb in.  Which isn’t too bad if you are a relatively low bandwidth user like I am, but it’s still only 256mb.

Also, Mosso’s DNS control panel is nowhere near as good as Slicehost’s, which is a big negative for me using them long term.  Even though I’m on Linode primarily now, I still keep a 256mb Slice active on Slicehost just for their DNS since it has a very nice web interface and there’s an iPhone App for Slicehost’s control panel, including DNS.

FSCKVPS.COM

Another new place I found is FSCKVPS.COM… They are a little “rougher around the edges” than the Slicehost or Linode offerings, but their prices are quite amazing. This is most likely due to this being a “totally unmanaged” service.  Basic tickets related to network uptime and machine uptime is supported, but other things probably are not.  FSCK is a subsidiary of a larger UK based provider VAServ/A2B2, so I feel better about them not being a “fly by night” company. (Of course not implying that Slicehost or Linode is)

I setup a 32bit 512mb VPS (1024 burstable) in their Atlanta, GA data center for only $9.95 with 50% off the first month to test it out.  The control panel runs on a non-standard port (8887) so if you have a firewall at work, you may have trouble getting into it.

The setup was painless, but defaulted to CentOS which I rebuilt into Ubuntu 8.04 (8.10 in 32bit was not available).  The image was “minimal”… Even the source.list for apt needed to have all the repos added to it to get all the updates (it only had 1).  I then proceeded to do all updates and upgraded to 8.10 via commandline.

I upgraded to 8.10 using the instructions here…

http://www.howtoforge.com/how-to-upgrade-ubuntu-8.04-to-ubuntu-8.10-desktop-and-server

As stated before, the memory use of the default image was only 10mb, here’s a screenshot of htop

Click for larger

A2B2′s dedicated U.S. Server pricing is also VERY nice…

Intel Core2Duo E8300
2×2.83GHz, 6MB L2 Cache CPU
4GB DDR2 RAM
2×250GB SATA-II Disk
2000GB Monthly Transfer
5 IP’s
Price: $109.00/month

Normally you’d have to pay at least twice this much for something like this.  I’d probably switch my windows server here if Windows 2003 server wasn’t $30 more per month.  It would be nice too if they offered a machine like this with half the specs (2gb RAM, 2x120gb HDD, etc) for half the price.  That’s more within my pricing sweet spot.

I’m gonna keep testing this VPS throughout the month and see how it holds up.

Moving away from Windows & IIS (ASP) to Linux @ SliceHost

July 24th, 2008 4 comments

I have, for years, been developing web apps and so on using ASP (Classic) on IIS.  It’s a “fine” platform, but I have, over time, become weary of the Microsoft bloat that accompanies running a Windows Server… Especially in a colo/dedicated/VPS environment.

Over the last few months, since my major GoDaddy Windows Dedicated servers got hit by a worm or something, I’ve seriously started learning PHP with MySQL.  I used MySQL quite a bit with ASP and am quite familiar with it, but PHP experience was rather limited.  In the last few weeks, I’ve written a few things and ported a customer’s website over from an ASP CMS I wrote to PHP (still need to finish the CMS in PHP).  The site runs so much faster and I am now able to host it on my new Slice VPS that I setup earlier this month.  In 15 minutes or so, I can have an entire new Slice setup with Apache or Lighttpd and PHP/MySQL and, with a little tweaking and securing, have a server up and serving sites.   Can’t do that with Windows that quickly.

Slice is still running strong and I’m going to do my best to get ALL my ASP sites “ported” over to PHP over the next few months.  I’ve been using ASP/PHP cross reference sites like Design 215 and a few others and have been able to do things very quickly.  The database part was the only part I really needed to find good samples  for, but they aren’t even too hard once you use them a few times.

SliceHost has inspired me to really learn Linux and abandon the Microsoft OS, but there is still one caveat to Linux that I am very disappointed with.  There is not a single (that I’ve found), reasonably priced, multi-domain, domain level administratable email server with a nice webmail interface for users and administrative functions.

I know there are a ton of “pieces” that I can put together to get something like that, like Postfix, EXIM4, Dovecat, etc., but I just simply don’t have the time to wade through the massive pile of config files to get all those pieces working together in a nice secure and highly reliable fashion.

So, I am going to continue moving all my websites over to Linux/Apache/Lighttpd/PHP/MySQL and keep a small (30gb, 768mb RAM) Windows Virtual Dedicated server running with SmarterMail 5.x mail server on it. SmarterMail is probably one of the BEST email servers for a web hosting environment.  It is a snap to setup, backup and move to a new server if needed (Trust me, I know!). I already own an Enterprise license and am just waiting for one last very important domain to move off a temporary dedicated server before I move it to a new Windows VPS to serve the remainder of my customer’s email needs.  SliceHost isn’t a fully “managed” solution, but with the Slice Backup capability, you can have daily and weekly images made and restore to them quickly at anytime in case anything happens…

Mosso is good and is finally rectifying the Compute Cycle issue I mentioned previously,  I may keep them if I can break even with the few sites I still host on there, but their servers aren’t nearly as responsive as a VPS or Dedicated server probably due to the massively clustered setup they run.  I don’t really need individual site scalability… If a site has high requirements, I’ll just stick them on a new slice and charge the customer accordingly.  Most of my sites that would need to scale are WordPress Blogs and could easily handle being Digg’ed etc, by installing WP-Supercache.

Ultimately I plan on hosting all websites and blogs on Ubuntu 8.04 @ SliceHost and email on a Windows VPS @ GoDaddy (for now) until I find a Windows VPS provider as excellent as SliceHost is (hint hint to SliceHost)…

That’s all for now…

If anyone knows of any turn-key type mail servers that are free/inexpensive (< $500) for Linux please leave a comment.

My New Provider… SliceHost.com!

July 1st, 2008 6 comments

I’ve been moving my blogs and the other’s I host through a lot of transitions lately after having a HORRIBLE experience with GoDaddy and then Compute Cycle concerns with Mosso.com.

Mosso’s new compute cycles are heavily counting WordPress and other DB driven site hits.  5 relatively low hit blogs, ~150,000 TOTAL hits, were taking up as many Compute Cycles as one of my non-DB driven sites getting > 2,500,000 hits with lots of graphics.

I still like Mosso and most of my sites are still using email on them, but a bit more predictable monthly bill is nice.

So I happened to run across SliceHost.com yesterday… The site is simple and clean and I was impressed at the speed of their own website. Some of the hosting providers I find while searching around have sluggish sites, which really makes me question their server/network capacity and so on.

Here is their basic blurbage from the front page of their site.

BUILT FOR DEVELOPERS

We’re just like you. Sick of oversold, underperforming, ancient hosting companies. We took matters into our own hands. We built a hosting company for people who know their stuff. Give us a box, give us bandwidth, give us performance and we get to work. Fast machines, RAID-10 drives, Tier-1 bandwidth and root access. Managed with a customized Xen VPS backend to ensure that your resources are protected and guaranteed.

  • No contracts, no setup fees.
  • Upgrade, downgrade, add a slice or remove a slice anytime.
  • Billing is monthly, cancel at anytime.
  • Payments of $240 or more receive a 10% credit.
  • Full root access and rebooting
  • Choice of Linux distro
  • Dedicated IP address and Tier-1 redundant bandwidth
  • RAID-10 disk storage
  • Reserved RAM
  • Guaranteed CPU share and more when available
  • 4-core servers running Xen virtualization instances
  • Slicehost management portal for reboots and software installs
  • Mobile management portal for smartphones
  • Ajax console access
  • Bootable rescue mode
  • Machines running with fixed usage limits, below full capacity

So I decided to go ahead and give them a try and signed up for a 256mb Ubuntu 8.04 Hardy “Slice”.  That slice is a virtual machine running on a nice large powerful server.  For $20/mo I get a VM with 256 RAM, 10GB space, 100GB bandwidth.

Some may think that’s so little, but it’s plenty to run a quite a large handful of decent sized WordPress blogs or other similiar CMS systems.  10gb is plenty for people who aren’t uploading massive uncompressed images, videos and other media.  100gb is also good especially if your web server is using mod_deflate to compress output.

Provisioning only took like 5 minutes, it was assigned a static IP and a default (hard) random root password that I went in and changed to my harder password.

I ran the apt-get install commands I used to get the lighttpd setup running on it like in my post back in April.

Basically in about 30 mins I was setup, I went ahead and moved over idude.org here and then 5 of my other friend’s blogs and am in a “testing phase” now.

Back to SliceHost…

I really like their control panel, it is very simple and sweet and has pretty much everything you need to manage your VMs.  The backup is very simple and can be automated to daily as well as a weekly. These backups are FULL VM snapshots to take your entire machine back to a previous state.

A Unique feature is an AJAX powered console to your server.  I don’t think it really full supports CTRL functions and stuff, but it’s enough to change some permissions, delete some stuff, create new folders, etc.

If you outgrow the 256mb/10gb/100gb Slice, you can scale it up, without losing data and minimal downtime, up to a 4096mb/160gb/1600gb Slice, which is 16x the power/space at only 14x the cost.  ($280)

There are also nice stats to show CPU use, CPU time, disk I/O, and network I/O.    You can do soft/hard reboots as well plus much more.

A few months ago, I had a VM of about the same size at GoDaddy running CENTOS 4 (only Linux option at the time) and it was horribly sluggish and had all kinds of “default” crap on it.  This Ubuntu install on SliceHost is virtually a base install allowing me much more flexibility over what goes on it.

The performance of it was also generally lightning fast.  I’ve used Ubuntu directly on a powerful server and it appeared just as responsive both in the console running commands and hitting the sites remotely.

Network speed was excellent as well… Got 16mbps uploading some files to it, which again, isn’t bad for a VM.

One last thing.  SliceHost is running out of St. Louis.  After pinging it from a web-based “multiping” site, it got excellent low latency from all parts of the country, as compared to hosts I’ve used on either the left or east coast, due to it’s central location.

More updates will follow as more is experienced.  I think I’ve finally found a long term home for my Linux sites.

 

If you are interested in signing up, click here!