Blog
Kubernetes
Ephemeral Environments
5
minutes

Get Ephemeral Environments on Kubernetes in Less than 10 Minutes

Qovery is a DevOps automation tool designed to make Kubernetes developer-friendly. It offers self-service capabilities, allowing developers to efficiently manage and scale their applications. One of the standout features of Qovery is the ability to create Ephemeral Environments, which we will focus on in this guide. So keep reading to see how you can get a fully operational Ephemeral Environments system on your Kubernetes Cluster in less than 10 minutes.
Romaric Philogène
CEO & Co-founder
Summary
Twitter icon
linkedin icon
Read this introduction article if you are not familiar with the concept of Ephemeral Environments.

Ephemeral Environments Setup

1. Installing Qovery on Your Kubernetes cluster

Setting up Qovery on your Kubernetes cluster is straightforward. Regardless of your operating system - MacOS, Linux, or Windows - the "qovery cluster install" command is your starting point.

# qovery cluster install

(read the full installation guide here)

This command initiates a fully automated process that generates a Helm values file with several commands you can copy and paste. The final output looks like this:

////////////////////////////////////////////////////////////////////////////////////
//// Please copy/paste the following commands to install Qovery on your cluster ////
//// ⚠️ Check the values file before running the commands ⚠️ ////
////////////////////////////////////////////////////////////////////////////////////

# Add the Qovery Helm repository
helm repo add qovery https://helm.qovery.com
helm repo update

# Install Qovery on your cluster first, without some some services to avoid circular dependencies errors
helm upgrade --install --create-namespace -n qovery -f "values-my-kube-cluster.yaml" --atomic \
--set services.certificates.cert-manager-configs.enabled=false \
--set services.certificates.qovery-cert-manager-webhook.enabled=false \
--set services.qovery.qovery-cluster-agent.enabled=false \
--set services.qovery.qovery-engine.enabled=false \
qovery qovery/qovery

# Then, re-apply the full Qovery installation with all services
helm upgrade --install --create-namespace -n qovery -f \"values-my-kube-cluster.yaml\" --wait --atomic qovery qovery/qovery

Once executed, it will take less than 3 minutes for Qovery to be installed on your Kubernetes cluster. (Not even the time to have a break 😁).

2. Ephemeral Environments Setup

To get started with your Ephemeral Environments, you first need to configure your base environment, which will be the parent environment for all your ephemeral environments.

Once this blueprint is created, you must "turn on" the Ephemeral Environment feature.

That's it! You can create your first Ephemeral Environment 😎.

3. Let's Use Ephemeral Environments

This is where the Qovery magic begins. Every time a pull request is opened, you get an Ephemeral Environment. The environment is completely isolated from the others. If you delete or change a service, it will only be reflected in this environment.

The Qovery ephemeral environment feature replicates the blueprint environment. It dynamically adjusts parameters to match the needs of the pull request, providing unique preview URLs for each service running inside your environment.

This functionality underscores the dynamic and adaptable nature of Qovery, catering specifically to the needs of development teams.

FAQ

With over 60,000 users using Qovery, we are used to responding to the most common questions. So here is a short list of answers you might question yourself.

Does the Ephemeral Environment disappear when my Pull Request is closed or merged?

Yes! Qovery drops down the associated Ephemeral Environment and releases all resources.

Does that work with monorepos?

Yes. It also works with services from different repositories inside the same environment. (we also provide optimization to speed up your deployment time.)

Can I use managed services like RDS, MongoDB Atlas... and more?

Yes, you can use any managed services such as RDS, MongoDB, Cloudflare workers... with the concept of Lifecycle Jobs. Look at this complete example to deploy an AWS RDS instance.

Can I use my Terraform modules?

Yes, with our concept of Lifecycle Jobs you can deploy your Terraform, Cloudflormation, Pulumi, <put your IaC tool> modules.

Can I deploy my Helm Charts?

Yes, we do support Helm Chart deployment.

How do I seed my database?

Take a look at this complete section. We have even created an open-source tool - Replibyte - to help you seed your database with production-like data.

Can I integrate it into my CI/CD?

Yes, it's as simple as using our Qovery CLI inside your CI/CD pipeline. You can take a look at this example.

Can I use my secrets manager?

