SlideShare a Scribd company logo
1 of 51
Download to read offline
Hosting Drupal – Getting Started!
          Mark Schoonover – ThetaJoin
          mark@thetajoin.com
          SandCamp 2010
Drupal Requirements

●   LAMP stack




                            http://www.thetajoin.com
Drupal Requirements

●   LAMP stack

        ●   Linux (Redhat, CentOS, Ubuntu) - OS
        ●   Apache (lighttpd, Nginx) - Webserver
        ●   MySQL (PostgreSQL) - Database
        ●   PHP – Hypertext Preprocessor




                                          http://www.thetajoin.com
Drupal Requirements

●   LAMP stack

     This eliminates general webhosting services that only have a webserver
     running to serve static content – html or javascript files.




                                                                  http://www.thetajoin.com
Shared Hosting

●   What is it?




                                   http://www.thetajoin.com
Shared Hosting

    ●     What is it?
           Everything about the server is shared among many websites.




Creative Commons Attribution ShareAlike 3.0                    http://www.thetajoin.com
Shared Hosting

●   What is it?
    Everything about the server is shared among many websites.


                       ● CPU
                       ● Memory

                       ● Disk I/O

                       ● Disk Space

                       ● Internet Connection




                                                  http://www.thetajoin.com
Shared Hosting

●   How does it work?




                                http://www.thetajoin.com
Shared Hosting

●   How does it work?



                  ● Name Based
                  ● IP Based




                                 http://www.thetajoin.com
Shared Hosting

●   Pros of shared hosting...




                                 http://www.thetajoin.com
Shared Hosting

●   Pros of shared hosting...


     ● Low cost
     ● All system administration handled by hosting company

     ● Requires less system administration expertise

     ● All LAMP software installed, ready to go

     ● Web based control panels

     ● Easy to get started – relatively

     ● Plenty of hosting companies to choose from




                                               http://www.thetajoin.com
Shared Hosting

●   Cons of shared hosting... Part 1



     ● Low cost
     ● All server resources are shared across many websites

     ● Little to no performance tuning allowed

     ● Run extra software not needed by Drupal




                                              http://www.thetajoin.com
Shared Hosting

●   Cons of shared hosting... Part 2



     ● Hostname based hosting doesn't support SSL/TLS
     ● DNS problems will break hostname based hosting

     ● Security due to misconfigured file permissions

     ● Shared hosting aims for middle ground to run other CMS

     ● Can't use different OS, webserver, or database software




                                               http://www.thetajoin.com
Shared Hosting




                 http://www.thetajoin.com
Shared Hosting

Site backups??
   –   Don't pull an Atwood!




                                http://www.thetajoin.com
Virtual Private Server

Also called
●   VPS
●   Virtual Dedicated Server (VDS)




                                     http://www.thetajoin.com
Virtual Private Server

●   What is it?




                                  http://www.thetajoin.com
Virtual Private Server

●   What is it?
    ●   It's between shared and dedicated hosting
    ●   Can be unmanaged or fully managed




                                              http://www.thetajoin.com
Virtual Private Server
How does it work?




                             http://www.thetajoin.com
Virtual Private Server

●   Pros of VPS... Part 1
    ●   Choose OS – Redhat, Ubuntu, Debian
    ●   Choose any combination of webserver, database,
        or PHP to run Drupal
    ●   Virtual hosts can be “resized” on the fly
    ●   Resources can be Fair Shared
    ●   Full root access



                                                    http://www.thetajoin.com
Virtual Private Server

●   Pros of VPS... Part 2
    ●   Perfomance can be burstable
    ●   Minimum or maximum performance guarantee
    ●   Hardware & O/S managed by hosting company
    ●   No one else on your VPS
    ●   Server cloning




                                          http://www.thetajoin.com
Virtual Private Server

●   Pros of VPS... Part 3
    ●   Drupal performance tunable to your exact needs
    ●   Hosting provider may provide entire server
        snapshots
    ●   Less complexity
    ●   Higher performance than shared hosting




                                               http://www.thetajoin.com
Virtual Private Server

