• 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 901 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 (24.3K 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

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

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

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT