# Tips: Before Upgrade

<figure><img src="https://3629020462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoxgTiTb4MZT9IGHAYUTn%2Fuploads%2Fgit-blob-6c24560c4b6d11b686d5ab91848694c9b77f0a3e%2Fimage%20(2)%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

| Lenses Agent                                                                                                                                    | Lenses HQ                                                                                      |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| :white\_check\_mark: **Provisioning (v2)** is **mandatory. MAKE SURE PROVISIONING CONTAINS ALL CONNECTIONS INCLUDING ALERT & AUDIT CHANNELS**   | :white\_check\_mark: Main element managing all agents which are connecting to Kafka            |
| :x: It **no** longer uses the **ingress** controller                                                                                            | :white\_check\_mark: Supports only Postgres as a database                                      |
| :white\_check\_mark: All security elements are moved from `security.conf` to Lenses HQ                                                          | :white\_check\_mark: Holder of license                                                         |
| :white\_check\_mark: Remained the same in terms of functionalities; authentication and authorization were moved to HQ, along with new features. | :white\_check\_mark: Single pane of glass for all engineers to check the whole Kafka ecosystem |
| :x: **No Wizard / UI** for making connections between Agent and any component of Kafka ecosystem                                                |                                                                                                |
| :x: Cannot work without HQ                                                                                                                      |                                                                                                |
| :white\_check\_mark: PostgresDB is recommended for Production systems (H2 embedded available as of v6.0.6 for non production deployments)       |                                                                                                |
| :x: **No longer holder of license**                                                                                                             |                                                                                                |

Read more how they work together in [Broken link](https://docs.lenses.io/latest/deployment/upgrade-to-lenses-6/broken-reference "mention")

## Pick a upgrade method

There are two upgrade methods and each has its ups and downs:

* <a href="steps-for-sidebyside-upgrade" class="button primary" data-icon="computer-mouse">Side By Side Upgrade</a>
* <a href="steps-for-in-place-upgrade" class="button primary" data-icon="computer-mouse">In Place Upgrade</a>

### Decision Matrix

| Choose Side by Side Migration When                                                           | Choose In-Place When                                                                               |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| SLA requires < 5 minutes downtime or follows blue-green deployment patterns.                 | Downtime windows are acceptable.                                                                   |
| Connections in Lenses ⅘ have been set by Wizard mode.                                        | Configuration is simple (already use Provision v2).                                                |
| Resources available for parallel infrastructure.                                             | Quick upgrade is priority.                                                                         |
| Wants to spend more time exploring IAMs and new potential permissions for certain AD Groups. | Enterprise deployment with SQL processors, complex data policies, and multi-tenant configurations. |
