Giter VIP home page Giter VIP logo

aws-lambda-cli-maven-graalvm-test's Introduction

Micronaut 2.4.0-SNAPSHOT Documentation


Handler

AWS Lambda Handler

Handler: io.micronaut.function.aws.proxy.MicronautLambdaHandler

AWS Lambda GraalVM Workflow (CLI)

Workflow file: .github/workflows/aws-lambda-cli-graalvm.yml

Workflow description

For pushes to the master branch, the workflow will:

  1. Setup the build environment with respect to the selected java/graalvm version.
  2. Login to Docker registry.
  3. Login to Azure Command-Line Interface.
  4. Build, tag and push Docker image with Micronaut application to the Docker Registry.
  5. Deploy to Azure Container Instances.

Dependencies on other GitHub Actions

Setup

Add the following GitHub secrets:

Name Description
AWS_ACCESS_KEY_ID AWS Access Key Id.
AWS_SECRET_ACCESS_KEY AWS Secret Access Key.
AWS_ROLE_ARN AWS Role ARN under which the Lambda function runs.

The workflow file also contains additional configuration options that are now configured to:

Name Description Default value
AZURE_LOCATION Location where the Container Instance will be created. See Resource availability for Azure Container Instances in Azure regions to find out what regions are supported. westeurope
AZURE_DNS_LABEL The dns name label for container group with public IP. aws-lambda-cli-maven-graalvm-test

Verification

Call the rest api endpoint [AZURE_DNS_LABEL].[AZURE_LOCATION].azurecontainer.io:[PORT]/awsLambdaCliMavenGraalvmTest:

curl http://aws-lambda-cli-maven-graalvm-test.westeurope.westeurope.azurecontainer.io:8080/awsLambdaCliMavenGraalvmTest

Feature http-client documentation

Feature aws-lambda-custom-runtime documentation

Feature aws-lambda documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.