APIsec AWS Fargate¶
AWS FargateTM - Amazon Elastic Container Service (ECS) -¶
APIsec AWS Fargate¶
Deployment of APIsec Scanner in AWS Fargate
- Login into AWS Account.
-
Select Amazon Elastic Container Service (ECS).
-
Select Clusters.
-
-
Create a New Cluster
- Select "Networking Only" Option
-
Give Unique Cluster Name.
-
Skip VPC and CloudWatch option,Click on create
- Select View Cluster.
-
-
Task Definitions.
-
-
Create a New Task Definition
-
Select 'FARGATE' Option.
-
Followed by Next, Give Unique Name & Select the rest options as provided.
-
Add Container
-
Select atleast below mentioned CPU and Memory to run scans on playbooks smoothly.
-
Give Unique Container name, Image name(fxlabs/bot:latest).
-
Skip all options & proceed on “Environment variables” section to add scanner parameters from scanner created page of APIsec Product.
- Optional :- Log configuration.
- Add Container.
- Click on Create.
-
-
Redirect to home page, then Click on Newly Created Cluster.
-
CREATE A NEW RUN TASK
-
Click on Task and then click on RUN NEW TASK.
-
Select FARGATE as Launch type and select all required options as provided.
Note : If above Auto-assign public IP is selected as disable, the container will be in stop state.
- On Container Override Expand to see Cluster with Env created and then click on RUN TASK, wait for 2minutes.
- Click on Task to see information and its resources.
-
Click on "Check Status" of the Created Scanner in Scanner page of APIsec product.
-
Now you can run scans on the PLAYBOOKS in projects.
- Cluster and Container Details :
Note
- If Auto-assign public IP is selected as disable, the container will be in stop state.
- To Delete cluster, first you need to stop the TASK.
- If you are behind firewall/vpn, then you will have to whitelist cloud.apisec.ai IP (104.196.107.163) and port 5671 on the outbound request for the scanner to connect with the APIsec server.