SlideShare a Scribd company logo
Instant ColdFusion with
Vagrant
Introduction
• Trip Ward
• Senior Technical Specialist at ICF
• Coder
• Multiple projects/Multiple Teams
• Work in teams of 1-5 developers
Agenda
• What is Virtualization, What we are covering
• Old Way of doing things
• Why Leverage Vagrant and ColdFusion Together
• How do we set it all up
• Creating a VM
• Accessing aVM
• ColdFusion Development Against Your new VM
What is Virtualization, We’re Covering
• Separate computer inside of a computer.
• OS, IP address, users, groups, files, etc
• Host and guest, can communicate with each other
• Windows platform
• Found very little discussion/tutorials
• Base Set of Tools
• VirtualBox
• Vagrant
• Windows Server
• IIS
• ColdFusion 11
Old Process Setting up Workstation/Server
• Same steps over and over
• Document based instructions
• Many hours
• Often multi team in the case of servers
• Subtle differences even on the same platform
• Human error prone/troubleshooting
• Different platforms on team/elevated environments
• Polluting workstation with different versions of software
Introducing a Better Way
• Build (mostly) Scripted Vagrant Image
• Pick your platform
• Provisioning/Install All Required Software
• Configuration settings
• Immediate Benefits
• Repeatable and verifiable
• Once a week, Once a month, Once a year
• Abstracts complexity out of set up
Installing Virtual Box and Vagrant
• Download/Install VirtualBox
• Free
• VirtualBox providers are bundled with Vagrant
• Used as demonstration in documentation
• Preferences, Save Location, Windows Images Large
• Download/Install Vagrant
• Plug Ins
• vagrant plugin install vagrant-vbguest
• Gather Resources/Provisioners
• Silent/Unattended Install scripts
• Download CF installer
• IIS modules
• .car files
Creating a New VM
• Create new folder - /testVM
• If you use eclipse, probably in workspace
• Check out project code to folder –/testVM/website
• Make the directory name something generic such as /website it makes the provisioners much easier to
duplicate
• Check out code to /website
• Open command prompt in /myProject
• Shift + right click
• Type vagrant init
• Creates vagrant file
• Create /testVM/provisioners
• Modify vagrant file
• Add provisioners
• .cmd, .ps1
• Write/Borrow
• Type vagrant up
• Watch console
Vagrant File
• Vagrant up demovm
• Review vagrant file
• Provisioners
• Local ip range
• Install_cf.cmd
Accessing Your VM
• From Guest
• VM Desktop
• IIS Modules
• ColdFusion Admin – http://localhost:89
• Deploy .car file
• C:vagrantdemovm.car
• Project Code – http://localhost
• From Host
• Add host entry with the IP from vagrant file and the URL
• 192.168.33.10 demoVM.loc
ColdFusion Development Against Your new VM
• Develop as you do today
• Code on local
• IDE of choice
• Confidence when switching projects
Things to note/ Out of Session Scope
• Docker
• Not mutually exclusive from vagrant
• Linux, Unix/Solaris, OSX
• “ix” platforms are significantly easier to implement and maintain
• Many more resources/tutorials out there – See last slide for resources
• Concepts are the same
• Chef/Puppet
• All great tools but out of scope for the discussion
• Creating Base boxes
Why Leverage Vagrant and ColdFusion
• How will virtualization help me build robust ColdFusion
Applications
• Simplifies building out local environments - Saves time and patience
• Closely mimic elevated environments – better chance of same behavior
• Repeatable, Verifiable – e.g. Spin up new VM for load testing
• Vagrant file, provisioners updates, Stored in source control
• Distributable, Team Environments – Everyone runs on same environment
• Create isolation between CF instances – e.g. No mapping collisions
• Work on projects running on older versions of CF
• Take new versions of CF for a test drive – No longer chore to test code on
different versions of CF
Resources
• https://www.vagrantup.com/docs/
• https://atlas.hashicorp.com/boxes/search
• Plug ins
• https://github.com/tripward/presentations/tree/master/vagrant
• https://helpx.adobe.com/coldfusion/installing/installing-
coldfusion-silently.html
king@WeRWards.com
Vagrant File
• Automatically created
• Syntax is Ruby
• Ruby knowledge is not required
• Mostly variable setting
• Local network IP Address
• Synched Folders
• Automatically get c:vagrant on guest
• /website
• Must use sym link with sharing

More Related Content

PDF
Keep Applications Online
PDF
Become a Security Rockstar with ColdFusion 2016
PDF
Instant ColdFusion with Vagrant
PDF
PDF
Developing High Performance and Scalable ColdFusion Application Using Terraco...
PDF
Locking Down CF Servers
PDF
Hidden gems in cf2016
PDF
Realtime with websockets
Keep Applications Online
Become a Security Rockstar with ColdFusion 2016
Instant ColdFusion with Vagrant
Developing High Performance and Scalable ColdFusion Application Using Terraco...
Locking Down CF Servers
Hidden gems in cf2016
Realtime with websockets

What's hot (20)

