MLADEN ĐURIĆ. @MacMladen

Similar documents
BOA BARRACUDA ON ÆGIR ~ MY FIRST YEAR ~ Mladen

INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU (TRUSTY TAHR)

About This Document 3. About the Migration Process 4. Requirements and Prerequisites 5. Requirements... 5 Prerequisites... 5

Graham Jones. Internet Psychologist. How to choose the right web host

DVS-100 Installation Guide

Taking Drupal development to the Cloud. Karel Bemelmans

ULTEO OPEN VIRTUAL DESKTOP UBUNTU (PRECISE PANGOLIN) SUPPORT

Dedicated Hosting. The best of all worlds. Build your server to deliver just what you want. For more information visit: imcloudservices.com.

HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY

HW9 WordPress & Google Analytics

1.0 Hardware Requirements:

Introduction to Cloud Computing on Amazon Web Services (AWS) with focus on EC2 and S3. Horst Lueck

Cloud Computing For Bioinformatics. EC2 and AMIs

Creating an ESS instance on the Amazon Cloud

Tips for getting started! with! Virtual Data Center!

DVS-100 Installation Guide

Raspberry Pi Webserver

NAS Storage needs to be purchased; Will not be offered IAAS - Utility SMTP Per SMTP account Per server

How to Install SMTPSwith Mailer on Centos Server/VPS

Installing an open source version of MateCat

NoMachine (free version) Installation Guide

OS Installation Guide Red Hat Linux 9.0

Advanced 100 GB storage space. Unlimited monthly bandwidth. Pro 150 GB storage space. Unlimited monthly bandwidth. Horde Squirrelmail Round Cube Mail

Installing Booked scheduler on CentOS 6.5

Software Environment. Options. Service guarantee:. 24/7 Hardware Support. 99% uptime

Getting an ipath server running on Linux

Installing The SysAidTM Server Locally

How to Use? SKALICLOUD DEMO

Deployment - post Xserve

The current version installed on your server is el6.x86_64 and it's the latest available.

insync Installation Guide

Web Hosting: Pipeline Program Technical Self Study Guide

This document will list the ManageEngine Applications Manager best practices

CYCLOPE let s talk productivity

Fermilab Central Web Service Site Owner User Manual. DocDB: CS-doc-5372

Installation Guide to the Snare Server Installation Guide to the Snare Server

Selling Virtual Private Servers. A guide to positioning and selling VPS to your customers with Heart Internet

Local Caching Servers (LCS): User Manual

Ignify ecommerce. Item Requirements Notes

Written by: Johan Strand, Reviewed by: Chafic Nassif, Date: Getting an ipath server running on Linux

Creating a DUO MFA Service in AWS

DEDICATED MANAGED SERVER PROGRAM

Bitrix Site Manager. VMBitrix Virtual Machine. Quick Start And Usage Guide

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.2

Verax Service Desk Installation Guide for UNIX and Windows

ISPS & WEBHOSTS SETUP REQUIREMENTS & SIGNUP FORM LOCAL CLOUD

E-Commerce for IT Advanced. Louis Aguila & Matt Burt

JAMF Software Server Installation Guide for Linux. Version 8.6

Hadoop Installation MapReduce Examples Jake Karnes

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

MAMP 3 User Guide! March 2014 (c) appsolute GmbH!

Getting FileMaker Server 11 and IIS 7.x to Work with SSL. By Todd Duell

Parallels Plesk Automation

Linux Server Support by Applied Technology Research Center. Proxy Server Configuration

The Benefits of Verio Virtual Private Servers (VPS) Verio Virtual Private Server (VPS) CONTENTS

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.2

Parallels Virtuozzo Containers 4.7 for Linux Readme

CLOUD API DOCUMENTATION v2.0. Get list of cloud servers in account

Drupal Performance Tuning

Aqua Connect Load Balancer User Manual (Linux)

This computer will be on independent from the computer you access it from (and also cost money as long as it s on )

DevShop. Drupal Infrastructure in a Box. Jon Pugh CEO, Founder ThinkDrop Consulting Brooklyn NY

JAMF Software Server Installation and Configuration Guide for Windows. Version 9.3

AklaBox. The Ultimate Document Platform for your Cloud Infrastructure. Installation Guideline

Software Pricing. Operating System

Lesson 7 - Website Administration

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.0

DIY Device Cloud Documentation

CS197U: A Hands on Introduction to Unix

Cloudera Manager Installation Guide

CentOS. Apache. 1 de 8. Pricing Features Customers Help & Community. Sign Up Login Help & Community. Articles & Tutorials. Questions. Chat.

Partek Flow Installation Guide

INSTALLING KAAZING WEBSOCKET GATEWAY - HTML5 EDITION ON AN AMAZON EC2 CLOUD SERVER

VERSION 9.02 INSTALLATION GUIDE.

Mirtrak 6 Powered by Cyclope

Signiant Agent installation

Object Storage and Enterprise Repository Installation manual

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.0

Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide!

Cloud UT. Pay-as-you-go computing explained

Server Monitoring. AppDynamics Pro Documentation. Version Page 1

Release Notes for McAfee(R) VirusScan(R) Enterprise for Linux Version Copyright (C) 2014 McAfee, Inc. All Rights Reserved.

42goISP Documentation

SIMIAN systems. Setting up a Sitellite development environment on Mac OS X. Sitellite Content Management System

Are You Ready for the Holiday Rush?

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server

Architecting ColdFusion For Scalability And High Availability. Ryan Stewart Platform Evangelist

