Enterprise
Provisioning
with
Chocolatey
About Me
Alexander Doroshenko
Sitecore Ukraine
@adoprog
http://sitecoresnippets.blogspot.com
http://github.com/adoprog
Why it matters
9
8
7

Hours

6

5
4
3
2
1
0
2011

Production Deployment

2012

Project Setup

2013

Developer's Desktop
Developer's Desktop
Web Servers
• Hard to reproduce tricky issues
• Different configurations in a web farm
• Scaling web servers is complicate...
Build Servers
• No identical environment for debug
• Scaling build servers is complicated
Solution?
USE
CHOCOLATEY
TO INSTALL
SOFTWARE

USE
BOXSTARTER
TO PROVISION
DESKTOP
Choco… what?
• Chocolatey is like apt-get a
package manager for
Windows
• Based on NuGet, uses the
same package structure
...
BoxStarter
• Start provisioning from
console
• Chocolatey will be
installed automatically
• Disables UAC and
Windows Updat...
Create your own packages
• Do not rely on internet access speed
• Bundle configuration files (GhostDoc, StyleCop etc.)
• S...
The New Desktop
1. Choose BoxStarter package from the library
• Developer_General_Windows8
• Developer_%Project name%_Wind...
The New Server
• Use Chocolatey or BoxStarter
• Always identical environments
• Simple and automated scaling
• Installatio...
Hints
• MyGet / ProGet have useful “proxy” option
• Use dependencies to avoid duplicate code
• Use tokens & different feed...
Enterprise provisioning with chocolatey
Upcoming SlideShare
Loading in …5
×

Enterprise provisioning with chocolatey

1,745 views

Published on

Deployment automation became so popular that you’ll unlikely work on the project without it. But when it comes to OS configuration, installing tools and supplementary frameworks, many people just setup everything manually because they’ll probably do it just once or twice.
The same for goes for setting up development workstation or virtual machine for reproducing issues – it may take multiple hours to do it manually: find the required frameworks and tools, download the right versions, set corporate license details and import configuration files.
One thing which is usually left without attention is that automation is not just about repeating stuff thousand times. Server deployment scripts can also replace some documentation, provide a very convenient way to create identical environment, and can be easily used to scale-out in future.
This talk is about the ways to automate development environment setup as well as server provisioning. I’ll show the tools, typical use cases, tips & tricks learned during implementation. After this presentation you’ll bootstrap your next development machine in one click!

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,745
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Enterprise provisioning with chocolatey

  1. 1. Enterprise Provisioning with Chocolatey
  2. 2. About Me Alexander Doroshenko Sitecore Ukraine @adoprog http://sitecoresnippets.blogspot.com http://github.com/adoprog
  3. 3. Why it matters 9 8 7 Hours 6 5 4 3 2 1 0 2011 Production Deployment 2012 Project Setup 2013 Developer's Desktop
  4. 4. Developer's Desktop
  5. 5. Web Servers • Hard to reproduce tricky issues • Different configurations in a web farm • Scaling web servers is complicated • Test servers may be not exactly the same
  6. 6. Build Servers • No identical environment for debug • Scaling build servers is complicated
  7. 7. Solution?
  8. 8. USE CHOCOLATEY TO INSTALL SOFTWARE USE BOXSTARTER TO PROVISION DESKTOP
  9. 9. Choco… what? • Chocolatey is like apt-get a package manager for Windows • Based on NuGet, uses the same package structure • Type “cinst %whatever%” to install %whatever% • Unattended install for simply anything
  10. 10. BoxStarter • Start provisioning from console • Chocolatey will be installed automatically • Disables UAC and Windows Update • Manages reboots
  11. 11. Create your own packages • Do not rely on internet access speed • Bundle configuration files (GhostDoc, StyleCop etc.) • Set corporate license details • Install programs without installers (nAnt, jMeter, etc.)
  12. 12. The New Desktop 1. Choose BoxStarter package from the library • Developer_General_Windows8 • Developer_%Project name%_Windows7 2. Provision from command line • BoxstarterBoxStarter.bat Developer_General_Windows8 3. Start Hacking
  13. 13. The New Server • Use Chocolatey or BoxStarter • Always identical environments • Simple and automated scaling • Installation from trusted sources • Simplifies reproducing issues
  14. 14. Hints • MyGet / ProGet have useful “proxy” option • Use dependencies to avoid duplicate code • Use tokens & different feeds to support multiple locations • Install and configure anything with PowerShell

×