SlideShare uma empresa Scribd logo
1 de 2
Baixar para ler offline
Automated Configuration Testing, the Agile
              Infrastructure Enabler
                                       By Alan Sharp-Paul

OK, so I probably just closed out 100 games of Bullshit Bingo in the title of this blog post but I’ll
stand by it. You want actual agility in what you do? You need a safety net. That safety net is
automated testing.


I’ll be honest, most of my experience in this regard comes from my background as a developer.
When I started out, a fresh faced graduate at a funds manager in Sydney, I didn’t know much
about testing at all. Sure, I tested my code, but they were half arsed tests. I hadn’t even heard
the phrase “Unit Testing”. I got by though. I wasn’t an amazing technologist but I wrote pretty
good code and quality wasn’t something I worried about day to day.


Without being able to put it into words at the time though I did come to learn that quality by no
means enabled agility. Quite the opposite in fact. Lines and lines of code that worked well
became sacred sites. Don’t touch it! It works! In some cases it was better to be stuck with
crappy code that needed fixing. At least you were given license to have at it.


It was only much later when I got into Rails and started using Behaviour Driven
Developmentwith cucumber and rspec that I realised what I’d been missing. When every feature
you’ve coded is backed by tests you don’t just get quality, you get freedom, you can be agile.
You’re not afraid of refactoring you know is necessary. You can move quickly, iterate fearlessly.
That thing you always felt held you back, testing, is now super charging your work.


The same applies in the configuration space, and there are even more factors in play.
Configuration is a shared responsibility, with vested interests in development, operations,
security and beyond. The chance of a change here breaking a configuration there is greatly
increased. Worse still, whilst issues with code are more often than not clear to all through their
functional impact, a lot of issues with configuration are hard, or even impossible, to detect. Take
security or compliance considerations. How often are they cast aside in the interests of simply
getting something to work?


On top of that configuration is far more likely to be altered directly in production by sysadmins,
especially during a serious incident where a company is bleeding money. Without automated
testing how sure could you be that those quick fixes haven’t affected something else? If you
want that ability to be agile, to be able to react quickly with confidence then you need testing.


We automate our config though, you say. We have Puppet! We use Chef! That’s great, but what
are those manifests and recipes? They’re code. And from one dev to another, you gots to test
your code.


If you’re interested in finding out more about how ScriptRock can help you become more agile
with your infrastructure and configuration hit the Get Started button at the bottom of the page.

Mais conteúdo relacionado

Mais de CloudCheckr

Top 10 critical CVEs that can lead to a data breach - Infographic
Top 10 critical CVEs that can lead to a data breach - InfographicTop 10 critical CVEs that can lead to a data breach - Infographic
Top 10 critical CVEs that can lead to a data breach - InfographicCloudCheckr
 
Top 20 OWASP vulnerabilities & how to fix them - Infographic
Top 20 OWASP vulnerabilities & how to fix them - Infographic Top 20 OWASP vulnerabilities & how to fix them - Infographic
Top 20 OWASP vulnerabilities & how to fix them - Infographic CloudCheckr
 
5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRock
5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRock5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRock
5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRockCloudCheckr
 
Enterprise DevOps and the Cloud
Enterprise DevOps and the CloudEnterprise DevOps and the Cloud
Enterprise DevOps and the CloudCloudCheckr
 
4 Prerequisites for DevOps Success
4 Prerequisites for DevOps Success4 Prerequisites for DevOps Success
4 Prerequisites for DevOps SuccessCloudCheckr
 
DevOps vs The Enterprise
DevOps vs The EnterpriseDevOps vs The Enterprise
DevOps vs The EnterpriseCloudCheckr
 
DevOps Days New York
DevOps Days New YorkDevOps Days New York
DevOps Days New YorkCloudCheckr
 
What if Enterprise IT Built Race Cars?
What if Enterprise IT Built Race Cars?What if Enterprise IT Built Race Cars?
What if Enterprise IT Built Race Cars?CloudCheckr
 
Techno Arms Dealers and High Frequency Traders
Techno Arms Dealers and High Frequency TradersTechno Arms Dealers and High Frequency Traders
Techno Arms Dealers and High Frequency TradersCloudCheckr
 
10 IT Automation Conferences to Attend
10 IT Automation Conferences to Attend10 IT Automation Conferences to Attend
10 IT Automation Conferences to AttendCloudCheckr
 
Puppet vs. Chef - The Battle Wages On
Puppet vs. Chef - The Battle Wages OnPuppet vs. Chef - The Battle Wages On
Puppet vs. Chef - The Battle Wages OnCloudCheckr
 
Welcome Our Robot Overlords
Welcome Our Robot OverlordsWelcome Our Robot Overlords
Welcome Our Robot OverlordsCloudCheckr
 
Top 5 CIO's of 2012
Top 5 CIO's of 2012Top 5 CIO's of 2012
Top 5 CIO's of 2012CloudCheckr
 
ScriptRock Robotics Testing
ScriptRock Robotics TestingScriptRock Robotics Testing
ScriptRock Robotics TestingCloudCheckr
 
