SquareOps
Get an architecture review
CASE STUDYSaaS

Freefuse CICD Implementation Journey

How FreeFuse replaced unstable releases with Terraform-managed infrastructure and blue-green CI/CD on AWS for reliable zero-downtime deployments.

January 11, 20242 min read

On this page

About the Customer

FreeFuse Inc. offers a platform that transforms videos into interactive learning tools. The Engineering team sought to enhance their infrastructure management with Terraform and streamline the deployment process through the blue-green deployment model for application releases. They also aimed to migrate their Python AI video editor component from IBM Cloud to AWS and enable multiple parallel processes for the AI video editor.

To achieve these goals, FreeFuse Inc. engaged SquareOps as their Service Partner, drawn by SquareOps’s demonstrated experience with Terraform, CI/CD and AWS Advanced consulting partner badge.

Customer Challenge

Freefuse encountered challenges with its current release workflow, characterized by unstable and unreliable releases lacking testing and rollback capabilities. Their core services like AI video editor and model training service would break using the conventional CICD workflow.

Proposed Solution

With careful planning of the solution design and successful POCs , SquareOps came up with a solution to achieve the desired goals 
  1. Blue-green Deployments: We introduced Blue-green deployments which allowed the Freefuse team to have two separate, but identical environments. One environment (blue) is running the current application version and one environment (green) is running the new application version. This deployment strategy increases application availability and reduces deployment risk by simplifying the rollback process if a deployment fails. Once testing has been completed on the green environment, live application traffic is directed to the green environment and the blue environment is gracefully deprecated.

  2. Continuous Integration/Continuous Deployment: Freefuse adopted CI/CD pipelines to automate the integration, testing, and deployment processes. It helped them in streamlining the release cycle, reducing manual errors, and enhancing the overall reliability of releases.

  3. Rollback Mechanism: Using a blue/green deployment strategy, we  increased application availability and reduced deployment risk by simplifying the rollback process if a deployment fails.

CICD Implementation

CICD Implementation

Results and Benefits

The streamlined deployment with AWS CodePipeline enhanced availability and scalability through Auto Scaling and Load Balancing.

Zero downtime:  The use of blue-green deployments allowed us to test new releases in a separate environment before making them live to users, ensuring seamless and reliable releases with zero downtime.

FAQs

FreeFuse case study: FAQs

FreeFuse's release workflow had no proper testing or rollback. Its core services, the AI video editor and the model training service, often broke when released through the conventional CI/CD workflow, which made releases unreliable for its interactive video learning platform.

FreeFuse runs two identical environments. Blue runs the current version and green runs the new one. The team tests the release on green, then switches live traffic to it and retires blue gracefully. If a release fails, rolling back is as simple as sending traffic back to the previous environment.

Releases run through AWS CodePipeline, and the application uses EC2 Auto Scaling and load balancing for availability and scale. SquareOps planned the design and proved it with proofs of concept before rollout. FreeFuse also manages its infrastructure with Terraform.

Yes. Because every release is tested in a separate environment before users see it, FreeFuse now releases with zero downtime. CI/CD automation also reduced manual errors in integration, testing and deployment, making each release more reliable.

Planning a similar project?

Start with a free architecture review. The engineers who run engagements like this one look at your setup and tell you what they would change first.

Newsletter
Cloud ops notes, monthly

Kubernetes upgrades, cost findings and incident write-ups from real engagements.