End-of-Life (EoL)
Console on Fargate
You can run Prisma Cloud Console in AWS Fargate.
This procedure assumes you’ve already created an ECS cluster.
Create a security group
Create a security group that opens ports 8083-8084 for Prisma Cloud Console and port 2049 for NFS.
- In the AWS console, go toServices > Compute > EC2 > Security Groups.
- ClickCreate security group.
- InSecurity group name, enter a name, such aspc-security-group.
- InDescription, enterPrisma Cloud Compute Console on Fargate.
- InVPC, select the VPC where your ECS cluster runs.
- Create an inbound rule for Prisma Cloud Console ports.
- UnderInbound rules, clickAdd rule.
- UnderType, selectCustom TCP.
- UnderPort range, enter8083-8084.
- UnderSource, selectAnywhere.
- Create an inbound rule for NFS, where Console stores its data.
- ClickAdd rule.
- UnderType, selectNFS.
- UnderSource, selectAnywhere.
- ClickCreate security group.
- Write down the security group ID and save it for later.
Create an EFS file system
Create a highly available file system for Console to store its data.
- In the AWS console, go toServices > Storage > EFS.
- ClickCreate file system.
- ClickCustomizeto open a more detailed dialog.
- Enter a value forName, such aspc-efs-console.
- Set the throughput mode toProvisioned.
- SetProvisioned Throughput (MiB/s)to 0.1 MiB/s per Defender that will be deployed.
- ClickNext.
- InVPC, select the VPC where your EC2 cluster runs and the relevant mount targets.
- For each mount target, change the security group to the ID of the pc-security-group.
- ClickNext, accepting all defaults, until the file system is created.
- Write down the file system ID and save it for later.
Create target groups
Create two target groups for the load balancer, one for port 8083 and one for port 8084.
- In the AWS console, go toServices > Compute > EC2 > Load Balancing > Target Groups.
- ClickCreate target group.
- InBasic configuration, selectIP addresses.
- Enter a value forName, such aspc-tgt-8083orpc-tgt-8084.
- SetProtocoltoTCPandPortto8083or8084respectively.
- In VPC, select the VPC where your ECS cluster runs.
- For port 8083 only, specify the following health check configuration:
- Health check protocol:HTTPS
- Health check path:/
- Port:Traffic port
- Accept the default values for all other settings.
- ClickNext, and then clickCreate target group.
- Repeat the process for port 8084, but accept the default values for the health check configuration.The health check protocol for 8084 must beTCP.
- Write down the ARN for both target groups, and save them for later.
Create a load balancer
Create a network load balancer to route traffic to the Console container.
- In the AWS console, go toServices > Compute > EC2 > Load Balancers.
- ClickCreate Load Balancer.
- ChooseNetwork Load BalancerandCreate.
- Enter a value forName, such aspc-ecs-lb.
- UnderNetwork mapping, select the VPC and subnet where the Prisma Cloud Console task will run.
- UnderListeners and routing, create a listener for port 8083.
- SetProtocoltoTCP.
- SetPortto8083.
- SetDefault actiontoForward to: pc-tgt-8083.
- Create a listener for port 8084.
- ClickAdd listener.
- SetProtocoltoTCP.
- SetPortto8084.
- SetDefault actiontoForward to: pc-tgt-8084.
- ClickCreate load balancer.
- Write down the DNS name for the load balancer, and save it for later.
Create task definition
Use twistcli to generate a task definition for Console.
The following table lists valid values for cpu-limit and memory-limit:
CPU limit | Memory limit (MiB) |
---|---|
256 (.25 vCPU) | 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) |
512 (.5 vCPU) | 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) |
1024 (1 vCPU) | 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) |
2048 (2 vCPU) | Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) |
4096 (4 vCPU) | Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) |
- Download the Prisma Cloud Compute Edition release tarball, and unpack it.
- Run twistcli to create the task definition../<PLATFORM>/twistcli console export fargate \ --registry-token <registry token> \ --cluster-ip <load balancer dns name> \ --memory-limit <memory limit number> \ --cpu-limit <cpu limit number> \ --efs-volume <efs ID>For example:./linux/twistcli console export fargate \ --registry-token <my_registry_token_id_string> \ --cluster-ip my-fargate-console-dns-address.elb.us-east-1.amazonaws.com \ --memory-limit 8192 \ --cpu-limit 2048 \ --efs-volume fs-12345678In the AWS console, go toServices > Containers > Elastic Container Service > Task Definitions.ClickCreate new Task Definition.Click