ScriptRock Overview
ScriptRock OverviewScriptRock Overview
ScriptRock OverviewCloudCheckr
 

Mais de CloudCheckr (15)

Top 10 critical CVEs that can lead to a data breach - Infographic
Top 10 critical CVEs that can lead to a data breach - InfographicTop 10 critical CVEs that can lead to a data breach - Infographic
Top 10 critical CVEs that can lead to a data breach - Infographic
 
Top 20 OWASP vulnerabilities & how to fix them - Infographic
Top 20 OWASP vulnerabilities & how to fix them - Infographic Top 20 OWASP vulnerabilities & how to fix them - Infographic
Top 20 OWASP vulnerabilities & how to fix them - Infographic
 
5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRock
5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRock5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRock
5 Dysfunctions of a DevOps Team - Velocity Ignite 2014 - ScriptRock
 
Enterprise DevOps and the Cloud
Enterprise DevOps and the CloudEnterprise DevOps and the Cloud
Enterprise DevOps and the Cloud
 
4 Prerequisites for DevOps Success
4 Prerequisites for DevOps Success4 Prerequisites for DevOps Success
4 Prerequisites for DevOps Success
 
DevOps vs The Enterprise
DevOps vs The EnterpriseDevOps vs The Enterprise
DevOps vs The Enterprise
 
DevOps Days New York
DevOps Days New YorkDevOps Days New York
DevOps Days New York
 
What if Enterprise IT Built Race Cars?
What if Enterprise IT Built Race Cars?What if Enterprise IT Built Race Cars?
What if Enterprise IT Built Race Cars?
 
Techno Arms Dealers and High Frequency Traders
Techno Arms Dealers and High Frequency TradersTechno Arms Dealers and High Frequency Traders
Techno Arms Dealers and High Frequency Traders
 
10 IT Automation Conferences to Attend
10 IT Automation Conferences to Attend10 IT Automation Conferences to Attend
10 IT Automation Conferences to Attend
 
Puppet vs. Chef - The Battle Wages On
Puppet vs. Chef - The Battle Wages OnPuppet vs. Chef - The Battle Wages On
Puppet vs. Chef - The Battle Wages On
 
Welcome Our Robot Overlords
Welcome Our Robot OverlordsWelcome Our Robot Overlords
Welcome Our Robot Overlords
 
Top 5 CIO's of 2012
Top 5 CIO's of 2012Top 5 CIO's of 2012
Top 5 CIO's of 2012
 
ScriptRock Robotics Testing
ScriptRock Robotics TestingScriptRock Robotics Testing
ScriptRock Robotics Testing
 
ScriptRock Overview
ScriptRock OverviewScriptRock Overview
ScriptRock Overview
 

Automated Configuration Testing, the Agile Infrastructure Enabler

  • 1. Automated Configuration Testing, the Agile Infrastructure Enabler By Alan Sharp-Paul OK, so I probably just closed out 100 games of Bullshit Bingo in the title of this blog post but I’ll stand by it. You want actual agility in what you do? You need a safety net. That safety net is automated testing. I’ll be honest, most of my experience in this regard comes from my background as a developer. When I started out, a fresh faced graduate at a funds manager in Sydney, I didn’t know much about testing at all. Sure, I tested my code, but they were half arsed tests. I hadn’t even heard the phrase “Unit Testing”. I got by though. I wasn’t an amazing technologist but I wrote pretty good code and quality wasn’t something I worried about day to day. Without being able to put it into words at the time though I did come to learn that quality by no means enabled agility. Quite the opposite in fact. Lines and lines of code that worked well became sacred sites. Don’t touch it! It works! In some cases it was better to be stuck with crappy code that needed fixing. At least you were given license to have at it. It was only much later when I got into Rails and started using Behaviour Driven Developmentwith cucumber and rspec that I realised what I’d been missing. When every feature you’ve coded is backed by tests you don’t just get quality, you get freedom, you can be agile. You’re not afraid of refactoring you know is necessary. You can move quickly, iterate fearlessly. That thing you always felt held you back, testing, is now super charging your work. The same applies in the configuration space, and there are even more factors in play. Configuration is a shared responsibility, with vested interests in development, operations, security and beyond. The chance of a change here breaking a configuration there is greatly increased. Worse still, whilst issues with code are more often than not clear to all through their
  • 2. functional impact, a lot of issues with configuration are hard, or even impossible, to detect. Take security or compliance considerations. How often are they cast aside in the interests of simply getting something to work? On top of that configuration is far more likely to be altered directly in production by sysadmins, especially during a serious incident where a company is bleeding money. Without automated testing how sure could you be that those quick fixes haven’t affected something else? If you want that ability to be agile, to be able to react quickly with confidence then you need testing. We automate our config though, you say. We have Puppet! We use Chef! That’s great, but what are those manifests and recipes? They’re code. And from one dev to another, you gots to test your code. If you’re interested in finding out more about how ScriptRock can help you become more agile with your infrastructure and configuration hit the Get Started button at the bottom of the page.