how does a big shared web hosting environment work?

15
How does a big shared web hosting environment work? Claudio Filho <claudio.fi[email protected]>

Upload: claudio-borges

Post on 12-Jan-2017

372 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: How does a big shared web hosting environment work?

How does a big shared web hosting environment work?

Claudio Filho <[email protected]>

Page 2: How does a big shared web hosting environment work?

About me+14 years experience with Linux/Unix.

Technical Operations Leader at Locaweb.

PPPL Programmer (Python, PHP, Perl and Lua) and I can handle myself in C.

Father.

USF4 Player (I came back).

Page 3: How does a big shared web hosting environment work?

About Locaweb

founded in 1997 focused on shared hosting.

First Brazilian company to offer hosting services using its own infrastructure.

Diversified portfolio: dedicated servers, shared hosting, e-mail, e-commerce, cloud computing, VoIP, streaming system, etc.

Page 4: How does a big shared web hosting environment work?

Locaweb in numbers

+1k employees.

+262k customers.

+465k websites.

+14k virtual servers.

+6k physical servers.

Page 5: How does a big shared web hosting environment work?

What is shared hosting?

Shared hosting is a platform in which a web server or multiple web servers provide web pages, each having its own individual space.

Page 6: How does a big shared web hosting environment work?

Provisioning (part I)

Page 7: How does a big shared web hosting environment work?

Provisioning (part II)Technologies:

CMDB (developed in ruby).

Cobbler (customized version with python plugins).

Gitlab (customized version).

Cfengine (core).

Page 8: How does a big shared web hosting environment work?

Provisioning (part III)Advantages:

Automation.

Availability.

Standardisation.

Maintenance.

Scalability.

Page 9: How does a big shared web hosting environment work?

Locaweb Shared hosting architecture (part I)

Page 10: How does a big shared web hosting environment work?

Locaweb Shared hosting architecture (part II)

Technologies:

Check-mk (with a plenty of python plugins).

Bacula (customised version).

Avere Storage.

Cfengine.

PostgreSQL and MySQL Percona Server.

Page 11: How does a big shared web hosting environment work?

Webserver architecture (part I)

Page 12: How does a big shared web hosting environment work?

Webserver architecture (part II)

CentOS.

Varnish.

Apache HTTP Server.

Pure-FTP.

OpenSSH.

PHP 5.3 - PHP 5.6.

Page 13: How does a big shared web hosting environment work?

Security

Customised Kernel with Grsecurity Patch.

Access Control List.

Firewall.

Monitoring.

Page 14: How does a big shared web hosting environment work?

Referenceshttp://www.locaweb.com.br

https://www.varnish-cache.org

http://httpd.apache.org

http://php.net

http://w3techs.com/technologies/overview/programming_language/all

http://grsecurity.net

Page 15: How does a big shared web hosting environment work?

Thanks for you attention!Any questions?

Claudio Filho

<[email protected]>

@but3k4

http://www.claudioborges.org

https://github.com/but3k4