Blog
Qovery
Product
5
minutes

3 Best Practices When Using Qovery

Qovery provides fast implementation and maintenance of your cloud infrastructure while taking care of end-to-end DevOps tasks. It even manages your Kubernetes clusters for you. It gives developers autonomy because it is effortless and does not need a vast DevOps workforce. With a few clicks, a developer can create a replica of the production environment and deploy their code easily, but where should you start, and with what? This series of articles: Best Practice, will walk you through the first things you should set up in Qovery and how to do it.
Albane Tonnellier
Product Marketing Manager
Summary
Twitter icon
linkedin icon

1. Set Up RBAC (Role-based access control) for Every Member of Your Organization

What is RBAC?

Role-based access control (RBAC) restricts access based on a person's role within an organization and has become one of the primary methods for advanced access control. The roles in RBAC refer to the levels of access that employees have to the network.

Employees can only access the information necessary to perform their job duties effectively. Access can be based on several factors, such as authority, responsibility, and job competency. In addition, access can be limited to specific tasks, such as the ability to view, create, or modify.

Why you should use RBAC

  1. Maximizing efficiency: Your employees will only be able to use what they need in Qovery to do their job.
  2. Avoid big mistakes: We will talk about it more in-depth in the following example, but your production is precious; you don’t want everyone to be able to touch it and maybe accidentally delete it.
  3. Improving compliance: All organizations are subject to federal, state and local regulations. With an RBAC system in place, companies can more easily meet statutory and regulatory requirements for privacy and confidentiality.

How to use RBAC in Qovery V3?

Straightforward, head to the V3 Console, then to the organization settings, and you will find a Roles & Permissions Panel.

From there, you can add roles to every member of your organization or even create your own. To know which level of permission each role gives you, head to our documentation.

RBAC feature in the console V3

2. Multi-Cluster to Isolate your Production From Staging

What is Multi-Cluster Kubernetes

In multi-cluster Kubernetes, you have more than one cluster for your application. These clusters can be replicas of each other, and you can deploy multiple copies of your application across these clusters. Each cluster is placed on a separate host and in a separate data center to achieve high availability. That ensures that any infrastructure loss or cluster breakdown does not impact other clusters in the solution. Although we can have multiple clusters on the same host and in the same data center to save some cost, it will deprive us of the true benefits of high availability.

While the Production Cluster is for end-user applications to which the client has access, the Staging Cluster is used for iterations/testing and validation before releasing in production - to the client. The main idea behind a staging cluster is to mimic the production cluster.

Why you should use a different cluster for production and staging

There are three main reasons why you should use a separate cluster for production and staging:

  1. Performance: Isolation of the production environment, so you can take care of testing a new version of Kubernetes in staging without impacting the production.
  2. Security: Lock access to the prod cluster. You can decide to give access to the production cluster to a reduced number of people, so it reduces the risk of human error.
  3. Productivity: Iterate faster and release with confidence, to never be scared of doing changes on your staging cluster before releasing it in production. You will never break your production application while testing and prevent failure in production before they happen.

How to separate staging from production clusters?

Once you created your organization, head to the “organization settings” and select “add a cluster”. You will then need to deploy one cluster for your staging and repeat the operation for your production cluster! To have the tutorial in detail, you can head to this article.

Cluster creation popup in the V2

3. Use a Container DB for Test/Staging, Managed for Production

Databases can operate in two modes:

  • Managed
  • Container

What is a Managed Database?

Managed databases are perfect for production - they are provided and managed by major cloud providers like AWS to ensure your production data is well managed.

What is a Container Database?

Container databases are managed by Qovery as Docker containers with attached persistent storage. They are perfect for development and testing, as they are significantly cheaper than services provided by cloud providers.

Why you should use a Container DB for Test/Dev, Managed for Production and Staging

Let's assume you have a production and staging environment and a test and dev environment.

Managed mode for Production and Staging

  • To ensure your production data is well managed.
  • To ensure that you have backups.

Container mode for Test and Dev Environment

  • Qovery manages them as Docker containers with attached persistent storage, so they are much cheaper than services provided by cloud providers
  • Still reliable but without backups. That’s why you can’t use them in staging and production.

How to set up managed or container Database?

  1. Navigate to Console
  2. Select your project and environment
  3. Click Add Database button
  4. Select database type, name, version, mode and accessibility
  5. Deploy the database using the Action deploy button
Database Creation Popup in the V2 Console

Wrapping Up

Whether it’s for safety reasons, productivity, or to optimize your costs, we hope that those best practices will help you make the most out of Qovery, and while we will be back for another part of this series soon, don’t hesitate to share which best practices you implemented first.

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

Observability
 minutes
Qovery Observe is Here: Your Deployments, Your Data, Your Visibility

Monitor your deployments with Qovery Observe: real-time metrics, logs, and events, directly integrated with your AWS applications and containers.

Julien Dan
Technical Product Manager
DevOps
9
 minutes
Top 10 Fargate Alternatives: Simplify Your Container Deployment

Tired of complex cloud setups? Explore the top 10 Fargate alternatives and discover how Qovery can simplify your container deployment, saving you time and money.

Mélanie Dallé
Senior Marketing Manager
Compliance
DevSecOps
12
 minutes
AWS HIPAA Compliance: A Comprehensive Guide & Checklist

Learn how to achieve and maintain HIPAA compliance on AWS with this comprehensive guide. Understand the shared responsibility model, essential architectural principles, and a practical checklist to protect PHI and avoid costly compliance violations. Discover how automation can reduce human error and streamline your security posture.

Mélanie Dallé
Senior Marketing Manager
DevOps
8
 minutes
Top 10 DuploCloud Alternatives: Choosing a Better Platform for Your DevOps Needs

Looking for a DuploCloud alternative? Explore why a full-stack platform like Qovery offers a faster, more developer-friendly solution. Compare the top 10 options to find a platform that simplifies DevOps and accelerates your deployments.

Mélanie Dallé
Senior Marketing Manager
Azure
9
 minutes
The Essential Guide to Azure Infrastructure, Monitoring, and Management Tools

Master Azure infrastructure management with this comprehensive guide. Learn the four critical pillars - governance, cost control, security, and operations - and discover the essential native and third-party tools needed to scale your cloud strategy effectively.

Mélanie Dallé
Senior Marketing Manager
Cloud
10
 minutes
Cloud Sprawl Explained: Taming Uncontrolled Cloud Growth

Tame uncontrolled cloud growth and regain control of your infrastructure. Learn the causes of cloud sprawl, its impact on your budget and security, and strategies to build a more sustainable cloud environment.

Mélanie Dallé
Senior Marketing Manager
DevOps
9
 minutes
Top 10 Northflank Alternatives: Finding the Right DevOps Platform

Looking for a Northflank 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
9
 minutes
Top 10 ArgoCD Alternatives: Finding a Better Way to Deploy Your Code

Looking for an ArgoCD 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

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.