Holodeck automatically detects your public IP address when creating AWS environments, eliminating the need to manually configure security group rules.
- Service Priority: Tries multiple IP detection services in order
- Fallback Strategy: If one service fails, automatically tries the next
- Validation: Ensures detected IP is a valid public IPv4 address
- CIDR Formatting: Automatically adds
/32suffix for AWS compatibility
https://api.ipify.org?format=text(Primary)https://ifconfig.me/ip(Fallback 1)https://icanhazip.com(Fallback 2)https://ident.me(Fallback 3)
- Overall Timeout: 15 seconds
- Per-Service Timeout: 5 seconds
- Context Support: Proper cancellation and timeout handling
apiVersion: holodeck.nvidia.com/v1alpha1
kind: Environment
metadata:
name: my-environment
spec:
provider: aws
instance:
type: g4dn.xlarge
region: us-west-2
# No ingressIpRanges needed - IP detected automaticallyapiVersion: holodeck.nvidia.com/v1alpha1
kind: Environment
metadata:
name: my-environment
spec:
provider: aws
instance:
type: g4dn.xlarge
region: us-west-2
ingressIpRanges:
- "10.0.0.0/8" # Corporate network
- "172.16.0.0/12" # Additional network
# Your detected IP will be automatically added- Network Connectivity: Ensure outbound internet access to IP detection services
- Firewall Rules: Corporate firewalls may block IP detection services
- Proxy Configuration: Proxy settings may affect IP detection
If automatic detection fails, you can manually specify your IP:
spec:
provider: aws
instance:
type: g4dn.xlarge
region: us-west-2
ingressIpRanges:
- "YOUR_PUBLIC_IP/32" # Replace with your actual public IPTo debug IP detection issues:
# Test IP detection manually
curl https://api.ipify.org?format=text
curl https://ifconfig.me/ip
curl https://icanhazip.com
curl https://ident.meThe system validates that detected IPs are:
- Valid IPv4 addresses
- Public (not private, loopback, or link-local)
- Properly formatted for AWS security groups
- Only your current public IP is granted access
- Additional IP ranges can be specified manually
- Security group rules are automatically configured
- Use Automatic Detection: Let Holodeck handle IP detection automatically
- Specify Additional Ranges: Use
ingressIpRangesonly for additional networks - Test Connectivity: Verify access to IP detection services in your environment
- Monitor Changes: Be aware that your public IP may change (DHCP, mobile networks)