33,000원
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결지금 당장 데브옵스 AWS
AWS riuter 53
안녕하세요?EC2에 deploy를 하고 도메인과 IP를 연결하였습니다. 그런데 port가 80 번이 아닌경우 어떻게 해야하나요?
- 미해결지금 당장 데브옵스 AWS
(3) 백엔드 production 버전으로 실행 "npm run start" 실행 시 에러 메제시
MySQL Workbench 까지 확인 됐고요.(3) 번 실행 하면 아래 에러가 발생합니다. PS C:\Users\esc0\Desktop\saju\saju-backend-nodejs> npm run start> saju-backend-nodejs@1.0.0 start> cross-env NODE_ENV=prod PORT=3000 node server.js3000 번 포트에서 대기중ConnectionError [SequelizeConnectionError]: Unknown database 'saju-db-prod' at ConnectionManager.connect (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\dialects\mysql\connection-manager.js:102:17) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ConnectionManager._connect (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\dialects\abstract\connection-manager.js:220:24) at async C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\dialects\abstract\connection-manager.js:174:32 at async ConnectionManager.getConnection (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\dialects\abstract\connection-manager.js:197:7) at async C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\sequelize.js:301:26 at async MySQLQueryInterface.tableExists (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\dialects\abstract\query-interface.js:102:17) at async Function.sync (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\model.js:939:21) at async Sequelize.sync (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\sequelize\lib\sequelize.js:373:9) { parent: Error: Unknown database 'saju-db-prod' at Packet.asError (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\packets\packet.js:728:17) at ClientHandshake.execute (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\commands\command.js:29:26) at Connection.handlePacket (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\connection.js:456:32) at PacketParser.onPacket (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\connection.js:85:12) at PacketParser.executeStart (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\packet_parser.js:75:16) at Socket.<anonymous> (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\connection.js:92:25) at Socket.emit (node:events:390:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Socket.Readable.push (node:internal/streams/readable:228:10) { code: 'ER_BAD_DB_ERROR', errno: 1049, sqlState: '42000', sqlMessage: "Unknown database 'saju-db-prod'", sql: undefined }, original: Error: Unknown database 'saju-db-prod' at Packet.asError (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\packets\packet.js:728:17) at ClientHandshake.execute (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\commands\command.js:29:26) at Connection.handlePacket (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\connection.js:456:32) at PacketParser.onPacket (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\connection.js:85:12) at PacketParser.executeStart (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\packet_parser.js:75:16) at Socket.<anonymous> (C:\Users\esc0\Desktop\saju\saju-backend-nodejs\node_modules\mysql2\lib\connection.js:92:25) at Socket.emit (node:events:390:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Socket.Readable.push (node:internal/streams/readable:228:10) { code: 'ER_BAD_DB_ERROR', errno: 1049, sqlState: '42000', sqlMessage: "Unknown database 'saju-db-prod'", sql: undefined }}C:\Users\esc0\Desktop\saju\saju-backend-nodejs\server.js:29 throw new Error("Mysql 연결 에러!"); ^Error: Mysql 연결 에러! at C:\Users\esc0\Desktop\saju\saju-backend-nodejs\server.js:29:13 at processTicksAndRejections (node:internal/process/task_queues:96:5)
- 미해결지금 당장 데브옵스 AWS
npm install , npm run serve 실행시 에러메세지
에러메세지는 아래와 같습니다.PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> npm install npm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolvenpm ERR!npm ERR! While resolving: @vue/cli-plugin-eslint@5.0.8npm ERR! Found: eslint@6.8.0npm ERR! node_modules/eslintnpm ERR! dev eslint@"^6.7.2" from the root projectnpm ERR! peer eslint@">= 4.12.1" from babel-eslint@10.1.0npm ERR! node_modules/babel-eslintnpm ERR! dev babel-eslint@"^10.1.0" from the root projectnpm ERR! 2 more (eslint-plugin-vue, vue-eslint-parser)npm ERR!npm ERR! Could not resolve dependency:npm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8npm ERR! node_modules/@vue/cli-plugin-eslintnpm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root projectnpm ERR!npm ERR! Conflicting peer dependency: eslint@8.33.0npm ERR! node_modules/eslintnpm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8npm ERR! node_modules/@vue/cli-plugin-eslintnpm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root projectnpm ERR!npm ERR! Fix the upstream dependency conflict, or retrynpm ERR! this command with --force or --legacy-peer-depsnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.npm ERR!npm ERR!npm ERR! For a full report see:npm ERR! C:\Users\esc0\AppData\Local\npm-cache\_logs\2023-02-09T13_43_38_155Z-eresolve-report.txtnpm ERR! A complete log of this run can be found in:npm ERR! C:\Users\esc0\AppData\Local\npm-cache\_logs\2023-02-09T13_43_38_155Z-debug-0.logPS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> npm run serve > saju-frontend-vuejs@0.1.0 serve> vue-cli-service serveINFO Starting development server...ERROR Failed to compile with 2 errors 오후 10:47:30[eslint] ESLint is not a constructorYou may use special comments to disable some warnings.Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore all warnings in a file.Error: Child compilation failed:[eslint] ESLint is not a constructor - child-compiler.js:169[saju-frontend-vuejs]/[html-webpack-plugin]/lib/child-compiler.js:169:18 - Compiler.js:551 finalCallback[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:551:5 - Compiler.js:577[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:577:11 - Compiler.js:1196[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:1196:17 - task_queues:95 processTicksAndRejectionsnode:internal/process/task_queues:95:5 - task_queues:64 runNextTicksnode:internal/process/task_queues:64:3- timers:447 process.processImmediatenode:internal/timers:447:9ERROR in [eslint] ESLint is not a constructorERROR in Error: Child compilation failed:[eslint] ESLint is not a constructor - child-compiler.js:169[saju-frontend-vuejs]/[html-webpack-plugin]/lib/child-compiler.js:169:18 - Compiler.js:551 finalCallback[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:551:5 - Compiler.js:577[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:577:11 - Compiler.js:1196[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:1196:17 - task_queues:95 processTicksAndRejectionsnode:internal/process/task_queues:95:5 - task_queues:64 runNextTicksnode:internal/process/task_queues:64:3 - timers:447 process.processImmediatenode:internal/timers:447:9 1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)webpack compiled with 3 errors
- 미해결지금 당장 데브옵스 AWS
3-3) 대상 그룹 생성 관련 문의
대상 그룹 설정 시 ecs로 배포된 private ip를 직접 입력해야 domain으로 통신이 가능한데 어떤 부분을 놓친건지 모르겠습니다 지도 부탁드립니다
- 미해결지금 당장 데브옵스 AWS
3-6 ecs 클러스터 생성 시
새로워진 클러스터 템플릿으로 만드는 방법을 추가해주시길 부탁드립니다
- 미해결지금 당장 데브옵스 AWS
서비스 생성시 시크릿메니저 접근 오류
안녕하세요!!서비스생성후에 실행이 안되서 문의드립니다.권한 설정은 그림대로 한거같은데 메세지가 요렇게 나옵니다Resourceinitializationerror: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve secret from asm: service call has been retried 5 time(s): failed to fetch secret arn:aws:secretsmanager:ap-northeast-2:508436949792:secret:saju-prod/JWT_SECRET-dvuKfY from secrets manager: RequestCanceled: request context canceled caused by: context deadline exceeded
- 미해결지금 당장 데브옵스 AWS
서버리스 람다
안녕하세요!혹시 서버리스 람다 관련해서도 업데이트 해주실 의향 있으실까요?
- 미해결지금 당장 데브옵스 AWS
가비아 도메인 네임서버
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 가비아 도메인 네임서버에서 AWS 네임서버 주소를 설정하라고 하셨는데, 그럼 가비아에서 도메인을 하나 사야하는 건가요?
- 미해결지금 당장 데브옵스 AWS
part1 RDS 운영 DB 연결 테스트 : 포스트맨에서 에러가 나요.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.$ npm run start> saju-backend-nodejs@1.0.0 start> cross-env NODE_ENV=prod PORT=3000 node server.js3000 번 포트에서 대기중Mysql 연결 성공. 여기까지 따라 왔고포스트맨에서 { "email" : "test@test.com", "password" : "1234", "nickname" : "test", "gender" : "MALE", "birthdayType" : "SOLAR", "birthday" : "19870213", "time" : "0710"} 이렇게 치면 { "statusCode": 400, "message": "잘못된 요청값 입니다.", "error": [ { "msg": "Invalid value", "param": "email", "location": "body" }, { "msg": "Invalid value", "param": "email", "location": "body"이렇게 나옵니다ㅠㅠ 앞 과정에서 포스트맨 http://127.0.0.1:3000/users/signin 할 때는 200뜨면서 로그인 성공을 했는데 이 과정에서는 에러가 나는데 뭐가 문제인지 모르겠어요
- 미해결지금 당장 데브옵스 AWS
VueJS 에서 (7) npm run serve 라고 치면 Error가 떠요
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.터미널창에User@DESKTOP-RE18OV4 MINGW64 ~/Desktop/saju/saju-frontend-vuejs$ npm run serve> saju-frontend-vuejs@0.1.0 serve> vue-cli-service serve INFO Starting development server...98% after emitting CopyPlugin ERROR Failed to compile with 1 error 오전 12:13:47Syntax Error: TypeError: Cannot read properties of undefined (reading 'parseComponent')You may use special comments to disable some warnings.Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore all warnings in a file.계속 이렇게 떠서 그냥 넘어가서 다음 과정인 크롬에 http://localhost:8080/ 을 입력하면 Failed to compile../src/App.vue Module Error (from ./node_modules/vue-loader/lib/index.js): Vue packages version mismatch: - vue@2.7.10 (C:\Users\User\Desktop\saju\saju-frontend-vuejs\node_modules\vue\dist\vue.runtime.common.js) - vue-template-compiler@2.6.11 (C:\Users\User\Desktop\saju\saju-frontend-vuejs\node_modules\vue-template-compiler\package.json) This may cause things to work incorrectly. Make sure to use the same version for both. If you are using vue-loader@>=10.0, simply update vue-template-compiler. If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.이렇게 떠요ㅠㅠ 뭐가 문제인가요??
- 미해결지금 당장 데브옵스 AWS
최신 버전이 설치되어 있는데 workbench폴더만 삭제하고 8.0.2로 다운 받으면 되나요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.workbench만 삭제하고 8.0.2로 다운받으면 될까요? 지금 다른 프로젝트도 진행중이라 삭제하고 다시 깔면 mysql이 오류날까봐 걱정돼요
- 미해결지금 당장 데브옵스 AWS
텍스트 대로 따라하기만 하면 되는건가요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 구매해서 수강하고 있는데 텍스트 대로 따라하기만 하면 실제로 서비스를 운영할 수 있는 정도의 인프라를 구축할 수 있는건가요?그리고 aws클라우드 사용하면 추가적인 요금이 요구되는지 궁금합니다.