Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History

spring-boot-3.4-with-spring-cloud-function-as-graalvm-native-image

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  1. AWS setup m5.large Cloud9 EC2 instance

  2. Install SDKMAN (https://sdkman.io/) curl -s "https://get.sdkman.io" | bash

source "/home/ec2-user/.sdkman/bin/sdkman-init.sh"

  1. Install GraalVM (https://www.graalvm.org/latest/docs/getting-started/linux/) sdk install java 23.0.1-graal

  2. Install Native Image (https://www.graalvm.org/latest/reference-manual/native-image/)

    sudo yum install gcc glibc-devel zlib-devel

    sudo dnf install gcc glibc-devel zlib-devel libstdc++-static

  3. Install Maven

    yum install maven

  4. Clone git Repo git clone https://github.com/Vadym79/AWSLambdaJavaWithSpringBoot.git

  5. Build Native Image

    mvn clean package -P native

8)Connect Cloud9 to GitHub (https://aws.plainenglish.io/how-to-use-aws-cloud9-with-github-3136692fa44d)

  1. Resize Cloud9 Storage if required https://ec2spotworkshops.com/ecs-spot-capacity-providers/workshopsetup/resize_ebs.html