AWS Fargate Scanner Deployment
# 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.
- Give a Unique Cluster Name.
- In Infrastructure Select AWS Fargate (serverless)
- Create New Task Definitions.
- Specify a Unique task name.
- Select Launch type as AWS Fargate.
- Select 1 vCPU & 2GB memory.
- 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
- 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
- Select Launch Type as FARGATE and Deployment Configuration as Task then Click Create
- Click on Check Status from the APIsec Scanner page.
- You will see the status is OK
- 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.