PDF
ColdFusion builder plugins
PDF
Super Fast Application development with Mura CMS
PDF
Securing applications
PDF
Dev objective2015 lets git together
PDF
Locking Down CF Servers
PDF
RESTFul Tools For Lazy Experts - CFSummit 2016
PDF
Realtime with-websockets-2015
PDF
10 common cf server challenges
PDF
Hey My Web App is Slow Where is the Problem
PPTX
10 Reasons ColdFusion PDFs should rule the world
PDF
In The Trenches With Tomster, Upgrading Ember.js & Ember Data
PDF
Scale ColdFusion with Terracotta Distributed Caching for Ehchache
PDF
Cfml features modern_coding
PPTX
Debugging the Web with Fiddler
PPTX
Introduction to vSphere APIs Using pyVmomi
PDF
ActiveMQ Performance Tuning
PDF
CFML Sessions For Dummies
PDF
Accessible Video Anywhere with ColdFusion an AWS
PPTX
CollabSphere SC 103 : Domino on the Web : Yes, It's (Probably) Hackable
PDF
WordPress Security - 12 WordPress Security Fundamentals
ColdFusion builder plugins
Super Fast Application development with Mura CMS
Securing applications
Dev objective2015 lets git together
Locking Down CF Servers
RESTFul Tools For Lazy Experts - CFSummit 2016
Realtime with-websockets-2015
10 common cf server challenges
Hey My Web App is Slow Where is the Problem
10 Reasons ColdFusion PDFs should rule the world
In The Trenches With Tomster, Upgrading Ember.js & Ember Data
Scale ColdFusion with Terracotta Distributed Caching for Ehchache
Cfml features modern_coding
Debugging the Web with Fiddler
Introduction to vSphere APIs Using pyVmomi
ActiveMQ Performance Tuning
CFML Sessions For Dummies
Accessible Video Anywhere with ColdFusion an AWS
CollabSphere SC 103 : Domino on the Web : Yes, It's (Probably) Hackable
WordPress Security - 12 WordPress Security Fundamentals
Ad

Viewers also liked (17)

PDF
Testing automaton
PDF
Building better SQL Server Databases
PDF
Developer Insights for Application Upgrade to ColdFusion 2016
PDF
Why Everyone else writes bad code
PDF
ColdFusion Keynote: Building the Agile Web Since 1995
PDF
Don't just pdf, Smart PDF
PDF
PDF
Crafting ColdFusion Applications like an Architect
PDF
ColdFusion in Transit action
PPT
Restful services with ColdFusion
PDF
Monetizing Business Models: ColdFusion and APIS
PDF
Security And Access Control For APIS using CF API Manager
PDF
API Economy, Realizing the Business Value of APIs
PDF
Api manager preconference
PDF
Where is cold fusion headed
PDF
Build your own secure and real-time dashboard for mobile and web
PDF
Take Home Your Very Own Free Vagrant CFML Dev Environment
Testing automaton
Building better SQL Server Databases
Developer Insights for Application Upgrade to ColdFusion 2016
Why Everyone else writes bad code
ColdFusion Keynote: Building the Agile Web Since 1995
Don't just pdf, Smart PDF
Crafting ColdFusion Applications like an Architect
ColdFusion in Transit action
Restful services with ColdFusion
Monetizing Business Models: ColdFusion and APIS
Security And Access Control For APIS using CF API Manager
API Economy, Realizing the Business Value of APIs
Api manager preconference
Where is cold fusion headed
Build your own secure and real-time dashboard for mobile and web
Take Home Your Very Own Free Vagrant CFML Dev Environment
Ad

Similar to Instant ColdFusion with Vagrant (20)

PDF
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
PDF
Virtualization with Vagrant (ua.pycon 2011)
PDF
Local development environment through virtualisation
PDF
CloudOpen North America 2013: Vagrant & CFEngine
PPTX
Development with Vagrant
PPTX
Vagrant for ci
ODP
It Works On My Machine: Vagrant for Software Development
PDF
Vagrant for Virtualized Development
PDF
Powering Development and Testing Environments with Vagrant
PPTX
Virtualization for Developers
PPTX
Virtualization for Developers
PDF
DevOps Series: Defining and Sharing Testable Machine Configurations with vagrant
KEY
PDF
Vagrant For DevOps
PDF
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
PPTX
Virtualization for Developers
PDF
Virtualisation - Vagrant and Docker
PDF
Vagrant - Version control your dev environment
PDF
Keep calm and vagrant up
PPTX
Vagrant-Overview
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Virtualization with Vagrant (ua.pycon 2011)
Local development environment through virtualisation
CloudOpen North America 2013: Vagrant & CFEngine
Development with Vagrant
Vagrant for ci
It Works On My Machine: Vagrant for Software Development
Vagrant for Virtualized Development
Powering Development and Testing Environments with Vagrant
Virtualization for Developers
Virtualization for Developers
DevOps Series: Defining and Sharing Testable Machine Configurations with vagrant
Vagrant For DevOps
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
Virtualization for Developers
Virtualisation - Vagrant and Docker
Vagrant - Version control your dev environment
Keep calm and vagrant up
Vagrant-Overview

More from ColdFusionConference (7)

