Skip to main content

Deploying the Matchmaking Function into AWS Lambda

Last updated on

To upload the Matchmaking function that you created to AWS Lambda, first ensure that you have filled in all of the required fields in the AWS SAM Template and have tested the SAM locally both in AWS SAM and Client.

  1. In your terminal, go to the root directory aws-lambda.

  2. Build the executable binary file in the main.go by running the command:

    go build main.go
  3. Once the build is complete, zip the executable binary file to main.zip.

  4. Upload the main.zip file into the configured AWS Lambda console.

  5. Once complete, call the Lambda API Gateway URL using a user token.