AWS ECS/EKS/Fargate
Install and attach K2's Node.js Language Agent with your Node.js application hosted on AWS ECS/EKS/Fargate for Runtime Self Application Protection.
Steps to protect Node.js Web Application
Option 1: (Recommended)
{ "containerDefinitions": [ { "memory": 128, "portMappings": [ { "hostPort": 80, "containerPort": 80, "protocol": "tcp" } ], "essential": true, "mountPoints": [ { "containerPath": "/opt/k2-ic", "sourceVolume": "k2-volume-1-10-16-PRODUCTION" } ], "name": "application-container", "image": "nginx" } ], "volumes": [ { "name": "k2-volume-1-10-16-PRODUCTION", "efsVolumeConfiguration": { "fileSystemId": "fs-1324abcd", "transitEncryption": "ENABLED" } } ], "family": "test-application" }node --require /opt/k2-ic/k2-njs-agent/ <main-module>
require('/opt/k2-ic/k2-njs-agent/k2');
Option 2:
Last updated
Was this helpful?