Custom subdomain on Akto on AWS

Akto creates a load balancer for your akto dashboard. You can put this dashboard behind your organization's subdomain for easier access across teams. Moreover, adding SSL certificate make the dashboard more secure.

To configure HTTPS and add SSL certificate to akto dashboard load-balancer

  1. 1.
    Navigate to AWS dashboard > EC2 > load balancers and select the akto dashboard load balancer.
Navigate to load balancers and select akto dashboard load balancer
  1. 2.
    Go to Listeners and rules and select the HTTP:80 rule.
Select HTTP 80 rule
  1. 3.
    Click on Edit listener
Click on edit listener
  1. 4.
    Change protocol from HTTP to HTTPS.
Change protocol to HTTPS
  1. 5.
    Add your SSL certificate to the listener.
Add SSL cert
  1. 6.
    Click on save changes. The protocol should be changed by this. To make it reachable by the load balancer we would edit its security group.
Save changes
  1. 7.
    On the same page, click on security and click on the associated security group.
Go to the associated security group
  1. 8.
    Click on edit inbound rules.
Edit inbound rules
  1. 9.
    Change the type of protocol from HTTP to HTTPS and save the inbound rule of the security group.
Set type to HTTPS
  1. 10.
    You should now be able to access akto dashboard's load-balancer IP on HTTPS and it should give an invalid SSL certificate error, because the certificate belongs to your organization and would have been mapped to your organization's domain name.

To configure custom subdomain for akto dashboard load-balancer

  1. 1.
    Navigate to Route 53 on the AWS dashboard. Go to hosted zones.
Go to route 53
  1. 2.
    Select the hosted zone in which you want to route akto dashboard and click on create record.
Create a new record in a hosted zone
  1. 3.
    Select the record name as akto and record type as A - Routes traffic to an IPv4 address and some AWS resources. Then toggle the alias button.
  1. 4.
    Select on Application and classic load balancer in the endpoints menu.
Select on application and classic load balancer
  1. 5.
    Select the region in which the load balancer is deployed.
Select region
  1. 6.
    Choose akto dashboard's load balancer in the menu and click on Create records.
choose your LB and create records
Now, you have added a custom subdomain and SSL certificate to your akto deployment on AWS.