Yes! We support AWS Secrets Manager, Hashicorp Vault, Doppler, Parameter Store... You can plug any secrets manager.

I am not a fan of using a UI for configuration. Do you provide a GitOps way to configure Qovery?

Yes, you can fully configure Qovery with our official Terraform provider.

Can I use the Ephemeral Environments to run E2E tests?

Excellent question; this is something we see a lot from our customers. Take a look at this step-by-step guide to create E2E testing environments.

Qovery sounds magic... How does it work?

A complete article explaining how Qovery works is available here. But basically, Qovery handles all the heavy lifting for you. Once you install it on your cluster, Qovery initiates a connection to its control plane and starts orchestrating services when you open or close Pull Requests.

How your Kubernetes cluster communicates with the Qovery control plane

Is Qovery secured?

Qovery is built with security in mind and adheres to high standards such as HIPAA and SOC2 compliance. Hundreds of companies like Alan, GetSafe, and Talkspace (NASDAQ: TALK) rely on Qovery daily, underscoring its reliability and security. Don't take our word for granted; feel free to audit our open-source repository.

How much does Qovery cost?

Our Free plan works perfectly well for using our Ephemeral Environment feature. Refer to our pricing page for more details on the potential limitations and upgrades.

Why didn't I know about Qovery before?

Because you didn't have the chance to find us, but now it's no longer the case 😁

Start Now!

Qovery simplifies Kubernetes for developers and makes it incredibly quick to set up Ephemeral Environments, enhancing the productivity of your DevOps. The best part? You can start with Qovery for free - no credit card required.

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
Infrastructure Management
Deployment
 minutes
Stop tool sprawl - Welcome to Terraform/OpenTofu support

Provisioning cloud resources shouldn’t require a second stack of tools. With Qovery’s new Terraform and OpenTofu support, you can now define and deploy your infrastructure right alongside your applications. Declaratively, securely, and in one place. No external runners. No glue code. No tool sprawl.

Alessandro Carrano
Head of Product
AI
DevOps
 minutes
Integrating Agentic AI into Your DevOps Workflow

Eliminate non-coding toil with Qovery’s AI DevOps Agent. Discover how shifting from static automation to specialized DevOps AI agents optimizes FinOps, security, and infrastructure management.

Mélanie Dallé
Senior Marketing Manager
DevOps
 minutes
Top 10 Flux CD Alternatives: Finding a Better Way to Deploy Your Code

Looking for a Flux CD alternative? Discover why Qovery stands out as the #1 choice. Compare features, pros, and cons of the top 10 platforms to simplify your deployment strategy and empower your team.

Mélanie Dallé
Senior Marketing Manager
DevOps
5
 minutes
The 6 Best GitOps Tools for Developers

Discover the top 6 GitOps tools to streamline your development workflow. Compare Qovery, ArgoCD, GitHub Actions, and more to find the perfect solution for automating your infrastructure and deployments.

Morgan Perry
Co-founder
AWS
Heroku
13
 minutes
Heroku vs AWS: Differences & What to Choose for Mid-Size & Startups?

Heroku and AWS offer distinct benefits for startups and mid-size companies. This guide compares the differences between pricing, scalability, security, and developer experience to help you choose the right cloud platform based on your team’s needs and growth goals.

Mélanie Dallé
Senior Marketing Manager
Product
Observability
 minutes
RDS monitoring is now available in Qovery Observe

Starting today, get full visibility on your RDS databases directly inside Qovery. Troubleshoot app and database issues from one place without jumping into the AWS console

Alessandro Carrano
Head of Product
Compliance
Azure
 minutes
The Definitive Guide to HIPAA Compliance on Microsoft Azure

Master HIPAA compliance on Azure. Understand the Shared Responsibility Model, the critical role of the BAA, and how to configure Access Control, Encryption, and Networking. See how Qovery automates security controls for continuous compliance.

Mélanie Dallé
Senior Marketing Manager
DevOps
 minutes
Top 10 Portainer Alternatives: Finding a More Powerful & Scalable DevOps Platform

Looking for a Portainer alternative? Discover why Qovery stands out as the #1 choice. Compare features, pros, and cons of the top platforms to simplify your deployment strategy and empower your team.

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.