자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
안녕하세요, 조교님 30강 강의를 들으면서 문제가 발생해 질문을 남기게 되었습니다. 이 전까지는 정상적으로 작동하였는데 "책 등록" 기능이 제대로 동작하지 않습니다. 코드에는 문제가 없어 보이고, 서버는 정상 동작합니다. 책 등록에서 저장 버튼을 누르면 위와 같은 메시지가 뜨는 상황인데, 혹시 해결방법을 아실까요?
안녕하세요~~ AWS Certified Solutions Architect - Associate 직장 업무로 강의를 듣지 못하였습니다.ㅠㅜ 지금은 국내 클라우드 회사를 다니고 있어서, 외국계로 이직할때 다시 들으려고 하는데 좀 장기간으로 연장 가능할까요? 연장 부탁 드립니다 감사합니다.
안녕하세요, 강사님. AWS Certified Solutions Architect - Associate 자격증 준비하기 강의를 수강 중인 직장인입니다. 작년에 해당 강의를 구입하고 공부하면서 자격증 시험을 응시하려고 했으나, 업무가 너무 바빠 강의를 미처 다 듣지 못하고 자격증 시험까지 응시하지 못했습니다. 현재 제 강의 만료 기간이 1/25(토)까지 되어있는 것으로 보이는데, 혹시 연장이 가능할까요? 연장 가능하시다면 연장 부탁드리겠습니다. 알차고 좋은 강의 제공해주셔서 감사합니다. 좋은 하루 되세요.
안녕하세요. 강의 잘 듣고 있습니다. EC2 userdata에 강사님이 제공한 스크립트를 넣고 인스턴스 시작을 하면 스크립트 실행이 되지 않고 있어서 문의 드립니다. EC2 처음 생성시에는 스크립트가 잘 동작하는데 한번 instance stop한 다음에 다시 start 하면 실행이 되지 않습니다. 테스트를 스크립트 내에 echo 등 다양한 방법으로 시도를 해 보았는데 실행이 되지 않고 있습니다. 직접 connect 해서 아래 스크립트 실행하면 잘 됩니다. Security Group 이슈는 아닐 것 같습니다. 혹시 어떤 문제가 있는지 확인 가능할까요? 그리고 첫번째 인스턴스 생성시에 aws-operation-prac 폴더가 ec2-user에 생기는 것이 아니고 "/" 루트에 생성이 됩니다. 아래 userdata 스크립트입니다. 인스턴스를 몇개 만들어서 테스트를 해도 동일한 결과가 나옵니다. 이 이슈로 ALB, Auto scaling 등에서 진행이 되지를 않고 있습니다. #!/bin/bash sudo yum update -y sudo yum install -y git sudo yum install -y java-17-amazon-corretto-devel git clone -b 2_monolithic_cloud https://github.com/burger-2023/aws-operation-prac.git cd aws-operation-prac ./gradlew build sudo java -jar build/libs/aws-msa-monolithic-prac-0.1.jar
도착지 입장에서 생각해보고 있습니다. 도착지인 61.123.44.1서버에 톰캣이 8080포트를 서비스하고 있는 상황을 가정해봅니다. 톰캣으로 요청을 하기 위해서는 위 표에서 SRC port가 8080를 갖어야 하지 않을까 생각듭니다. 표가 어떻게 채워져야할지 감이 오지 않습니다.
안녕하세요 강사님 [(실습)ELB + ASG 실습 - 2] 강의에서 상태확인에서 "ELB 상태 확인 켜기"로 업데이트 특정 인스턴스 한 개 service httpd stop 명령어로 중지 PublicIPs URL 로 접근해서 서버 닫힌거 확인 후 어플리케이션 로드 밸런서 도메인으로 접근했을 때 3개 중에 정상적인 두 개만 호출 되는 것이 아닌, 정상 2개 인스턴스 호출 되고 닫은 서버는 502 Bad Gateway 로 서버가 열리는데 뭐가 문제일 수 있을까요? 그 이후 과정인 대상 그룹에 생성된 데이터 보면 강사님 처럼 정상 2 / 비정상 1 이아닌 비정상 3으로만 뜹니다. [인스턴스] [특정 인스턴스 서버 종료] [ASG 상태확인 업데이트] [대상 그룹 세부정보]
안녕하세요. 좋은 강의덕분에 많은 도움을 받고 있습니다. EC2 접속 방법(SSM Session Manager)에서 발생한 CloudWatch 로깅(15:46~) 이슈와 관련하여 IAM 권한 설정을 통해 해결한 방법을 공유드립니다. 혹시 내용 중 틀리거나 보완이 필요한 부분이 있다면 말씀해 주시면 감사하겠습니다. 이슈 세션 기록에 연결된 CloudWatch 로그 그룹을 확인하는 과정에서 다음과 같은 에러가 발생했습니다. The specified log stream does not exist. 해소 방안 인스턴스에 연결된 IAM 역할에 CloudWatchAgentServerPolicy 권한을 추가했습니다. 관련 AWS 링크
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
안녕하세요 맥북을 사용 중이고 homebrew 로 mysql을 설치했습니다 mysql 을 인텔리제이에 연결하려하면 DBMS: MySQL (no ver.) Case sensitivity: plain=mixed, delimited=exact Connection refused. 이러한 오류가 뜹니다. 어떤 것이 문제일까요? 초기화하고 다시 sudo brew services start mysql 해도 똑같은 오류가 뜹니다.
지금 아무리해도 이제 더이상 하기가 힘듧니다. AWS가 처음이다 보니 EC2 만드는데 너무 많은 시간을 쏟고 있습니다. 저는 github action 을 배우고 싶은 것이지 aws를 배울려고 하는게 아닙니다. 강의를 수정해주시던가, 아니면 어떻게 하면 될 것인지 명확한 절차를 알려주세요.
https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.7/docs/install/iam_policy.json 에서 "elasticloadbalancing:DescribeListenerCertificates", 윗줄에 "elasticloadbalancing:DescribeLoadBalancerAttributes" 그러지 않으면 targetgroupbinding 이 만들어지지 않는것 같습니다. 분명 대상 그룹도 만들어졌는데 kubernetes resource 로 만들어져있지 않아서 중간에 오류가 생겼거니 했습니다. kubectl describe svc svc-nlb-ip-type 로 오류 디버깅시 elasticloadbalancing:DescribeLoadBalancerAttributes 가 포함되지 않아 403 에러가 났다고 합니다. 처음 가이드에서는 모두 정상동작했을텐데, 이것이 시간이 지나 AWS 가 버전이 업데이트되며 생긴 변화인것일까요? 혹은 제 환경만 이상한 것일까요?ㅎㅎ; 혹은 추가 가이드가 있는데 제가 놓친것일까요?ㅎㅎ;
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
1..2일차 영상 보면서... 환경을 만드는데.... 서버 구동이 안됩니다. 초초초보입니다....... A problem occurred configuring root project 'library-app'. > Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.1. Required by: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.1 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.1 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5' but: - Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'javadocElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a runtime of a component, and its dependencies declared externally: - Incompatible because this component declares documentation and the consumer needed a library - Other compatible attributes: - Doesn't say anything about its target Java version (required compatibility with Java 8) - Doesn't say anything about its elements (required them packaged as a jar) - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'mavenOptionalApiElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.0.1 declares a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'mavenOptionalRuntimeElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.0.1 declares a runtime of a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'runtimeElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a runtime of a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'sourcesElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a runtime of a component, and its dependencies declared externally: - Incompatible because this component declares documentation and the consumer needed a library - Other compatible attributes: - Doesn't say anything about its target Java version (required compatibility with Java 8) - Doesn't say anything about its elements (required them packaged as a jar) - Doesn't say anything about org.gradle.plugin.api-version (required '7.5')
시나리오 2를 실습해 개발 & 운영 환경 배포를 모두 완료했고 ELB(로드 벨런서)가 2개 생성된걸 확인했는데 ec2가 2개 뿐이라 살펴보니 두 ELB가 이 2개의 ec2를 둘 다 바라보고 있어 살짝 혼란이 왔습니다! (개발 & 운영 각각 2개씩 총 4개의 ec2가 생성됨을 예상했습니다!) 이건 강사님이 실습 비용 절약을 위해 쿠버네티스와 helm 설정에 개발 & 운영환경이 같은 ec2 2개를 같이 사용하도록 설정하셔서 그런걸까요? (쿠버네티스를 이번 강의에서 처음 다뤄서 설정 내용 해석이 잘 안되네요..)