Using New Relic to Monitor Your Servers

Web Space Bandwidth CPU RAM / Burst IP Address Price. Economy 15GB 350GB 1GHz 384MB/512MB 1 $ Standard 50GB 750GB 1.5GHz 1GB/2GB 1 $ 39.

Amazon Elastic Compute Cloud Getting Started Guide. My experience

Amazon Elastic Beanstalk

Transcription:

MLADEN ĐURIĆ @MacMladen 1

THANKS! 2

TIME SPACE CONTINUUM THE EXISTENCE OF GOD AND OBJECT ORIENTED PHP IN DRUPAL 8 Mladen Đurić @macmladen 3

BOA BARRACUDA OCTOPUS ÆGIR ~ HOW TO RUN A WEB SERVER LIKE A PRO ON CHEAP ~ Mladen Đurić @macmladen 4

MLADEN ĐURIĆ a.k.a MacMladen in IT since the time of mainframes, 8th year in UNIX epoch (that s 1978). started with Z80 assembly, went over 6502 to 8086 (1978-1990) somewhere in between, there was an episode with BASIC but really enjoyed hard core C was knee deep in DTP 1990-2000 gone to Mac in 1995 and never looked back 2005 started playing with web technologies 2007 landed on Drupal :D 5

TIMETABLE: Shared hosting: ~10 min Ægir: ~30 min Q & A: 15 min or more 6

7

THE SURVIVAL OF THE FITTEST 8

Chapter 1. SHARED HOSTING 9

NOT ALL HOSTINGS ARE THE SAME Requirements: some Linux Apache PHP MySQL FTP SSH access Unlimited everything Disk Transfer Domains Databases Users 10

HITTING THE WALL The limits CPU Memory Database Caching (APC, opcache) Extra PHP stuff (uploadprogress, xdebug) Tweaks 11

DREAMHOST: LOVE & HATE Tuned: Users: unlimited! Memory:.htaccess raised! Database: horor, hell. Caching (APC, opcache) added! Extra PHP stuff added! (uploadprogress, xdebug) Tweaks totally customized :D 12

Chapter 2. EVALUATING DRUPAL HOSTING OPTIONS 13

ASSUME NOTHING My favourite 8086 assembler directive 14

IMPORTANT QUESTIONS Who you are? Service or VPS? Who your clients are? Service or VPS? System skill level Will you be able to cope with system maintaining Resources needed Service or VPS? Sites Memory CPU Disk Transfer SSL IP Budget Client expectations, sensitivity Security, maintenance, performance World region Proximity to client market 15

Chapter 3. TESTING FOR VPS 16

AWS FREE TIER MICRO INSTANCE EC2 t2.micro: 1 CPU 1 GB 30 GB of EBS World region Spot vs Reserved Load balancing http://aws.amazon.com/ec2/pricing/ 17

Chapter 4. BUILDING THE VPS 18

$10 = 1 CPU, 1GB, 30GB Cheaper plan is just too small. 1GB is enough for moderate use but will not allow Solr and memory use will be ~700-800MB active 2GB would raise MySQL cache, allow for Solr (~200MB) and leave some room for more performance. 4GB is expensive -> Dedicated 19

INSTANCE BUILD: DEBIAN 7 32BIT Debian: 6 or 7 Ubuntu CentOS FreeBSD Darwin/Mac? some exotic? 32 bit No need for less than 4GB 64 bit Imperative if you have more than 4GB 20

SUPPORTED LTS OS 32/64BIT MINIMAL ON SERVER OR DESKTOP ON LOCALHOST Debian 7 Wheezy (recommended) Debian 6 Squeeze (fully supported with automatic upgrade to Wheezy available) Ubuntu Trusty 14.04 (limited support) Ubuntu Precise 12.04 (limited support) Ubuntu Lucid 10.04 (limited support) 21

Chapter 5. UNDERSTANDING AEGIR 22

23

Chapter 6. BUILDING THE BOA 24

REQUIREMENTS FOR BOA wget must be installed. The git standard port 9418 must be open. SMTP standard port 25 (or SMTP relay) must be open for outgoing connections. Minimum 1 GB of RAM Locales with UTF-8 support, otherwise en_us.utf-8 (default) is forced. Basic sysadmin skills and experience. Willingness to accept BOA PI (paranoid idiosyncrasies). 25

BOA INSTALLATION IMPORTANT! Don't run any installer via sudo. You must be logged in as root or `sudo -i` first. Don't run any system updates before running Barracuda installer. You should use vanilla system. # cd # wget -q -U icab http://files.aegir.cc/boa.sh.txt # bash BOA.sh.txt You are prepared now. But before starting installation, you have to configure it first. 26

BARRACUDA IMPORTANT! Don't run any installer via sudo. You must be logged in as root or `sudo -i` first. Don't run any system updates before running Barracuda installer. You should use vanilla system. # cd # wget -q -U icab http://files.aegir.cc/boa.sh.txt # bash BOA.sh.txt # { make changes in.barracuda.cnf and.octopus.cnf } # boa in-stable public server.mydomain.org my@email o1 # boa in-stable public server2.mydomain2.org my2@email o2 mini 27

Chapter 7. MIGRATING SITES 28

Chapter 8. MAINTAING SITES 29

Q & A BARRACUDA ON AEGIR ~ MY FIRST YEAR ~ Mladen Đurić @macmladen 30

THANKS! BARRACUDA ON AEGIR ~ MY FIRST YEAR ~ Mladen Đurić @macmladen 31