Hello, I’ve got a web application that was contracted out and was supposed to go live this week. The contractor that did it chose a hosting provider that just is falling down and this isn’t even due to traffic. Let’s just say it’s a hosting provider that’s in turmoil and leave it at that.
I need to setup at least:
1 load balancer 2 LAMP instances running this PHP, Expression Engine (not my choice) based app 1 MySQL database instance
The app needs to be able to handle a peak load of 2000 concurrent requests. This is our high end target but NOT steady state.
My questions are:
Is this something I can setup quickly and simply here by myself? I’m a high end developer, architect that’s done lots of large scale applications in Java, C++, Rails, etc but usually have someone else handle setting up the servers. I’m “linux friendly” but not what I’d call a Linux admin guru. I’ve setup Rails instances but am not someone that knows all the tuning / setup off the top of my head. Google is my friend.
Is there someone out there that’d be interested in a contract to set this up for me with the potential for an admin contract?
Any answers / help appreciated. I’ve put up a Rails server on Digital Ocean and have been really impressed with how quickly I got my Linux distro setup and rockin!
Thank you.
-Bill
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
<blockquote>1) Is this something I can setup quickly and simply here by myself? I’m a high end developer, architect that’s done lots of large scale applications in Java, C++, Rails, etc but usually have someone else handle setting up the servers. I’m “linux friendly” but not what I’d call a Linux admin guru. I’ve setup Rails instances but am not someone that knows all the tuning / setup off the top of my head. Google is my friend.</blockquote>Depends on whether or not you’re willing to learn how to manage a linux system. :) <br><blockquote>2) Is there someone out there that’d be interested in a contract to set this up for me with the potential for an admin contract?</blockquote>You can find many freelance sysadmins on sites such as Freelance.com, oDesk, etc. <br> <br>We have huge amount of articles on configuring linux systems: <a href=“https://www.digitalocean.com/community/articles”>https://www.digitalocean.com/community/articles</a>. <br> <br>These articles should help: <br>- Load balancer: <a href=“https://www.digitalocean.com/community/articles/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps”>https://www.digitalocean.com/community/articles/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps</a> <br>- LAMP instances (skip the MySQL part): <a href=“https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu”>https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu</a> <br>- MySQL instance: <a href=“https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu”>https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu (just the MySQL section)</a> and <a href=“https://www.digitalocean.com/community/articles/how-to-secure-mysql-and-mariadb-databases-in-a-linux-vps”>https://www.digitalocean.com/community/articles/how-to-secure-mysql-and-mariadb-databases-in-a-linux-vps</a>. You will also have to configure MySQL to listen on the public interface so that your other droplets can connect to it. You can do that by editing <code>/etc/mysql/my.cnf</code> and setting <code>bind-address</code> to <code>0.0.0.0</code>. Once you’ve done that, restart MySQL: <code>sudo service mysql restart</code>. Make sure your droplet is firewalled so only your app droplets can connect to it: <a href=“https://www.digitalocean.com/community/articles/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server”>https://www.digitalocean.com/community/articles/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server</a> <br> <br>Good luck!
Thank you Kamal. I’m capable of doing it. My issue is time. I used to develop operating systems for a company that made fault tolerant computers so I’m very well versed in how they’re built as well as what’s necessary. I just can’t afford to be administering as well as developing and managing. Not enough hours in the day :-) <br> <br>Can you tell me about any large systems that are running at Digital Ocean? Just trying to get a sense of whether this is where I should start and expect to grow or just start, grow to a certain size and then have to move to a large geographically dispersed hosting center. I really like Digital Ocean and would love to make it work for me. The first app we’re launching is going into beta now but will make a big launch in September assuming the beta goes well. <br>