• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Creating a Scalable Cloud Infrastructure for WordPress

By Abhishek Ghosh June 29, 2012 10:47 am Updated on June 29, 2012

Creating a Scalable Cloud Infrastructure for WordPress

Advertisement

Creating a Scalable Cloud Infrastructure for WordPress needs multiple Web Servers, multiple MySQL Database Servers, Cloud Loadbalancers. Here is full tutorial. For this Example Guide for Creating a Scalable Cloud Infrastructure for WordPress, we have described the way for The Rackspace Cloud, though any Cloud Server of similar niche can serve the purpose. Just for easiness to integrate our our previous guides, we have used WordPress as CMS for this guide on Creating a Scalable Cloud Infrastructure for WordPress, one can however modify the idea to accommodate for other CMS.

 

Resources needed for Creating a Scalable Cloud Infrastructure for WordPress

 

  • We always prefer that you are using Mac OS X or any distro of Linux, that will make easy to run the console using terminal plus those virus, malware stuffs are avoided. However you can use PuTTY under Windows.
  • The Rackspace Cloud account or similar Cloud Server that can support the configuration.
  • Basic idea on UNIX commands, our guide on how to Install WordPress on Rackspace Cloud Server will give you enough idea.
  • This guide on how to Create DNS Record for Rackspace Cloud Servers will help you to point your domain. But, DNS for Creating a Scalable Cloud Infrastructure, you will point the domain to the load balancer’s IP address.
  • 5 Servers – 2 Web Servers, 2 MySQL Database Servers and One Memcached Server

 

Creating a Scalable Cloud Infrastructure : Configuring the Servers

 

Install CentOS recent version with at least 1 GB of RAM (scale up or down as per need) Install LAMP on all 5 servers. It is important to name the servers properly for Creating a Scalable Cloud Infrastructure. Read first for these extra tweaks before starting :

 

  • Configure two web servers with Postfix Email Server. The first step before installing Postfix is to make sure that Sendmail is not already running on your system. To install it, use the following command:

 

su –
yum install postfix

 

  •  The main configuration settings for Postfix are located in the /etc/postfix/main.cf file. You can check Official documentation for more.
  • Configure two web servers with SendGrid (optional) for Rackspace. This is nothing but SMTP Service Package.
  • There is no need to run MySQL in two web servers.
  • On the other hand, on Database Servers, there is no need to run Apache with its modules.
  • The above two tweaks for Creating a Scalable Cloud Infrastructure for WordPress is to optimize the performance. You can selectively disable more running services very carefully if you are a Linux expert.
  • You probably have already installed Apache virtual host to each Web Servers to point to the WordPress root directory.
  • One of the Web Server will be the main webserver, other will replicate it. You will need to install Live Syncing (Mirror) Daemon Lsyncd. You will get the manual for using it on GitHub. After this, you will work only on main webserver. Your both webservers will run mod_php by default. Disable it. Install either suPHP Apache module or you can use PHP-FPM and suexec. Any of them will make the management within the WordPress Admin panel possible.
  • Install the memcache PHP module on main webserver. Set it to to save sessions.
  • Now the Memcached Server. We need to install it. Use these commands :

 

rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

 

Then,

Advertisement

---

 

yum install memcached

 

We need to configure it, most important value to configure is cachesize. This example shows size of 1024 MB :

 

nano -w /etc/sysconfig/memcached
PORT=”11211″
USER=”memcached”
MAXCONN=”2048″
CACHESIZE=”1024″
OPTIONS=””

 

Please check official website of memcached for more help.

 

  • Configure the database servers. This part actually depends on which Cloud Host you are actually using. Basically, you need to install memcached on the database nodes and follow their directions. Ultimately, you need to allow connections via IPTables from the web nodes and selectively use one for caching.
  • Allow connections via IPTables from the webservers
  • Now closer to the final Step, install WordPress on the main webserver

 

The important step of Creating a Scalable Cloud Infrastructure for WordPress is configuring the load balancers

 

Creating a Scalable Cloud Infrastructure for WordPress

 

Otherwise nothing will work as we have pointed at the beginning towards the loadbalancer’s IP. It is fully depends on which service you are using. Using all is GUI based, its quite easy to set up.

 

Cost of Creating a Scalable Cloud Infrastructure for WordPress

 

For Rackspace, Creating a Scalable Cloud Infrastructure for WordPress like above will cost around $270 per month for unmanaged Cloud Servers.

 

Signature Tagged With creating scalable cloud infrastructure

This Article Has Been Shared 645 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Creating a Scalable Cloud Infrastructure for WordPress

  • Install WordPress on Rackspace Cloud Server : Step by Step Guide

    Install Wordpress on Rackspace Cloud Server on Rackspace Cloud Server within few minutes, UNIX commands are included in this step by step guide.

  • Installing WordPress on Free Cloud VPS from Host1Free

    Installing WordPress on Free Cloud VPS from Host1Free will follow the same principle as installing on any server with root access from Command Line Interface.

  • Self Hosted WordPress on Cloud Server for Dummies

    Self Hosted WordPress is itself a scary phrase to a non-tech person and add Cloud Server on it. Here is Very Easy Guide to under Self Hosted WordPress.

  • Heroku Cloud Guide : Create An Easily Customizable Archive For Your Tweets

    Heroku Cloud Guide to Create An Easily Customizable Archive For Your Tweets. It is a step by step guide that will enable any level of use to work and build.

  • Rackspace Cloud FTP Guide

    Rackspace Cloud FTP Guide covers both the FTP / SFTP for Rackspace Cloud Sites and Rackspace Cloud Server.Here are also tips and tricks for Rackspace Cloud FTP.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • FaaS Versus PaaS Deployment: What You Should Know May 18, 2022
  • What Is A Digital Media Consultancy? May 17, 2022
  • How Artificial Intelligence (AI) Is Changing The Way We Play Bingo May 16, 2022
  • Why You Need A Big Data Consultant May 15, 2022
  • The Connection Between AI And Online Slots May 13, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Creating a Scalable Cloud Infrastructure for WordPress," in The Customize Windows, June 29, 2012, May 19, 2022, https://thecustomizewindows.com/2012/06/creating-a-scalable-cloud-infrastructure-for-wordpress/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy