ServerLess Archi (Run Spring Boot on AWS Lambda)
follow the read. (따라해주세요)
Required Installation (필수 설치) sam,aws-cli
sam build in the same directory below(하단 동일 경로에서 sam build)
CI/CD Sequence "You don't need to do these steps yourself; the SAM CLI automatically sets up the infrastructure through AWS CloudFormation. There's no need to do it manually."
After completing sam build in the same directory below, proceed with sam deploy (initially, you need to work with sam build --guided). (하단 동일 경로에서 sam build 완료 후 sam deploy (처음엔 sam build --guided로 작업 필요)) Write the same below and then deploy. (하단 동일하게 작성 후 배포)
CI/CD Structure(CI/CD 구조) Build file is uploaded to S3. (build 파일 S3에 업로드 됨)
Build file is uploaded from S3 to Lambda. (build파일 S3 -> Lambda로 업로드)
Attach the API Gateway to the Lambda function. Access must be through the Invoke URL of the Prod stage in Stages. (Lambda 함수에 apigateway 부착 반드시 Stages의 Prod의 Invoke URL로 접근)
Track server execution logs in CloudWatch. (서버 실행 로그 추적 cloudwatch 에서 추적)
Track logs during the sam deploy process (track in CloudFormation). (sam deploy 과정에서 로그 추적 (cloudformation 에서 추적))