Comment on page
Helm Deploy
You can install Akto via Helm charts.
Please ensure you have the following -
- 1.A Kubernetes cluster where you have deploy permissions
- 2.
Here are the steps to install Akto via Helm charts -
- 1.Prepare Mongo Connection string
- 2.Install Akto via Helm
- 3.Verify Installation and harden security
Akto Helm setup needs a Mongo connection string as input. It can come from either of the following -
- 1.Your own Mongo Ensure your machine where you setup Mongo is NOT exposed to public internet. It shouldn't have a public IP. You can setup Mongo by running the following commands.sudo yum update -ysudo yum install -y dockersudo dockerd&docker run --name mongo --restart always -v ./data:/data/db -p 27017:27017 mongosudo systemctl enable /usr/lib/systemd/system/docker.serviceThe connection string would then be
mongodb://<YOUR_INSTANCE_PRIVATE_IP>:27017/admini
- 2.Mongo Atlas You can use Mongo Atlas connection as well
- 1.Go to
Database Deployments
page for your project - 2.Click on
Connect
button - 3.Choose
Connect your application
option - 4.Copy the connection string. It should look like
mongodb://....
- 3.AWS Document DB If you are on AWS, you can use AWS Document DB too. You can find the connection string on the Cluster page itself.
Note: Please ensure your K8S cluster has connectivity to Mongo.
- 1.Add Akto repo
helm repo add akto https://akto-api-security.github.io/helm-charts
- 2.Install Akto via helm
helm install akto akto/akto -n dev --set mongo.aktoMongoConn="<AKTO_CONNECTION_STRING>"
- 3.Run
kubectl get pods -n <NAMESPACE>
and verify you can see 4 pods
- 1.Run the following to get Akto dashboard url
kubectl get services/akto-dashboard -n dev | awk -F " " '{print $4;}'
- 2.Open Akto dashboard on port 8080. eg
http://a54b36c1f4asdaasdfbd06a259de2-acf687643f6fe4eb.elb.ap-south-1.amazonaws.com:8080/
- 3.For good security measures, you should enable HTTPS by adding a certificate and put it behind a VPN. If you are on AWS, follow the guide here.
Last modified 16d ago