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 5.0 Guide
      
      
    
    
      
        1h 48m
      
    
  
  
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day
 
          
        