●   Pros of VPS... Part 4
    ●   Hosting provider may have Service Level
        Agreements
    ●   Dedicated IP address allows SSL certificates
    ●   Run multiple Drupal sites on single VPS




                                               http://www.thetajoin.com
Virtual Private Server

●   Cons of VPS...
    ●   Higher level of technical skills
    ●   Responsible for 100% system administration
    ●   Higher cost
    ●   Server fault & performance typically not managed
    ●   You break it, you fix it!




                                              http://www.thetajoin.com
Virtual Private Server




                    http://www.thetajoin.com
Dedicated Server

●   What is it?




                                 http://www.thetajoin.com
Dedicated Server

●   What is it?
    ●   Entire server is YOURS!!
        –   Hosting owned or private owned
    ●   Different kinds
        –   Fully Managed – Totally hands off
        –   Managed – Medium level
        –   Self Managed – Possibly all software, no hardware
        –   Unmanaged – 100% yours to manage



                                                     http://www.thetajoin.com
Dedicated Server

●   Pros of Dedicated Server?
    ●   Ultimate performance
        –   Absolutely no one on your server
        –   You pick datacenter location
        –   You pick all the hardware
        –   Multi-server Drupal




                                               http://www.thetajoin.com
Dedicated Server

●   Pros of Dedicated Server?
    ●   Ultimate Flexibility
         –   Different server hardware for webserver or database
             server
         –   Different OS for webserver or database server
         –   Introduce dedicated cacheing layers
         –   Scale up or scale out




                                                       http://www.thetajoin.com
Dedicated Server

●   Cons of Dedicated Server?
    ●   Highest cost
        –   Initial purchase
        –   Depreciation
        –   Upgrades




                                       http://www.thetajoin.com
Dedicated Server

●   Cons of Dedicated Server?
    ●   Highest cost
         – Initial purchase
         – Depreciation
         – Upgrades
    ●   Highest level of technical skills
         –   Hardware & software




                                            http://www.thetajoin.com
Dedicated Server

●   Cons of Dedicated Server?
    ●   Highest cost
         – Initial purchase
         – Depreciation
         – Upgrades
    ●   Highest level of technical skills
         –Hardware & software
    ●   Fault & Performance Management



                                            http://www.thetajoin.com
Dedicated Server




               http://www.thetajoin.com
Content Delivery Networks

●   What are they?




                              http://www.thetajoin.com
Content Delivery Networks

●   What are they?

    ●   Content Delivery Networks (CDN) are used to move bandwidth intensive files off
        your Drupal hosting server and put them closer to end user computers.
    ●   Content can be audio, video, photos, software, other documents, or static files.




                                                                       http://www.thetajoin.com
Content Delivery Networks

●   Popular CDNs
      – Akamai
      – Amazon Cloudfront
      – Amazon Simple Storage Service (S3)
      – CacheFly
      – Many more...




                                     http://www.thetajoin.com
Content Delivery Networks

●   Why use a CDN?

    ●   Performance
         –   This allows many more concurrent users to access bandwidth intensive files
             than a single Drupal server can support.
         –   Fantastic for downloading or streaming audio and video files




                                                                      http://www.thetajoin.com
Content Delivery Networks

●   Why use a CDN?

    ●   Performance
         –   This allows many more concurrent users to access bandwidth intensive files
             than a single Drupal server can support.
         –   Fantastic for downloading or streaming audio and video files.
    ●   Mass Storage
         –   Nearly unlimited storage for your files




                                                                      http://www.thetajoin.com
Content Delivery Networks

●   When to use a CDN?
    ●   Performance
         –   Large audio/video files make your Drupal server internet connection a
             bottleneck.
         –   Many smaller files frequently accessed bottleneck your Drupal server
             internet connection.
         –   Your Drupal server can't stream audio or video successfully.
    ●   Mass Storage
         –   You're running out of storage on your Drupal server.
         –   You don't want to store very large files in your Drupal directory structure.




                                                                         http://www.thetajoin.com
Content Delivery Networks

●   Drawbacks using CDNs?
    ●   Added complexity
         –   More things to break
         –   Additional administrative overhead
         –   Drupal can't make using CDNs all automatic
         –   Works for you, but not for others
         –   Dynamic content
         –   Can't be used for database storage
         –   Outside Drupal security




                                                          http://www.thetajoin.com
“The Cloud”




              http://www.thetajoin.com
The “Cloud”

●   What is that?
    ●   The “Cloud” provides a platform, or
        infrastructure as a service.
    ●   New application of existing technology
    ●   Instead of many websites on a single host
        like shared hosting, there are many websites
        spread across many servers or “clusters”.


                                          http://www.thetajoin.com
The “Cloud”

●   What are clusters?

    Clusters are simply multiple webservers, database
    servers, or PHP servers configured to act as one
    large, powerful server.




                                             http://www.thetajoin.com
The “Cloud”

●   What does it mean?
    ●   Infrastructure as a service means you don't have to worry about
        the hardware or software your Drupal site runs on.
    ●   The infrastructure is built on a large number of web and database
        servers working together in clusters.




                                                          http://www.thetajoin.com
The “Cloud”

●   How do they work?
    ●   Register for an account
    ●   Transfer your Drupal files
    ●   Transfer Drupal database
    ●   Configure DNS




                                                http://www.thetajoin.com
The “Cloud”

●   How do they work?
    ●   Register for an account
    ●   Transfer your Drupal files
    ●   Transfer Drupal database
    ●   Configure DNS




            Same as any other hosting service.

                                                http://www.thetajoin.com
The “Cloud”

●   Benefits of the Cloud?
    ●   Scalability
    ●   High redundancy
    ●   Utility pricing, pay as you go




                                            http://www.thetajoin.com
The “Cloud”

●   Cons of the Cloud?
    ●   You have to make sure everything works on the cloud
        platform.
    ●   No performance tuning
    ●   Latency issues between clusters
    ●   Cloud component upgrades could break Drupal
    ●   May not be cost effective for smallish sites
    ●   Security



                                                       http://www.thetajoin.com
The “Cloud”




              http://www.thetajoin.com
Slides of this talk available on:
http://www.thetajoin.com - SandCAMP
Thank you for attending my SandCAMP 2010 session. I hope you enjoyed the session as much as I did preparing and
presenting.

For attendees of my sessions & people who download my slides, I'm offering a free Drupal performance analysis of
your site! I have to limit this offer to a single site only, so pick your worst! Just email or call to setup an appointment.

Hope you had a great time at SandCAMP 2010!

Regards,
Mark Schoonover

http://www.thetajoin.com - The Drupal Hosting & Performance Company
Email: mark@thetajoin.com :: Voice: 619-928-4473 :: Fax: 619-374-3130

More Related Content

What's hot

Nimbus project
Nimbus projectNimbus project
Nimbus projectaimas06
 
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1The Linux Foundation
 
Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3Tim Mackey
 
Achieving Massive Scalability and High Availability for PHP Applications in t...
Achieving Massive Scalability and High Availability for PHP Applications in t...Achieving Massive Scalability and High Availability for PHP Applications in t...
Achieving Massive Scalability and High Availability for PHP Applications in t...RightScale
 
ActiveMQ In Action
ActiveMQ In ActionActiveMQ In Action
ActiveMQ In ActionBruce Snyder
 
Optimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend ServerOptimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend Servervarien
 
Dominopoint 2012 - IBM Lotus Traveler High Availability in a nutshell
Dominopoint 2012 - IBM Lotus Traveler High Availability in a nutshellDominopoint 2012 - IBM Lotus Traveler High Availability in a nutshell
Dominopoint 2012 - IBM Lotus Traveler High Availability in a nutshellRené Winkelmeyer
 
Midwest PHP - Scaling Magento
Midwest PHP - Scaling MagentoMidwest PHP - Scaling Magento
Midwest PHP - Scaling MagentoMathew Beane
 
Whats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageWhats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageJohn Moran
 
Nicolas Vazquez - Open vSwitch with DPDK on CloudStack
Nicolas Vazquez - Open vSwitch with DPDK on CloudStackNicolas Vazquez - Open vSwitch with DPDK on CloudStack
Nicolas Vazquez - Open vSwitch with DPDK on CloudStackShapeBlue
 
Apache CloudStack's Plugin Model: Balancing the Cathedral with a Bazaar
Apache CloudStack's Plugin Model:Balancing the Cathedral with a BazaarApache CloudStack's Plugin Model:Balancing the Cathedral with a Bazaar
Apache CloudStack's Plugin Model: Balancing the Cathedral with a BazaarDonal Lafferty
 
vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoringAlan Renouf
 
XenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsXenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsTim Mackey
 
A Tale of 2 Systems
A Tale of 2 SystemsA Tale of 2 Systems
A Tale of 2 SystemsDavid Newman
 
Supporting Hyper-V 3.0 on Apache CloudStack
Supporting Hyper-V 3.0 on Apache CloudStackSupporting Hyper-V 3.0 on Apache CloudStack
Supporting Hyper-V 3.0 on Apache CloudStackDonal Lafferty
 
Messaging With ActiveMQ
Messaging With ActiveMQMessaging With ActiveMQ
Messaging With ActiveMQBruce Snyder
 
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight PROIDEA
 

What's hot (17)

Nimbus project
Nimbus projectNimbus project
Nimbus project
 
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
 
Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3
 
Achieving Massive Scalability and High Availability for PHP Applications in t...
Achieving Massive Scalability and High Availability for PHP Applications in t...Achieving Massive Scalability and High Availability for PHP Applications in t...
Achieving Massive Scalability and High Availability for PHP Applications in t...
 
ActiveMQ In Action
ActiveMQ In ActionActiveMQ In Action
ActiveMQ In Action
 
Optimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend ServerOptimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend Server
 
Dominopoint 2012 - IBM Lotus Traveler High Availability in a nutshell
Dominopoint 2012 - IBM Lotus Traveler High Availability in a nutshellDominopoint 2012 - IBM Lotus Traveler High Availability in a nutshell
Dominopoint 2012 - IBM Lotus Traveler High Availability in a nutshell
 
Midwest PHP - Scaling Magento
Midwest PHP - Scaling MagentoMidwest PHP - Scaling Magento
Midwest PHP - Scaling Magento
 
Whats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageWhats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and Storage
 
Nicolas Vazquez - Open vSwitch with DPDK on CloudStack
Nicolas Vazquez - Open vSwitch with DPDK on CloudStackNicolas Vazquez - Open vSwitch with DPDK on CloudStack
Nicolas Vazquez - Open vSwitch with DPDK on CloudStack
 
Apache CloudStack's Plugin Model: Balancing the Cathedral with a Bazaar
Apache CloudStack's Plugin Model:Balancing the Cathedral with a BazaarApache CloudStack's Plugin Model:Balancing the Cathedral with a Bazaar
Apache CloudStack's Plugin Model: Balancing the Cathedral with a Bazaar
 
vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoring
 
XenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsXenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud Environments
 
A Tale of 2 Systems
A Tale of 2 SystemsA Tale of 2 Systems
A Tale of 2 Systems
 
Supporting Hyper-V 3.0 on Apache CloudStack
Supporting Hyper-V 3.0 on Apache CloudStackSupporting Hyper-V 3.0 on Apache CloudStack
Supporting Hyper-V 3.0 on Apache CloudStack
 
Messaging With ActiveMQ
Messaging With ActiveMQMessaging With ActiveMQ
Messaging With ActiveMQ
 
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight
 

Viewers also liked

Virtual Solution for Microsoft SQL Server
Virtual Solution for Microsoft SQL ServerVirtual Solution for Microsoft SQL Server
Virtual Solution for Microsoft SQL Serverwebhostingguy
 
How Inflation Begins
How Inflation BeginsHow Inflation Begins
How Inflation BeginsJeff Green
 
Dedicated Server Service Agreement
Dedicated Server Service AgreementDedicated Server Service Agreement
Dedicated Server Service Agreementwebhostingguy
 
Configuring Windows 2000/XP IPsec for Site-to-Site VPN
Configuring Windows 2000/XP IPsec for Site-to-Site VPNConfiguring Windows 2000/XP IPsec for Site-to-Site VPN
Configuring Windows 2000/XP IPsec for Site-to-Site VPNwebhostingguy
 
