Skip to Content

AWS Deployment Requirements

Everything you need to deploy the Internal Scanning Agent on AWS using the Detectify provided Terraform module.

Required Tools

Install these tools on your workstation:

ToolVersionInstallationPurpose
Terraform>= 1.5.0terraform.io Infrastructure provisioning
kubectl-kubernetes.io Cluster management
AWS CLI-aws.amazon.com/cli Interactive access to AWS
# Make sure they're installed correctly terraform version kubectl version aws --version

Infrastructure Requirements

AWS Access

See the official AWS documentation for Setting up the AWS CLI  for guidance on setting up credentials.

Verify your credentials are working:

aws sts get-caller-identity

This should return your account ID and IAM identity.

VPC

RequirementDetailsPurpose
VPCExisting VPC with DNS support and DNS hostnames enabledNetwork where the EKS cluster will be deployed
Private Subnets2+ subnets in different availability zonesEKS nodes run here, isolated from the internet
Outbound InternetNAT Gateway for outbound access on port 443 to registry.detectify.com, license.detectify.com and connector.detectify.com, and to Docker Hub for the in-cluster Redis imageJob polling, scan results, container images

Domain / Route53 (Optional)

To manage scans and findings via the Internal Scanning REST API, a DNS record and TLS certificate can be created by the Terraform module.

Required for DNS setup:

  • Hosted zone for the scanner endpoint — Holds the DNS record for the scanner API; it can be a private hosted zone
  • Public hosted zone — For ACM certificate validation (ACM requires public DNS even if the scanner API endpoint is private)

This is only needed if you wish to manage scans and results without using the Detectify UI, and must do so over TLS.

Detectify Credentials

You need credentials from Detectify. Your license key is listed under Connections > Connectors > Internal Scan Keys in Detectify. Detectify provides the connector API key and registry credentials.

CredentialDescriptionUsed For
License KeyDetectify license keyScanner activation
Connector API KeyAuthentication token for Detectify APIJob polling, results upload
Registry UsernameDocker registry usernamePulling container images
Registry PasswordDocker registry passwordPulling container images

Don’t have credentials? Contact your Detectify account team or reach out to us  to enable Internal Scanning.

Last updated on