Skip to content

AWS Fargate Scanner Deployment

imageimage# APIsec AWS Fargate

Run APIsec Scanner as an AWS Fargate

  • Login to AWS Account.
  • Select Amazon Elastic Container Service (ECS).
  • Select Clusters.
  • Click on Create Cluster.

image

  • Give a Unique Cluster Name.
  • In Infrastructure Select AWS Fargate (serverless)

image

  • Create New Task Definitions.

image

  • Specify a Unique task name.
  • Select Launch type as AWS Fargate.
  • Select 1 vCPU & 2GB memory.

image

  • Add Container.
  • Give Unique Container name, Image name(fxlabs/bot:latest).
  • Add below Environment variables from APIsec scanner.
  • FX_HOST, FX_PORT, FX_IAM & FX_KEY

image

  • Click on Create.
  • Go back to the Cluster > Click on the Newly created Cluster name.
  • Go to the Tasks tab and Click on Run new task

image

  • Select Launch Type as FARGATE and Deployment Configuration as Task then Click Create

image

  • Click on Check Status from the APIsec Scanner page.
  • You will see the status is OK

image

  • Now you can run scans on this scanner from the APIsec project.

!!! info "Note"

  • If Auto-assign public IP is selected as disabled, the container will be in a stop state.
  • To Delete the cluster, you need to stop the TASK first.