SSHELCO Cataloging Presentation 2011
SSHELCO Cataloging Presentation 2011SSHELCO Cataloging Presentation 2011
SSHELCO Cataloging Presentation 2011William Fee
 
Solving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and ScalabilitySolving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and Scalabilitywebhostingguy
 

Viewers also liked (7)

Virtual Solution for Microsoft SQL Server
Virtual Solution for Microsoft SQL ServerVirtual Solution for Microsoft SQL Server
Virtual Solution for Microsoft SQL Server
 
How Inflation Begins
How Inflation BeginsHow Inflation Begins
How Inflation Begins
 
Dedicated Server Service Agreement
Dedicated Server Service AgreementDedicated Server Service Agreement
Dedicated Server Service Agreement
 
ncdraft2.ppt
ncdraft2.pptncdraft2.ppt
ncdraft2.ppt
 
Configuring Windows 2000/XP IPsec for Site-to-Site VPN
Configuring Windows 2000/XP IPsec for Site-to-Site VPNConfiguring Windows 2000/XP IPsec for Site-to-Site VPN
Configuring Windows 2000/XP IPsec for Site-to-Site VPN
 
SSHELCO Cataloging Presentation 2011
SSHELCO Cataloging Presentation 2011SSHELCO Cataloging Presentation 2011
SSHELCO Cataloging Presentation 2011
 
Solving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and ScalabilitySolving the C20K Problem: PHP Performance and Scalability
Solving the C20K Problem: PHP Performance and Scalability
 

Similar to Hosting

Scalable Architecture 101
Scalable Architecture 101Scalable Architecture 101
Scalable Architecture 101ConFoo
 
Setting up a local WordPress Environment
Setting up a local WordPress EnvironmentSetting up a local WordPress Environment
Setting up a local WordPress EnvironmentChris La Nauze
 
Drupal Performance and Scaling
Drupal Performance and ScalingDrupal Performance and Scaling
Drupal Performance and ScalingGerald Villorente
 
How to choose the right web hosting for your business
How to choose the right web hosting for your business How to choose the right web hosting for your business
How to choose the right web hosting for your business Pickaweb
 
Best wordpress hosting
Best wordpress hosting Best wordpress hosting
Best wordpress hosting ken1990julius
 
Learn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 SlidesLearn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 SlidesAhmed Mohammed Nagdy
 
Best practices of notes traveler deployment
Best practices of notes traveler deploymentBest practices of notes traveler deployment
Best practices of notes traveler deploymentRahul Kumar
 
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress TrivandrumWordPress Trivandrum
 
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo MeetupSpeed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo MeetupAhmed Mohammed Nagdy
 
Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)Justin Foell
 
Best Practices for Virtualizing Apache Hadoop
Best Practices for Virtualizing Apache HadoopBest Practices for Virtualizing Apache Hadoop
Best Practices for Virtualizing Apache HadoopHortonworks
 
Linux advanced concepts - Part 2
Linux advanced concepts - Part 2Linux advanced concepts - Part 2
Linux advanced concepts - Part 2NAILBITER
 
Websites for Hackers
Websites for HackersWebsites for Hackers
Websites for HackersChris Antes
 
Hortonworks Technical Workshop - Operational Best Practices Workshop
Hortonworks Technical Workshop - Operational Best Practices WorkshopHortonworks Technical Workshop - Operational Best Practices Workshop
Hortonworks Technical Workshop - Operational Best Practices WorkshopHortonworks
 
Building your own Desktop Cloud Environment
Building your own Desktop Cloud EnvironmentBuilding your own Desktop Cloud Environment
Building your own Desktop Cloud EnvironmentJnaapti
 
be the captain of your connections deployment
be the captain of your connections deploymentbe the captain of your connections deployment
be the captain of your connections deploymentSharon James
 

Similar to Hosting (20)

Scalable Architecture 101
Scalable Architecture 101Scalable Architecture 101
Scalable Architecture 101
 
Setting up a local WordPress Environment
Setting up a local WordPress EnvironmentSetting up a local WordPress Environment
Setting up a local WordPress Environment
 
Drupal Performance and Scaling
Drupal Performance and ScalingDrupal Performance and Scaling
Drupal Performance and Scaling
 
