실습한다. 또한 배포 크기를 가장 줄일 수 있는 프레임워크인 쿼커스로 기능을 구현할 것이다.
본문의 예시는 기술의 발전에 따라 일부분이 바뀌거나 전혀 못쓰게 될 가능성이 있다. 코드를
빌드하고 실행할 때는 항상 최신 버전의 툴을 먼저 검토하기 바란다. 참고로 이 책에서 사용하
는 쿼커스 버전은
1
.
13
.
7
이다.
AWS
람다를 사용하려면
AWS
계정
16
이 필요하며
AWS
CLI
17
를 설치해야 한다. 또한 로컬 테
스트를 실행하려면
AWS
서버리스 애플리케이션 모델(
SAM
)
CLI
18
가 필요하다.
준비물을 갖춘 다음에는 부트스트랩 프로젝트를 만들어야 한다. 이전처럼 쿼커스 웹사이트
19
에서 프로젝트를 내려받는 과정은 같다. 그러나 함수 프로젝트는 설정이 약간 다르므로 다음과
같이 메이븐 아키타입 명령을 먼저 실행해야 한다.
mvn archetype:generate \
-DarchetypeGroupId=io.quarkus ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.