Migrate From Self Hosted Setup To SaaS

Introduction

This guide will help you to move your On-Prem Setup to Akto SaaS setup. In case you want to restore your Akto Data and move it to your SaaS account, proceed with Step 1(Restore Original Data). Else proceed with Step 2(Connect Akto with Hybrid SaaS)

Step 1: Restore Original Data

  1. Run the below command and copy mongo container id

kubectl get pods -n <namespace> 
  1. Run the below command

kubectl exec -it <mongo_container_id> bash  
  1. Run the below command

mongodump --db 1000000 --out /data/dump/1000000 
  1. Run the below command

kubectl cp -n default <container_id>:data/dump/1000000 ~/copy-1000000 -n <namespace> 
  1. Run the below command

mkdir akto_data_folder 
  1. Run the below command

mv ~/copy-1000000 ~/akto_data_folder 
  1. zip the folder akto_data_folder

  2. Contact Akto Support to share the file in a secure manner and to restore the data in your SaaS account.

  3. Proceed to next step only after you receive an acknowledgement from Akto team.

Step 2: Connect Akto with Hybrid SaaS

  1. Go to app.akto.io

  2. Login/Signup into your account.

  3. Go to quick start tab and search for connector Hybrid SaaS Connector and click on connect

  4. Copy the command provided.

  5. Download helm chart for mini-runtime service https://github.com/akto-api-security/helm-charts/tree/master/charts/mini-runtime

  6. Run the command copied in step no. 4

  7. Setup New DaemonSet Pods with

AKTO_NLB_IP = aktoruntime-mini-runtime.dev.svc.cluster.local:9092
  1. Go to app.akto.io and check if traffic data is getting populated in your account.

Step 3: Removing Old Akto Helm Setup

  1. Once step 2 is finished and Akto is setup with Hybrid SaaS, confirm you can see new traffic in Akto dashboard.

  2. Now, we can remove old Akto Helm Setup. Run helm uninstall <cluster_name> -n

  3. Delete old DaemonSet Pods

Get Support for your Akto setup

There are multiple ways to request support from Akto. We are 24X7 available on the following:

  1. In-app intercom support. Message us with your query on intercom in Akto dashboard and someone will reply.

  2. Join our discord channel for community support.

  3. Contact help@akto.io for email support.

  4. Contact us here.

Last updated