How to choose the right web hosting for your business
How to choose the right web hosting for your business How to choose the right web hosting for your business
How to choose the right web hosting for your business
 
Best wordpress hosting
Best wordpress hosting Best wordpress hosting
Best wordpress hosting
 
Learn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 SlidesLearn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 Slides
 
Best practices of notes traveler deployment
Best practices of notes traveler deploymentBest practices of notes traveler deployment
Best practices of notes traveler deployment
 
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
 
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo MeetupSpeed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
 
Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)
 
Best Practices for Virtualizing Apache Hadoop
Best Practices for Virtualizing Apache HadoopBest Practices for Virtualizing Apache Hadoop
Best Practices for Virtualizing Apache Hadoop
 
Performance stack
Performance stackPerformance stack
Performance stack
 
Linux advanced concepts - Part 2
Linux advanced concepts - Part 2Linux advanced concepts - Part 2
Linux advanced concepts - Part 2
 
Websites for Hackers
Websites for HackersWebsites for Hackers
Websites for Hackers
 
Hortonworks Technical Workshop - Operational Best Practices Workshop
Hortonworks Technical Workshop - Operational Best Practices WorkshopHortonworks Technical Workshop - Operational Best Practices Workshop
Hortonworks Technical Workshop - Operational Best Practices Workshop
 
Building your own Desktop Cloud Environment
Building your own Desktop Cloud EnvironmentBuilding your own Desktop Cloud Environment
Building your own Desktop Cloud Environment
 
ch01.pptx
ch01.pptxch01.pptx
ch01.pptx
 
Designing virtual infrastructure
Designing virtual infrastructureDesigning virtual infrastructure
Designing virtual infrastructure
 
be the captain of your connections deployment
be the captain of your connections deploymentbe the captain of your connections deployment
be the captain of your connections deployment
 
Server virtualization 3
Server virtualization   3Server virtualization   3
Server virtualization 3
 

More from webhostingguy

Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Frameworkwebhostingguy
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guidewebhostingguy
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3webhostingguy
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serverswebhostingguy
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidationwebhostingguy
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreementwebhostingguy
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...webhostingguy
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...webhostingguy
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructurewebhostingguy
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.pptwebhostingguy
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy webhostingguy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandiserswebhostingguy
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Productswebhostingguy
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mbwebhostingguy
 

More from webhostingguy (20)

File Upload
File UploadFile Upload
File Upload
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Framework
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidation
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreement
 
Notes8
Notes8Notes8
Notes8
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructure
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.ppt
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandisers
 
OLUG_xen.ppt
OLUG_xen.pptOLUG_xen.ppt
OLUG_xen.ppt
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Products
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mb
 
Reseller's Guide
Reseller's GuideReseller's Guide
Reseller's Guide
 

