Redis 설정 ( ElastiCache)
sudo apt update
sudo apt install redis-tools
redis-cli -h 기본 엔드포인트(.com까지) -p 6380
// 이러면 접속됨
coupon-consumer
sudo apt update
sudo apt install opendjdk-17-jre
git clone
vi를 사용해 application-core.yml 들어가서 mysql 엔드포인트, username, password 수정
redis 엔드포인트 설정(.com까지만)
:wq -> 저장
빌드
./gradlew build -x test
coupon-consumer/build/libs 경로로 이동해서
java -jar coupon-consumer.jar --spring.profiles.active=prod
coupon-api
sudo apt update
sudo apt install openjdk-17-jre
git clone
consumer와 마찬가지로 application-core.yml 변경
./gradlew build -x test
'개인 프로젝트' 카테고리의 다른 글
Coupon프로젝트 - CloudWatch 설정 (0) | 2024.03.06 |
---|