INFRASTRUCTURE AUTOMATIZATION › ... › 10 › Infrastructure...with-Chef.pdf · INFOSTUD...
Transcript of INFRASTRUCTURE AUTOMATIZATION › ... › 10 › Infrastructure...with-Chef.pdf · INFOSTUD...
ABOUT MELinux System Administrator @InfostudEx PHP DeveloperChef Enthusiast
AGENDAAbout InfostudWhy Conf. Management?Chef ConceptChef Benefits
1. ABOUT INFOSTUD
INFOSTUD SITES
INFOSTUD SITESNUMBERS:
Page views per month 100-120 Million
Data transfer 80 TB/month
Requests per second 900 (peak: 2000)
Queries per second 1300 (peak: 3000)
Number of Servers ~100
INFOSTUD INFRASTRUCTURESERVERS:
Type Count
Bare Metal ~20
Virtual Machines ~80
Total ~100
INFOSTUD INFRASTRUCTURESERVICES:
Type Technology
Load Balancer HAProxy
Web Apache, Nginx, PHP
Database MySQL, MongoDB
Cache Varnish, Memcached
Search SolR
2. WHYCONFIGURATIONMANAGEMENT?
WHY CM?Server Configuration DriftScale OutSecurity PatchOut-of-Date DocumentationDisaster Recovery
EVOLVING TOWARDSCONFIGURATION MANAGEMENT
Just build itKeep notes in server.txtMove notes to the wikiCustom scriptsSnapshot & Clone
CONFIGURATION MANAGEMENTTOOLS
AnsibleCFEngineChefPuppetSalt...
3. CHEF
CHEF (OPSCODE)Automation PlatformInfrastructure as CodeClient/Server ArchitectureRuby (Ruby DSL)
CHEF ELEMENTSChef ServerChef WorkstationNodes
CHEF OVERVIEW
CHEF WORKFLOW
(WS) ==> (S) [Upload cookbooks](WS) ==> (N) [Bootstrap](WS) ==> (S) [Upload Node metadata](N) <== (S) [Sync Metadata](N) <== (S) [Sync Cookboks]
4. CHEF BENEFITS
CHEF BENEFITSFewer Outages, Greater ReliabilityMore efficient Change ManagementFaster problem resolutionProduction vs. Development EnvironmentDeploy Servers and Scale Applications Faster
CHEF BENEFITSFaster restoration of serviceGreater levels of securityLiving DocumentationDeployment AutomationCost Reduction
THANK YOU- - -
www.chef.iosupermarket.chef.iowww.infostud.com