Fortinet black logo

AWS Administration Guide

Preparing the deployment package

Copy Link
Copy Doc ID 9e3b59dc-ba0b-11e9-a989-00505692583a:53483
Download PDF

Preparing the deployment package

When you have all prerequisites ready, you can continue the installation as below. The commands in each steps are intended to run in Terminal or Git Bash only.

You must create a deployment package from the local Git project repository, which will be uploaded for the Lambda function creation in a later step.

To prepare the deployment package:
  1. Clone this project into the "guardduty" folder in your current local directory, and enter the project directory:

    $ git clone https://github.com/fortinet/aws-lambda-guardduty.git guardduty

    $ cd guardduty

  2. Install project dependencies:

    $ npm install

  3. Build this project locally to create a deployment package .zip file. The file will be located in ./dist/aws_lambda_guardduty.zip:

    $ npm run build

Preparing the deployment package

When you have all prerequisites ready, you can continue the installation as below. The commands in each steps are intended to run in Terminal or Git Bash only.

You must create a deployment package from the local Git project repository, which will be uploaded for the Lambda function creation in a later step.

To prepare the deployment package:
  1. Clone this project into the "guardduty" folder in your current local directory, and enter the project directory:

    $ git clone https://github.com/fortinet/aws-lambda-guardduty.git guardduty

    $ cd guardduty

  2. Install project dependencies:

    $ npm install

  3. Build this project locally to create a deployment package .zip file. The file will be located in ./dist/aws_lambda_guardduty.zip:

    $ npm run build