Everything ruby
Upcoming SlideShare
Loading in...5
×
 

Everything ruby

on

  • 1,222 views

Compared to 2 - 3 years back today's eco-system around IT Operations has changed significantly, The definitive responsibility line between infrastructure administrators and developers has been ...

Compared to 2 - 3 years back today's eco-system around IT Operations has changed significantly, The definitive responsibility line between infrastructure administrators and developers has been blurring continuously. We have experienced that developers want to experience same level of ease as its publicly available in form of commodity hardware, computing, monitoring, deployment and source control systems. Lots of IT organizations still go through lot of manual process for provisioning, monitoring, analysis, setup and do not take advantage new age tools. We had these issues in our existing environment as well. WE have been managing our servers using new age configuration management tools but thats not sufficient as we did not bring that advantage to our end users.

Statistics

Views

Total Views
1,222
Views on SlideShare
1,220
Embed Views
2

Actions

Likes
2
Downloads
10
Comments
0

2 Embeds 2

https://si0.twimg.com 1
http://www.hanrss.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Everything ruby Everything ruby Presentation Transcript

  • Everything Ruby Ajey Gore @ajeygore
  • About me• Developer• Sys Ad• DevOps
  • More like a discussion• Listen to our experiences• Tell us about your experiences
  • About the talk
  • • Ruby for development• Ruby for operations• Used it for both - single team
  • Why Ruby?
  • • Nice language• OpenSource• DSLs can be built easily• Great community• Multiple implementations (JRuby, MRI etc)
  • Development
  • Build and testing
  • Provisioning
  • require fogfog = Fog::Compute.new( :provider => AWS, :region=>eu-west-1, :aws_access_key_id => yyy, :aws_secret_access_key => xxxx)server = fog.servers.create( :image_id=>ami-311f2b45, :flavor_id=>t1.micro, :key_name => pey-pair-name)
  • Deployment
  • role :app, "A", "B"role :web, "C"task :deploy, :roles => :app do run deployend
  • ConfigurationManagement
  • execute yum -y update -securitypackage httpdservice httpd do action :runendcookbook_file "/etc/httpd/conf.d/mysite.conf"do source "etc/httpd/conf.d/mysite.conf" owner root group root mode 0644 notifies :reload, service[httpd] end
  • pipe configuration with provisioning
  • knife ec2 server create -r ‘role[web_server]’
  • Orchestration
  • New Host
  • MonitoringNew Host
  • Monitoring BackupNew Host Schedule
  • Monitoring BackupNew Host Schedule Enter into proxy
  • mco rpc chef --with-fact ‘role=monitor’mco rpc chef --with-fact ‘role=app’mco rpc backup --with-fact ‘role=db’mco rpc deploy --with-fact ‘role=app’mco rpc chef --with-fact ‘role=loadbalancer’
  • Monitoring
  • { "client": { "name": "webapp01.local", "address": "10.0.0.1", "subscriptions": [ "web" ] }}
  • Supervising
  • Bluepill.application("httpd") do |app| app.process("httpd") do |process| process.start_command = "/usr/bin/apachctl start" process.pid_file = "/var/run/httpd.pid" endend
  • Ruby is ubiquitous• Provisioning• Configuration• Development• Continuous Integration• Deployment• Monitoring
  • Everything Ruby
  • References• Fog - cloud provisioning and management• Chef - configuration management• MCollective - service and system services orchestration• Sensu - system monitoring• Bluepill - supervising system services