Capistrano Elbas

screenshot of Capistrano Elbas

Deploy Rails apps to AWS AutoScale groups

Overview

ELBAS (Elastic Load Balancer & AutoScaling) is a powerful tool designed to simplify the deployment of Rails applications to AWS AutoScale groups. By seamlessly integrating with Capistrano, ELBAS automates several key processes during deployment, ensuring that your applications are properly scaled and remain performant over time. The latest version, built on AWS SDK v3 and reliant on Launch Templates, guarantees up-to-date functionality and streamlined processes for deploying applications without the hassle of manual configuration.

With its focus on efficiency and automation, ELBAS not only deploys code to instances within AutoScale groups but also manages AMI creation, updates launch templates, and cleans up outdated AMIs, all of which make life easier for developers working in cloud environments.

Features

  • Automated Code Deployment: ELBAS deploys your code to every running instance in an AutoScale group, ensuring that your application runs consistently across all instances.

  • AMI Creation: After a successful deployment, ELBAS automatically creates an Amazon Machine Image (AMI) from one of the running instances, allowing you to maintain a reliable backup of your application state.

  • Launch Template Integration: The current feature set exclusively uses AWS Launch Templates, simplifying the deployment process and minimizing the need for manual configurations of network settings and instance sizes.

  • Outdated AMI Cleanup: ELBAS automatically deletes outdated AMIs from previous deployments, helping to keep your environment tidy and reducing unnecessary storage costs.

  • Flexible Server Customization: Users can pass custom properties for specific servers during the autoscale deployment process, allowing for targeted configurations based on roles or other criteria.

  • Server Listing Command: ELBAS includes a helpful command for listing SSH commands for each server in a given environment, aiding in debugging and troubleshooting during deployment.

  • Multi-Group Deployment: For those with multiple AutoScaling groups, ELBAS makes it easy to specify different groups for deployment within your configuration files, enhancing flexibility.

In conclusion, ELBAS significantly simplifies the deployment process for Rails applications on AWS, making it an indispensable tool for developers looking to leverage AutoScaling efficiently.