Overview
Create a new private location to run checks from your own infrastructure. Private locations allow you to monitor internal services, comply with regulatory requirements, or test from specific geographic locations.Request Example
Response Example
Configuration Options
Basic Settings
Basic Settings
Required Fields:
name(string): Human-readable name for the private locationslugName(string): URL-safe identifier (lowercase, hyphens allowed)
region(string): AWS region identifier for geographic referencetags(array): Tags for organization and filteringicon(string): Icon identifier for the UI (aws, gcp, azure, docker, kubernetes, etc.)
Naming Guidelines
Naming Guidelines
Name Requirements:
- Must be unique within your account
- Can contain letters, numbers, spaces, and common punctuation
- Maximum 255 characters
- Should be descriptive and meaningful
- Must be unique within your account
- Lowercase letters, numbers, and hyphens only
- Cannot start or end with a hyphen
- Maximum 63 characters
- Used in API calls and URLs
Supported Icons
Supported Icons
Choose an icon that represents your infrastructure:
aws- Amazon Web Servicesgcp- Google Cloud Platformazure- Microsoft Azuredocker- Docker containerskubernetes- Kubernetes clustersserver- Generic servercloud- Generic clouddatacenter- Data centeroffice- Office location
Regional Reference
Regional Reference
Use standard AWS region identifiers for consistency:
us-east-1- US East (N. Virginia)us-west-2- US West (Oregon)eu-west-1- Europe (Ireland)ap-southeast-1- Asia Pacific (Singapore)- Or use custom identifiers for your locations
API Key Management
Automatic API Key Creation
Automatic API Key Creation
When you create a private location, Checkly automatically generates:
- A default API key for agent authentication
- Secure key with appropriate permissions
- Initial key named “Default API Key”
Key Security
Key Security
- API keys are shown only once during creation
- Keys are hashed and masked in subsequent API responses
- Store keys securely in your infrastructure
- Rotate keys regularly for security
Multiple Keys
Multiple Keys
You can create multiple API keys for:
- Different environments (staging, production)
- Key rotation without downtime
- Team or service separation
- Backup authentication methods
Code Examples
Next Steps After Creation
1. Save the API Key
1. Save the API Key
Critical: Save the API key immediately after creation:
- The key is only shown once in the creation response
- Store it securely in your secrets management system
- You’ll need it to configure the Checkly Agent
2. Install the Checkly Agent
2. Install the Checkly Agent
Download and install the agent in your infrastructure:Or using Kubernetes:
3. Verify Connection
3. Verify Connection
Check that the agent connects successfully:
- Wait a few minutes for the agent to start
- Check the private location status via API
- Look for
status: "ACTIVE"and recentlastHeartbeat - Monitor agent logs for any connection issues
4. Assign Checks
4. Assign Checks
Configure checks to use your private location:
- Update existing checks to include your private location
- Create new checks that target your private location
- Use check groups to apply the location to multiple checks
Best Practices
Naming Strategy
Naming Strategy
Use consistent naming conventions:
- Environment: Include environment (prod, staging, dev)
- Technology: Specify platform (aws, k8s, docker)
- Location: Include geographic or logical location
- Purpose: Indicate the purpose or team
- “Production AWS US-East”
- “Staging Kubernetes EU”
- “Dev Docker Local”
Security Considerations
Security Considerations
- API Key Storage: Use secure secrets management
- Network Access: Restrict outbound access to required endpoints
- Agent Updates: Keep agent versions current
- Monitoring: Monitor agent health and connectivity
Infrastructure Planning
Infrastructure Planning
- Resource Requirements: Ensure adequate CPU and memory
- Network Connectivity: Plan for outbound HTTPS access
- High Availability: Consider running multiple agents
- Scaling: Plan for check volume and concurrent execution
Organization
Organization
- Tagging: Use consistent tags for filtering and organization
- Documentation: Document the purpose and configuration
- Access Control: Limit who can create and manage private locations
- Monitoring: Set up alerts for private location health
Remember to save the API key immediately after creation - it’s only shown once! You’ll need this key to configure the Checkly Agent in your infrastructure.