Skip to main content
Version: 2.0.0

Step-by-step guide - Deploying PDP using AWS-ECS-Fargate

In this example, we will show you how to deploy the Permit PDP on AWS ECS Fargate.

1. Create a new ECS cluster

Create a new cluster in the ECS console. Create cluster

2. Create Task definitions

Create a new task definition in the ECS console. Please pay attention to the following fields:

  • container port needs to open: 7000
  • Image URI: permitio/pdp-v2:latest
  • CPU and Memory, please consider changing values in case of high load. (1 vCPU is a good number to start with)
  • PDP_API_KEY - your API key
  • (optional) PDP_OPA_CLIENT_QUERY_TIMEOUT - timeout in seconds for the request to the OPA client (default 1), for heavy checks you might want to set it to a higher number (like bulk, get_user_tenants, etc.)

Configure definitions Configure definitions

3. Create new service

Create service Create service