Hosting

  • 1. Hosting Drupal – Getting Started! Mark Schoonover – ThetaJoin mark@thetajoin.com SandCamp 2010
  • 2. Drupal Requirements ● LAMP stack http://www.thetajoin.com
  • 3. Drupal Requirements ● LAMP stack ● Linux (Redhat, CentOS, Ubuntu) - OS ● Apache (lighttpd, Nginx) - Webserver ● MySQL (PostgreSQL) - Database ● PHP – Hypertext Preprocessor http://www.thetajoin.com
  • 4. Drupal Requirements ● LAMP stack This eliminates general webhosting services that only have a webserver running to serve static content – html or javascript files. http://www.thetajoin.com
  • 5. Shared Hosting ● What is it? http://www.thetajoin.com
  • 6. Shared Hosting ● What is it? Everything about the server is shared among many websites. Creative Commons Attribution ShareAlike 3.0 http://www.thetajoin.com
  • 7. Shared Hosting ● What is it? Everything about the server is shared among many websites. ● CPU ● Memory ● Disk I/O ● Disk Space ● Internet Connection http://www.thetajoin.com
  • 8. Shared Hosting ● How does it work? http://www.thetajoin.com
  • 9. Shared Hosting ● How does it work? ● Name Based ● IP Based http://www.thetajoin.com
  • 10. Shared Hosting ● Pros of shared hosting... http://www.thetajoin.com
  • 11. Shared Hosting ● Pros of shared hosting... ● Low cost ● All system administration handled by hosting company ● Requires less system administration expertise ● All LAMP software installed, ready to go ● Web based control panels ● Easy to get started – relatively ● Plenty of hosting companies to choose from http://www.thetajoin.com
  • 12. Shared Hosting ● Cons of shared hosting... Part 1 ● Low cost ● All server resources are shared across many websites ● Little to no performance tuning allowed ● Run extra software not needed by Drupal http://www.thetajoin.com
  • 13. Shared Hosting ● Cons of shared hosting... Part 2 ● Hostname based hosting doesn't support SSL/TLS ● DNS problems will break hostname based hosting ● Security due to misconfigured file permissions ● Shared hosting aims for middle ground to run other CMS ● Can't use different OS, webserver, or database software http://www.thetajoin.com
  • 14. Shared Hosting http://www.thetajoin.com
  • 15. Shared Hosting Site backups?? – Don't pull an Atwood! http://www.thetajoin.com
  • 16. Virtual Private Server Also called ● VPS ● Virtual Dedicated Server (VDS) http://www.thetajoin.com
  • 17. Virtual Private Server ● What is it? http://www.thetajoin.com
  • 18. Virtual Private Server ● What is it? ● It's between shared and dedicated hosting ● Can be unmanaged or fully managed http://www.thetajoin.com
  • 19. Virtual Private Server How does it work? http://www.thetajoin.com
  • 20. Virtual Private Server ● Pros of VPS... Part 1 ● Choose OS – Redhat, Ubuntu, Debian ● Choose any combination of webserver, database, or PHP to run Drupal ● Virtual hosts can be “resized” on the fly ● Resources can be Fair Shared ● Full root access http://www.thetajoin.com
  • 21. Virtual Private Server ● Pros of VPS... Part 2 ● Perfomance can be burstable ● Minimum or maximum performance guarantee ● Hardware & O/S managed by hosting company ● No one else on your VPS ● Server cloning http://www.thetajoin.com
  • 22. Virtual Private Server ● Pros of VPS... Part 3 ● Drupal performance tunable to your exact needs ● Hosting provider may provide entire server snapshots ● Less complexity ● Higher performance than shared hosting http://www.thetajoin.com
  • 23. Virtual Private Server ● Pros of VPS... Part 4 ● Hosting provider may have Service Level Agreements ● Dedicated IP address allows SSL certificates ● Run multiple Drupal sites on single VPS http://www.thetajoin.com
  • 24. Virtual Private Server ● Cons of VPS... ● Higher level of technical skills ● Responsible for 100% system administration ● Higher cost ● Server fault & performance typically not managed ● You break it, you fix it! http://www.thetajoin.com
  • 25. Virtual Private Server http://www.thetajoin.com
  • 26. Dedicated Server ● What is it? http://www.thetajoin.com
  • 27. Dedicated Server ● What is it? ● Entire server is YOURS!! – Hosting owned or private owned ● Different kinds – Fully Managed – Totally hands off – Managed – Medium level – Self Managed – Possibly all software, no hardware – Unmanaged – 100% yours to manage http://www.thetajoin.com
  • 28. Dedicated Server ● Pros of Dedicated Server? ● Ultimate performance – Absolutely no one on your server – You pick datacenter location – You pick all the hardware – Multi-server Drupal http://www.thetajoin.com
  • 29. Dedicated Server ● Pros of Dedicated Server? ● Ultimate Flexibility – Different server hardware for webserver or database server – Different OS for webserver or database server – Introduce dedicated cacheing layers – Scale up or scale out http://www.thetajoin.com
  • 30. Dedicated Server ● Cons of Dedicated Server? ● Highest cost – Initial purchase – Depreciation – Upgrades http://www.thetajoin.com
  • 31. Dedicated Server ● Cons of Dedicated Server? ● Highest cost – Initial purchase – Depreciation – Upgrades ● Highest level of technical skills – Hardware & software http://www.thetajoin.com
  • 32. Dedicated Server ● Cons of Dedicated Server? ● Highest cost – Initial purchase – Depreciation – Upgrades ● Highest level of technical skills –Hardware & software ● Fault & Performance Management http://www.thetajoin.com
  • 33. Dedicated Server http://www.thetajoin.com
  • 34. Content Delivery Networks ● What are they? http://www.thetajoin.com
  • 35. Content Delivery Networks ● What are they? ● Content Delivery Networks (CDN) are used to move bandwidth intensive files off your Drupal hosting server and put them closer to end user computers. ● Content can be audio, video, photos, software, other documents, or static files. http://www.thetajoin.com
  • 36. Content Delivery Networks ● Popular CDNs – Akamai – Amazon Cloudfront – Amazon Simple Storage Service (S3) – CacheFly – Many more... http://www.thetajoin.com
  • 37. Content Delivery Networks ● Why use a CDN? ● Performance – This allows many more concurrent users to access bandwidth intensive files than a single Drupal server can support. – Fantastic for downloading or streaming audio and video files http://www.thetajoin.com
  • 38. Content Delivery Networks ● Why use a CDN? ● Performance – This allows many more concurrent users to access bandwidth intensive files than a single Drupal server can support. – Fantastic for downloading or streaming audio and video files. ● Mass Storage – Nearly unlimited storage for your files http://www.thetajoin.com
  • 39. Content Delivery Networks ● When to use a CDN? ● Performance – Large audio/video files make your Drupal server internet connection a bottleneck. – Many smaller files frequently accessed bottleneck your Drupal server internet connection. – Your Drupal server can't stream audio or video successfully. ● Mass Storage – You're running out of storage on your Drupal server. – You don't want to store very large files in your Drupal directory structure. http://www.thetajoin.com
  • 40. Content Delivery Networks ● Drawbacks using CDNs? ● Added complexity – More things to break – Additional administrative overhead – Drupal can't make using CDNs all automatic – Works for you, but not for others – Dynamic content – Can't be used for database storage – Outside Drupal security http://www.thetajoin.com
  • 41. “The Cloud” http://www.thetajoin.com
  • 42. The “Cloud” ● What is that? ● The “Cloud” provides a platform, or infrastructure as a service. ● New application of existing technology ● Instead of many websites on a single host like shared hosting, there are many websites spread across many servers or “clusters”. http://www.thetajoin.com
  • 43. The “Cloud” ● What are clusters? Clusters are simply multiple webservers, database servers, or PHP servers configured to act as one large, powerful server. http://www.thetajoin.com
  • 44. The “Cloud” ● What does it mean? ● Infrastructure as a service means you don't have to worry about the hardware or software your Drupal site runs on. ● The infrastructure is built on a large number of web and database servers working together in clusters. http://www.thetajoin.com
  • 45. The “Cloud” ● How do they work? ● Register for an account ● Transfer your Drupal files ● Transfer Drupal database ● Configure DNS http://www.thetajoin.com
  • 46. The “Cloud” ● How do they work? ● Register for an account ● Transfer your Drupal files ● Transfer Drupal database ● Configure DNS Same as any other hosting service. http://www.thetajoin.com
  • 47. The “Cloud” ● Benefits of the Cloud? ● Scalability ● High redundancy ● Utility pricing, pay as you go http://www.thetajoin.com
  • 48. The “Cloud” ● Cons of the Cloud? ● You have to make sure everything works on the cloud platform. ● No performance tuning ● Latency issues between clusters ● Cloud component upgrades could break Drupal ● May not be cost effective for smallish sites ● Security http://www.thetajoin.com
  • 49. The “Cloud” http://www.thetajoin.com
  • 50. Slides of this talk available on: http://www.thetajoin.com - SandCAMP
  • 51. Thank you for attending my SandCAMP 2010 session. I hope you enjoyed the session as much as I did preparing and presenting. For attendees of my sessions & people who download my slides, I'm offering a free Drupal performance analysis of your site! I have to limit this offer to a single site only, so pick your worst! Just email or call to setup an appointment. Hope you had a great time at SandCAMP 2010! Regards, Mark Schoonover http://www.thetajoin.com - The Drupal Hosting & Performance Company Email: mark@thetajoin.com :: Voice: 619-928-4473 :: Fax: 619-374-3130