mark.sh
Bastion Server에서 채점 진행
리전을 ap-northeast-2 에 맞게 구성하였는지 확인
테라폼에서 step2.tf 실행 하였는지 확인
SSH 로 Bastion Server 접근되는지 확인 (2202 포트)
채점 전 v1.0.0의 앱이 돌아가는지 확인
1-1 10.76.0.0/16 [ "10.76.10.0/24", "10.76.20.0/24" ]이 출력되는지 확인
1-2아래의 사진처럼 출력되는지 확인
VPC CIDR
1-3 아래의 사진처럼 출력되는지 확인
1-4 아래의 사진처럼 출력되는지 확인
1-5 아래의 사진처럼 정확히 일치하게 출력되는지 확인
2-1 아래의 사진처럼 출력되는지 확인
3-1 alias/wsk-key가 출력되는지 확인
3-2 아래의 사진처럼 출력되는지 확인
4-1 (채점지 오류)
4-2 (채점지 오류)
4-3 AWS RDS 콘솔에서 아래의 사진과 같은지 확인
5-1 아래의 사진처럼 출력되는지 확인
5-2 아래의 사진처럼 출력되는지 확인
5-3 AWS ECR 콘솔에서 아래의 사진과 같은지 확인
6-1 아래의 사진처럼 출력되는지 확인
6-2 아래의 사진처럼 출력되는지 확인
6-3 아래의 사진처럼 출력되는지 확인
6-4 아래의 사진처럼 출력되는지 확인
6-5 아래의 사진처럼 출력되는지 확인
6-6 아래의 사진처럼 출력되는지 확인
7-1 아래의 사진처럼 출력되는지 확인
7-2 아래의 사진처럼 출력되는지 확인
7-3 아래의 사진처럼 출력되는지 확인
7-4 아래의 사진처럼 출력되는지 확인
7-5 아래의 사진처럼 출력되는지 확인
7-6 아래의 명령어로 API Test
export EXT_NLB=$(aws elbv2 describe-load-balancers \
--names wsk-ext-nlb \
--query "LoadBalancers[0].DNSName" \
--output text)
curl -X POST "$EXT_NLB/green" \
-H "Content-Type: application/json" \
-d '{"x": "wsk2025", "y": 10128}'
curl -X POST "$EXT_NLB/red" \
-H "Content-Type: application/json" \
-d '{"name": "wsklee"}'
Shell
복사
8-1 아래의 사진처럼 출력되는지 확인
8-2 아래의 사진처럼 출력되는지 확인
채점시 진행
9-1 아래의 명령어로 CICD Test
./red_change_version_1.sh
Shell
복사
export EXT_NLB=$(aws elbv2 describe-load-balancers \
--names wsk-ext-nlb \
--query "LoadBalancers[0].DNSName" \
--output text)
curl -X POST "$EXT_NLB/red" \
-H "Content-Type: application/json" \
-d '{"name": "gyuukatsu"}'
# '{"name": "gyuukatsu", "version": "1.0.1"}' 출력되는지 확인
curl -X GET "$EXT_NLB/red?id=<ID>
Shell
복사
























