Blog
Engineering
Product
DevOps
3
minutes

How We Speed Up Deployments By 30%

At Qovery, we're consistently pushing boundaries to enhance developer experiences. One of our standout achievements has been accelerating deployment times, a feat we're incredibly proud of. Today, we'd like to pull back the curtain and share how we've sped up deployments by a staggering 30% through our innovative Container Image Mirroring.
Romaric Philogène
CEO & Co-founder
Summary
Twitter icon
linkedin icon

The Essence of Container Image Mirroring

When a cluster is deployed on a cloud account, Qovery creates a dedicated image registry, which essentially acts as a mirroring system. This system ensures that every time an application is set to be deployed on your cluster, the application image is duplicated onto the mirroring registry.

Why is this essential? Image mirroring is a paramount best practice. Envision a scenario where an application runs on a production environment, and Kubernetes needs to pull the image again to launch a new instance. It would be disastrous if this process failed due to the unavailability of the source container registry. By ensuring there's always a copy on the container registry adjacent to the Kubernetes cluster, we eliminate this risk.

How Does Image Mirroring Work?

For Applications Deployed from a Git repository

Before initiating the build for an application, say application A1, Qovery first checks within the mirroring registry for a previously built version. If the image, complete with the same version (determined by commit ID and environment variables), is found, the build process is skipped, and deployment on the Kubernetes cluster begins.

For Applications Deployed from a Container Registry

The behavior in this case hinges on the selected mirroring mode within the cluster's advanced settings.

Two modes are available:

Service Mode: In this default mode, images in the mirroring registry are grouped by "Qovery service", ensuring each service's mirroring process is entirely separate. If an image, marked by its unique name and tag, exists, the mirroring is overlooked, and deployment begins. However, if the same image is employed across varying environments or services, it will be mirrored repeatedly, which may decrease deployment velocity.

Step 6: push the mirrored image into an isolated container repository

Cluster Mode: Notably unavailable on Scaleway, this mode means all applications on the same cluster are mirrored within the same repository. If an image, bearing the same name and tag, is found, mirroring is skipped, and deployment commences. The highlight? If an identical image is used across environments or services, the setup refrains from duplicating the mirror process, hence hastening deployment.

Step 6: push the mirrored image into a shared container repository

Unlocking 30% Faster Deployments

Deployment time before and after optimizations

With the streamlined processes outlined above and our commitment to ensuring the utmost efficiency, we've achieved a 30% enhancement in deployment times. Every decision, from using unique image tags to selecting the right mirroring mode, plays a crucial role in this improvement.

It's worth noting that when working with containerized applications, having unique image tags is non-negotiable for accurate version management. Failing to employ unique tags can lead to complications due to caching mechanisms, not just by our mirroring system but also by Kubernetes. Ensuring this has been instrumental in achieving our accelerated deployment speeds.

Read the complete documentation of this feature here.

Any thoughts? Feel free to reach out on our forum.
Share on :
Twitter icon
linkedin icon
Ready to rethink the way you do DevOps?
Qovery is a DevOps automation platform that enables organizations to deliver faster and focus on creating great products.
Book a demo

Suggested articles

Product
Observability
 minutes
Troubleshoot Faster with the New Log Search and Filtering in Qovery Observe

Following the launch of Qovery Observe, we’re progressively adding new capabilities to help you better monitor, debug, and understand your applications. Today, we’re excited to announce a major improvement to the Logs experience: you can now search and filter directly within your application logs.

Alessandro Carrano
Lead Product Manager
Platform Engineering
DevOps
Terraform
7
 minutes
Top 5 Crossplane Alternatives & Competitors

Go beyond Crossplane. Discover Qovery, the #1 DevOps automation tool, and 4 other IaC alternatives (Terraform, Pulumi) for simplified multi-cloud infrastructure management and deployment.

Morgan Perry
Co-founder
AWS
Platform Engineering
DevOps
9
 minutes
10 Best AWS ECS (Elastic Container Service) Alternatives

Compare the top 10 AWS ECS alternatives, including Qovery, Docker, EKS, and GKE. Find the best solution to simplify Kubernetes, automate DevOps, and achieve multi-cloud container deployment.

Morgan Perry
Co-founder
Platform Engineering
AWS
Kubernetes
DevOps
9
 minutes
10 Best EKS Alternatives: Simplifying Kubernetes for Modern Development

Compare the 10 best EKS alternatives for Kubernetes, including Qovery (IDP), GKE, DOKS, and OpenShift. Simplify operations, reduce costs, and accelerate deployment.

Morgan Perry
Co-founder
DevOps
Kubernetes
Platform Engineering
15
 minutes
Top 10 Openshift Alternatives & Competitors

Because various organizations need cloud application and service management that offers different levels of simplicity, cost-effectiveness, or feature sets than OpenShift, this article will review its top alternatives to help readers make an informed decision aligned with their specific infrastructure needs.

Morgan Perry
Co-founder
AI
Infrastructure Management
Product
5
 minutes
GPU workloads on EKS just got way simpler with Qovery

Running GPU workloads on EKS has never been easy, until now. With Qovery’s latest update, you can enable GPU nodes, configure GPU access, and optimize costs automatically, all without writing a single line of YAML or touching Helm charts. Qovery now handles everything behind the scenes so you can focus entirely on your applications.

Alessandro Carrano
Lead Product Manager
Kubernetes
 minutes
Kubernetes Deployment Strategies: Pros, Cons & Use Cases

Master Kubernetes deployment strategies: Rolling Update, Recreate, Blue/Green, and Canary. Learn the pros, cons, and use cases to choose the right strategy based on your uptime, risk tolerance, and resources. Simplify complex rollouts with automation.

Mélanie Dallé
Senior Marketing Manager
DevOps
Developer Experience
 minutes
AWS ECS vs. EKS vs. Elastic Beanstalk: A Comprehensive Guide

Confused about which AWS container service to use? This comprehensive guide compares the trade-offs between simplicity, control, and complexity for ECS, EKS, and Elastic Beanstalk to help you choose the right platform for your application.

Mélanie Dallé
Senior Marketing Manager

It’s time to rethink
the way you do DevOps

Say goodbye to DevOps overhead. Qovery makes infrastructure effortless, giving you full control without the trouble.