View a markdown version of this page

Step 1: Build deployment assets - Guidance for Cross Network Traffic Inspection with AWS Network Firewall

Step 1: Build deployment assets

Follow step-by-step instructions to build deployment assets.

  1. Create an S3 bucket with the bucket appended with the region in which the deployment is to be made. example, if the deployment is to be made in us-east-1 create a bucket name as [BUCKET_NAME]-us-east-1.

  2. Clone the git repo

    git clone <repo-url>
  3. Prepare build file

    cd <rootDir>/deployment chmod +x ./build-s3-dist.sh
  4. Build and package deployment assets, replace [S3_BUCKET] with name of bucket created in previous step, replace [VERSION_ID] with current version of sample code ( 1.1.3 as of July, 2025 )

    ./build-s3-dist.sh [S3_BUCKET] centralized-network-inspection [VERSION_ID]
  5. Copy assets from ./deployment/regional-s3-assets/* to s3 bucket s3://[S3_BUCKET]-[REGION]/centralized-network-inspection/[VERSION_ID]/

  6. Copy assets from ./deployment/regional-s3-assets/* to s3 bucket s3://[S3_BUCKET]-[REGION]/centralized-network-inspection/latest/

  7. use the file ./deployment/global-s3-assets/centralized-network-inspection-on-aws.template to create CloudFormation stack in next step.