PDF
Rest ful tools for lazy experts
PDF
Herding cats managing ColdFusion servers with commandbox
PDF
Everyones invited! Meet accesibility requirements with ColdFusion
PDF
Getting started with mobile application development
PDF
Bring api manager into your stack
PDF
Dependency Injection
PDF
ColdFusion Craftsmanship
Rest ful tools for lazy experts
Herding cats managing ColdFusion servers with commandbox
Everyones invited! Meet accesibility requirements with ColdFusion
Getting started with mobile application development
Bring api manager into your stack
Dependency Injection
ColdFusion Craftsmanship

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Machine learning based COVID-19 study performance prediction
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
A Presentation on Artificial Intelligence
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Big Data Technologies - Introduction.pptx
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Monthly Chronicles - July 2025
Machine learning based COVID-19 study performance prediction
Reach Out and Touch Someone: Haptics and Empathic Computing
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars
A Presentation on Artificial Intelligence
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto

Instant ColdFusion with Vagrant

  • 2. Introduction • Trip Ward • Senior Technical Specialist at ICF • Coder • Multiple projects/Multiple Teams • Work in teams of 1-5 developers
  • 3. Agenda • What is Virtualization, What we are covering • Old Way of doing things • Why Leverage Vagrant and ColdFusion Together • How do we set it all up • Creating a VM • Accessing aVM • ColdFusion Development Against Your new VM
  • 4. What is Virtualization, We’re Covering • Separate computer inside of a computer. • OS, IP address, users, groups, files, etc • Host and guest, can communicate with each other • Windows platform • Found very little discussion/tutorials • Base Set of Tools • VirtualBox • Vagrant • Windows Server • IIS • ColdFusion 11
  • 5. Old Process Setting up Workstation/Server • Same steps over and over • Document based instructions • Many hours • Often multi team in the case of servers • Subtle differences even on the same platform • Human error prone/troubleshooting • Different platforms on team/elevated environments • Polluting workstation with different versions of software
  • 6. Introducing a Better Way • Build (mostly) Scripted Vagrant Image • Pick your platform • Provisioning/Install All Required Software • Configuration settings • Immediate Benefits • Repeatable and verifiable • Once a week, Once a month, Once a year • Abstracts complexity out of set up
  • 7. Installing Virtual Box and Vagrant • Download/Install VirtualBox • Free • VirtualBox providers are bundled with Vagrant • Used as demonstration in documentation • Preferences, Save Location, Windows Images Large • Download/Install Vagrant • Plug Ins • vagrant plugin install vagrant-vbguest • Gather Resources/Provisioners • Silent/Unattended Install scripts • Download CF installer • IIS modules • .car files
  • 8. Creating a New VM • Create new folder - /testVM • If you use eclipse, probably in workspace • Check out project code to folder –/testVM/website • Make the directory name something generic such as /website it makes the provisioners much easier to duplicate • Check out code to /website • Open command prompt in /myProject • Shift + right click • Type vagrant init • Creates vagrant file • Create /testVM/provisioners • Modify vagrant file • Add provisioners • .cmd, .ps1 • Write/Borrow • Type vagrant up • Watch console
  • 9. Vagrant File • Vagrant up demovm • Review vagrant file • Provisioners • Local ip range • Install_cf.cmd
  • 10. Accessing Your VM • From Guest • VM Desktop • IIS Modules • ColdFusion Admin – http://localhost:89 • Deploy .car file • C:vagrantdemovm.car • Project Code – http://localhost • From Host • Add host entry with the IP from vagrant file and the URL • 192.168.33.10 demoVM.loc
  • 11. ColdFusion Development Against Your new VM • Develop as you do today • Code on local • IDE of choice • Confidence when switching projects
  • 12. Things to note/ Out of Session Scope • Docker • Not mutually exclusive from vagrant • Linux, Unix/Solaris, OSX • “ix” platforms are significantly easier to implement and maintain • Many more resources/tutorials out there – See last slide for resources • Concepts are the same • Chef/Puppet • All great tools but out of scope for the discussion • Creating Base boxes
  • 13. Why Leverage Vagrant and ColdFusion • How will virtualization help me build robust ColdFusion Applications • Simplifies building out local environments - Saves time and patience • Closely mimic elevated environments – better chance of same behavior • Repeatable, Verifiable – e.g. Spin up new VM for load testing • Vagrant file, provisioners updates, Stored in source control • Distributable, Team Environments – Everyone runs on same environment • Create isolation between CF instances – e.g. No mapping collisions • Work on projects running on older versions of CF • Take new versions of CF for a test drive – No longer chore to test code on different versions of CF
  • 14. Resources • https://www.vagrantup.com/docs/ • https://atlas.hashicorp.com/boxes/search • Plug ins • https://github.com/tripward/presentations/tree/master/vagrant • https://helpx.adobe.com/coldfusion/installing/installing- coldfusion-silently.html king@WeRWards.com
  • 15. Vagrant File • Automatically created • Syntax is Ruby • Ruby knowledge is not required • Mostly variable setting • Local network IP Address • Synched Folders • Automatically get c:vagrant on guest • /website • Must use sym link with sharing