Skip to main content

Cloud Resources Overview

Cloud resources in EntryGuard represent the cloud infrastructure components where IP whitelisting rules are applied. When you start a session, EntryGuard automatically adds your IP address to the configured resources, and removes it when the session expires.

What is a Cloud Resource?

A cloud resource is a managed infrastructure component that controls network access through IP-based rules. In EntryGuard, each resource represents:

  • AWS Security Groups - Ingress rules for EC2 instances, RDS databases, load balancers, etc.
  • APISIX Gateway - Route-level IP whitelisting for API gateways
  • Vercel Firewall - Project-level IP allowlisting via Vercel WAF rules
  • GCP Firewall Rules - Coming soon
  • Azure Network Security Groups (NSG) - Coming soon

Resource Properties

Each cloud resource has the following properties:

PropertyDescription
idUnique identifier (UUID)
organizationIdYour organization ID
nameFriendly name for the resource
providerCloud provider: AWS, GCP, AZURE, APISIX, or VERCEL
resourceTypeType of resource (e.g., SECURITY_GROUP)
resourceIdentifierProvider-specific ID (e.g., sg-0abc123def456789)
regionCloud region (e.g., eu-west-1, us-east-1)
credentialIdID of the credential used to manage this resource
configOptional JSON configuration (ports, protocols, etc.)
isActiveWhether the resource is verified and operational
lastVerifiedAtTimestamp of last successful verification

Resource Lifecycle

  1. Create - Add a resource via POST /resources with credential, identifier, and region
  2. Verify - EntryGuard automatically verifies the resource exists and credentials work
  3. Active - Verified resources are available for session IP whitelisting
  4. Update - Modify name or configuration as needed
  5. Delete - Remove resources no longer needed

Subscription Limits

The maximum number of resources you can create depends on your plan:

  • Free - 3 resources
  • Paid - Unlimited resources (usage-based)

You can view your current usage via GET /resources which includes limit information in the response.

Resource Configuration

Resources support optional configuration stored as JSON. For AWS Security Groups, common configurations include:

{
"port": 443,
"protocol": "tcp"
}

If not specified, defaults are:

  • Port: 443
  • Protocol: tcp

Multiple ports can be managed by creating separate resources for the same Security Group with different port configurations.

Security Considerations

  • Resources require valid cloud credentials to function
  • EntryGuard only adds temporary IP rules with tracking metadata
  • Existing rules in your Security Groups are never modified or deleted
  • All EntryGuard-managed rules include a description tag for identification
  • Resources are scoped to your organization - other orgs cannot access them

Next Steps