DocsGetting StartedConnecting Your First Environment

Connecting Your First Environment

Learn how to create a discovery zone and connect AsPeekIt to your infrastructure. Each environment type has specific connection requirements.


What is a Discovery Zone?

A discovery zone is a configured connection to an infrastructure source. It tells AsPeekIt where to look for assets and how to authenticate. Each zone has its own credentials, discovery schedule, and settings. You can create multiple zones for different environments or different segments of the same infrastructure.

Creating a Discovery Zone

Open Zones in the Discovery section of the sidebar and click "Add zone" (managers and admins only: viewers do not see Zones). The form has three sections: Basic Information, Discovery Settings and the connection configuration of the chosen type. Click "Create Zone" to save.

New discovery zone form

Basic Information

Provide the essential details for your discovery zone.

  • Zone Name: A descriptive label (e.g., "Production Azure", "Staging K8s Cluster")
  • Environment Type: Select the infrastructure type from the dropdown
  • Identifier: A unique machine-readable identifier for the zone
  • Description: Optional notes about the zone's purpose or scope

Supported Environment Types

AsPeekIt supports discovery across a wide range of infrastructure types. Each type requires specific connection parameters.

  • Microsoft Azure: Requires tenant ID, client ID, client secret, and subscription ID
  • Amazon Web Services: Requires access key ID and secret access key; optional default region, region filter (all regions are scanned when empty) and role ARN
  • DigitalOcean: Requires a personal access token; optional Spaces access and secret keys (for Spaces bucket discovery) and region filter
  • Google Cloud Platform: Requires project ID and a service account credentials JSON
  • VMware vSphere: Requires vCenter host, username, password, and port (default 443)
  • Kubernetes: Requires a kubeconfig file (YAML) and optional context name
  • Network Scan: Requires target networks (CIDR or ranges, one per line), the ports to scan (top 100, top 1024, all or a custom list) and the scan speed
  • SNMP Discovery: Requires target ranges, community string (v1/v2c) or SNMPv3 credentials, and port
  • Agent-based: No connection configuration needed (agents push data to AsPeekIt)
  • Prometheus: Requires URL and optional authentication (Basic Auth or Bearer Token)
  • Zabbix: Requires API URL and authentication (username/password or API token for Zabbix 5.4+)
  • Grafana Tempo: Requires the Tempo URL and optional authentication; optional Grafana URL and API key for richer service graph data, and a metrics generator URL for RED metrics

Discovery Settings

Configure how often AsPeekIt should automatically scan for changes in the environment.

  • Enable automatic discovery: When enabled, AsPeekIt will run discovery at the configured interval
  • Discovery interval: Set the frequency in minutes (minimum 5, maximum 1440). A typical value is 60 minutes for production environments

Note: Even with automatic discovery disabled, a manager or admin can always trigger a manual discovery from the zone card by clicking "Run Now".

Connection Security

Credentials are stored securely in the platform. Sensitive fields (passwords, secrets, API keys) are masked in the UI after saving. AsPeekIt uses the credentials only to read infrastructure metadata during discovery scans. No write operations are performed on your infrastructure.

Warning: Always use service accounts or API keys with read-only permissions for AsPeekIt discovery zones. AsPeekIt never needs write access to your infrastructure.

Testing the Connection

After saving the zone, the best way to verify the connection is to run a discovery. Click "Run Now" on the zone card and follow the job in Job History. If the connection fails, the zone card and the job detail show the error message. Common issues include incorrect credentials, network connectivity problems, or insufficient permissions (see /docs/getting-started/first-discovery).