Blue Green Deployments CloudFront and Ruby on Jets
            
        We'll show one way to do a blue-green deployment with Ruby on Jets. We'll use CloudFront to control the switch over. CloudFront deploys faster nowadays than most people realize.
Here's the bash loop I ran to see how long the switchover took.
while true ; do
  date
  curl https://demo.lrn.boltops.com
  echo
  sleep 1
done
Change the URL to your own.
    
      Ruby on Jets 6.0 Guide
      
      
    
    
      
        1h 47m
      
    
  
  
        1h 47m
      
    
    
      Ruby on Jets 5.0 Guide
      
      
    
    
      
        1h 48m
      
    
  
  
        1h 48m
      
    Get full access to these great resources
All for less than the price of coffee a day
44 courses
        286 lessons
        46+ hours
       
          
        