O'Reilly logo

Remote Pairing by Joe Kutner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running the Server in the Cloud

The Amazon EC2 instance we created and used as a reverse proxy in Chapter 3, Using the Cloud to Connect, can also make an excellent general-purpose pair-programming environment. It’s easily accessible by both parties, and the instances can be stood up and torn down almost as easily as with Vagrant. We can even use the same Puppet scripts.

The scripts we wrote for Vagrant need one little tweak before we can run them in the cloud. Our scripts assume the presence of a vagrant user, but on EC2 this will be an ubuntu user. To fix this, replace the first line in the site.pp file with this code:

pairing-server/puppet/manifests/site.pp
 
case $::virtual {
 
'virtualbox' : {
 
$username = "vagrant"
 
}
 
default : { ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required