inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

문제풀이7 -05 고가용성

미해결

AWS Certified Cloud Practitioner 자격증 준비하기

안녕하세요- 교육도 듣고, 문제풀이를 반복해서 풀고 풀이를 보고 있는데요 문제풀이 7, 문제 5 에서 고가용과 고가용성 아키텍쳐의 의미와 각 솔루션이 고가용 솔루션 여부를 판단하는 기준이 무엇인지 정확히 모르겠습니다. 해당 문제에서 고가용성이 영속성이라고 생각하면 될까요? 저는 데이터 복제, 복제할 수 있는 어플리케이션이라고 풀이를 해서 아마존 EC2 + EBS 통해서 각 가용영역 별로 데이터를 복제하는 솔루션이라고 생각했는데 관점이 다른 것 같아서요. 고가용성이 데이터의 영속성이라는 관점에서보면 Aurora와 DynamoDB가 맞는 것 같은데 고가용성이 영속성이란 의미 일까요? - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.

  • 네트워크
  • aws
아무도_모를_아이디 댓글 1 좋아요 0 조회수 198

배포 실패

해결됨

비전공자도 이해할 수 있는 CI/CD 입문·실전

에러 메시지 The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems. CodeDeploy 공식문서 참조 less /var/log/aws/codedeploy-agent/codedeploy-agent.log / ERROR 에러 메시지 InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Error during perform: Aws::S3::Errors::NoSuchKey - The specified key does not exist. - /opt/codedeploy-agent/vendor/gems/aws-sdk-core-3.121.1/lib/seahorse/client/plugins/raise_response_errors.rb:17:in call 혹시나 하고 CodeDeploy Agent restart 재시작 EC2인스턴스 IAM 재설정 yaml 마지막부분 \ 인식하게 수정 다 안되네요...

  • aws
  • docker
  • ci/cd
  • github-actions
  • aws-code-deploy
  • infrastructure
  • aws-ec2
리치 댓글 1 좋아요 0 조회수 385

SES 메일 발송시 Internal Error가 나서 질문드려요~

해결됨

야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]

강의 7-1 학습중 SES 메일테스트를 하는데,,계속해서 같은 오류가 나와 질문드립니다. | Error: User `arn:aws:sts::211125297751:assumed-role/dev-raymong-lecture-follo-raymonglectureLambdaGETpr-PAGON2lKFjp6/dev-raymong-lecture-follo-raymonglectureLambdaGETp-XRrD36MYFAp0' is not authorized to perform `ses:SendEmail' on resource `arn:aws:ses:ap-northeast-2:211125297751: identity/tesgoogletEmail@gmail.com ' 몇번을 강의처럼 따라해봐도 같은 에러가 나오고있는데 혹시 이류를 알수있을까요?

  • aws
  • 서버리스
  • 생성형ai
  • dreambooth
  • runpod
gogo_ 댓글 1 좋아요 0 조회수 321

elb 별도 보안 그룹을 생성하는 이유

해결됨

비전공자도 이해할 수 있는 AWS 입문/실전

안녕하세요. 강의 잘 듣고 있습니다. 다름 아니라 ELB 파트를 공부 중인데 보안그룹을 새로 생성하는 이유가 궁금합니다. 교재에도 설명이 없는거보니 일반적으로 ec2와 elb 간의 보안그룹을 별도로 생성하는 것 같은데요. elb의 경우 ssh 접속이 필요 없기 때문에 보안 그룹을 생성하는건지, 서버의 성격이 달라지면 보안그룹을 새로 생성하는 건지 궁금합니다. 후자면 rds도 보안그룹을 별도로 생성할 것 같아서요..!

  • aws
  • aws-elb
  • aws-rds
  • ec2
  • s3
kimzooo 댓글 1 좋아요 0 조회수 278

일반 프로젝트에서 많이 쓰는 CI/CD 구축 방법의 스크립트 질문

해결됨

비전공자도 이해할 수 있는 CI/CD 입문·실전

- name: SSH(원격접속)로 EC2에 접속하기 uses: appleboy/ssh-action@v1.0.3 #env: #APPLICATION_PROPERTIES: ${{ secrets.APPLICATION_PROPERTIES }} with: #SSH로 접속할 때 필요한 값들이 있음. IP주소, ubuntu, 키페어 (EC2에 접속하기 위한 과정) host: ${{ secrets.EC2_HOST }} username: ${{ secrets.EC2_USERNAME }} key: ${{ secrets.EC2_PRIVATE_KEY }} #envs: APPLICATION_PROPERTIES #문제가 있으면 스크립트 중단. script_stop: true script: | rm -rf /home/ubuntu/instargram-server/current mkdir /home/ubuntu/instargram-server/current mv /home/ubuntu/instargram-server/tobe/project.jar /home/ubuntu/instargram-server/current/project.jar cd /home/ubuntu/instargram-server/current sudo fuser -k -n tcp 8080 || true nohup java -jar project.jar > ./output.log 2>&1 & rm -rf /home/ubuntu/instargram-server/tobe 스크립트에서 실행 순서에 대한 질문입니다. 기존에 있던 서버는 current 파일의 project.jar 로 실행되고 있었을텐데 current 파일을 먼저 날리고 기존의 서버를 종료시켜 주는 부분이 이해가 되지 않습니다. 아마도 제 생각에는 current 폴더 안의 project.jar로 실행되고 있던 8080포트의 프로세스가 current 폴더를 삭제해주면 에러가 생길 것 같은데 에러가 생기지 않는 이유가 궁금합니다. 프로젝트 종료 -> 프로젝트가 담겨있던 폴더 삭제 -> 새 프로젝트 폴더 생성 순으로 가야 할 것 같은데 기존 프로젝트 폴더 삭제 -> 새 프로젝트 폴더 생성 -> 프로젝트 이동 -> 기존 프로젝트 종료 -> 새 프로젝트 실행 이런 순서로 해도 에러가 안나는 이유가 궁금합니다. 두서없이 써서 죄송합니다 ㅎㅎ;

  • aws
  • docker
  • ci/cd
  • github-actions
  • aws-code-deploy
  • infrastructure
  • aws-ec2
seohyeonjin787 댓글 1 좋아요 2 조회수 314

궁금한게 또 있습니다!!

미해결

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

강의 04:40초 부분인데요 public void saveUser(UserCreateRequest request) { User u = userRepository.save(new User(request.getName(), request.getAge())); throw new IllegalArgumentException(); } 이부분에서 예외를 주고 서버를 띄어서 확인을 했는데 저렇게 "서버 내부 오류입니다" 라고 뜨는 것은 예외를 던져주면 자동으로 저렇게 뜨게 설정되어있는 건가요? 아니면 이렇게 예외를 던지면 ui에서 이렇게 띄어줘 라고 설정을 해주신건가요?

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
김병곤 댓글 1 좋아요 1 조회수 135

ModuleNotFoundError: No module named 'pprint' 에러

해결됨

실무에서 사용하는 클라우드 보안 프로그래밍 (AWS, Python, Terraform)

안녕하세요 파이썬 사용 중 제목과 같은 에러가 발생하는데, 따로 건드린 설정 등은 없습니다. 에러는 pip --version, python -m pip install --upgrade pip 등을 사용할 때 발생하고 일반 파이썬 파일 실행 시엔 발생하지 않습니다. (ppirnt 라이브러리 사용시엔 실행x) 에러가 발생하는 파이썬 디렉터리에 보니 pprint_ 1.py 로 되어 있어 pprint.py 로 변경하니 에러는 해결되었습니다. 혹시 이렇게 파이썬 기본 라이브러리명이 변경되는 경우가 있나요??

  • python
  • aws
  • Terraform
  • devsecops
댓글 1 좋아요 1 조회수 270

영상이 보이지 않습니다.

미해결

비전공자도 이해할 수 있는 AWS 입문/실전

안녕하세요 🙂 유튜브에서 도커 강의를 보다가 강의가 너무 좋아서 인프런으로 넘어온 학생입니다. 다름이 아니라 리전 선택하기 강의에서부터 몇개의 강의들이 영상이 보이지 않고 음성만 나와서 문의드립니다. 감사합니다 :)

  • aws
  • aws-elb
  • aws-rds
  • ec2
  • s3
야호 댓글 1 좋아요 0 조회수 229

D-Day 앱 만들기에서 에러가 나옵니다ㅠㅠ

미해결

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

하나는 "NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null" 이런 에러인거 같은데....대체 어디서 잘못된걸까요. 에러가 여러개 인건가요? FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction > 5 issues were found when checking AAR metadata: * Try: > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:checkDebugAarMetadata'. Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction Caused by: java.lang.RuntimeException: 5 issues were found when checking AAR metadata: 1. Dependency 'androidx.appcompat:appcompat-resources:1.7.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against android-33. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.0 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 34. Note that updating a library or application's compileSdk (which allows newer APIs to be used) can be done separately from updating targetSdk (which opts the app in to new runtime behavior) and minSdk (which determines which devices the app can be installed on). 2. Dependency 'androidx.appcompat:appcompat:1.7.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against android-33. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.0 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 34. Note that updating a library or application's compileSdk (which allows newer APIs to be used) can be done separately from updating targetSdk (which opts the app in to new runtime behavior) and minSdk (which determines which devices the app can be installed on). 3. Dependency 'androidx.core:core-ktx:1.13.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against android-33. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.0 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 34. Note that updating a library or application's compileSdk (which allows newer APIs to be used) can be done separately from updating targetSdk (which opts the app in to new runtime behavior) and minSdk (which determines which devices the app can be installed on). 4. Dependency 'androidx.core:core:1.13.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against android-33. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.0 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 34. Note that updating a library or application's compileSdk (which allows newer APIs to be used) can be done separately from updating targetSdk (which opts the app in to new runtime behavior) and minSdk (which determines which devices the app can be installed on). 5. Dependency 'androidx.annotation:annotation-experimental:1.4.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against android-33. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.0 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 34. Note that updating a library or application's compileSdk (which allows newer APIs to be used) can be done separately from updating targetSdk (which opts the app in to new runtime behavior) and minSdk (which determines which devices the app can be installed on). ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeExtDexDebug'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Failed to transform appcompat-resources-1.7.0.aar (androidx.appcompat:appcompat-resources:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\c494794d48d9429ce3837ff3d9162578\transformed\appcompat-resources-1.7.0-runtime.jar. > Error while dexing. > Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar. > Error while dexing. * Try: > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeExtDexDebug'. Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: [CIRCULAR REFERENCE: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null] Cause 2: org.gradle.api.internal.artifacts.transform.TransformException: Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. Caused by: org.gradle.api.internal.artifacts.transform.TransformException: Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar. Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing. at com.android.builder.dexing.D8DexArchiveBuilder.getExceptionToRethrow(D8DexArchiveBuilder.java:189) Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar:androidx/appcompat/app/ActionBarDrawerToggle$1.class Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Suppressed: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: [CIRCULAR REFERENCE: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null]

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
댓글 1 좋아요 0 조회수 646

질문있습니다!

해결됨

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

10:49초 에 질문이 있습니다. userRepository.findById(request.getId()) 를 하면 왜 optional<User>가 나오는 건지 알수있나요?

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
김병곤 댓글 1 좋아요 0 조회수 153

Id 대신 name을 사용하는 이유

해결됨

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

강의에서 사용자는 Id로 조회하고, 도서는 name으로 조회하는데 별도의 이유가 있을까요? 실제 구현한다면 동일한 도서명이 있을 것 같기도 하고, 일관성을 위해 강의를 참고하며 개인적으로 두가지 다 Id로 조회하도록 구현하고 있었습니다. Dto나 Repository 등에서 타입과 이름만 잘 변경해주면 문제가 없을꺼라고 생각했는데 중간에 제가 잘못 설계한 곳이 있는지 도서 대출시 BookRequestLoan에 값이 계속 안넘어옵니다. 혹시 Id (long 타입)로 조회하면 크게 달라지는 코드가 있거나 주의해야하는 부분이 있는지 여쭤보고 싶어서 문의글 남깁니다.

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
title.jjk 댓글 1 좋아요 0 조회수 148

Spring boot 서버를 ec2에 배포하기

미해결

비전공자도 이해할 수 있는 AWS 입문/실전

안녕하세요 선생님 aws 독학으로 공부 중인데 강의가 매우 큰 도움이 되네요 질문드리기 전에 우선 감사하다는 말씀부터 드립니다. 제 질문은 7-1,7-2 ec2에 배포하기에서 깃허브에서 코드를 clone 시키는 등 CLI 명령어를 사용하여 배포하시던데 os가 리눅스가 아닌 윈도우 사용자는 윈도우 CLI 명령어를 사용해서 배포해야하나요??

  • aws
  • aws-elb
  • aws-rds
  • ec2
  • s3
아아 댓글 1 좋아요 0 조회수 445

44강) grep으로 임시 비밀번호가 안뜨는 경우

미해결

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

sudo cat /var/log/mysqld.log | grep "temporary password” 이걸로 수정해서 진행해보세요! 출처) https://www.fedoralinux.or.kr/forums/topic/21405

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
학습중입니다 댓글 2 좋아요 0 조회수 181

mysql 질문이요!

미해결

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

저는 Developer Default가 없는데 그냥 server only로 해도 상관없을까요?

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
김병곤 댓글 1 좋아요 0 조회수 227

GPG 체크 오류

미해결

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

만약 GPG체크오류가 계속 해서 뜬다면 이것을 시도해보세요 다운로드한 패키지들을 dnf 명령어를 사용하여 설치합니다. 먼저, 패키지들을 다운로드합니다: wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-client-8.0.37-1.el9.x86_64.rpm wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-client-plugins-8.0.37-1.el9.x86_64.rpm wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-common-8.0.37-1.el9.x86_64.rpm wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-icu-data-files-8.0.37-1.el9.x86_64.rpm wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-libs-8.0.37-1.el9.x86_64.rpm wget https://repo.mysql.com/yum/mysql-8.0-community/el/9/x86_64/mysql-community-server-8.0.37-1.el9.x86_64.rpm dnf 명령어를 사용하여 GPG 체크 없이 패키지를 설치합니다: sudo dnf install ./mysql-community-client-8.0.37-1.el9.x86_64.rpm --nogpgcheck sudo dnf install ./mysql-community-client-plugins-8.0.37-1.el9.x86_64.rpm --nogpgcheck sudo dnf install ./mysql-community-common-8.0.37-1.el9.x86_64.rpm --nogpgcheck sudo dnf install ./mysql-community-icu-data-files-8.0.37-1.el9.x86_64.rpm --nogpgcheck sudo dnf install ./mysql-community-libs-8.0.37-1.el9.x86_64.rpm --nogpgcheck sudo dnf install ./mysql-community-server-8.0.37-1.el9.x86_64.rpm --nogpgcheck MySQL 서비스 시작 및 상태 확인 sudo systemctl start mysqld sudo systemctl status mysqld 이렇게 하면 해결 되는것 같아요 저도 엄청 꼬였는데 이 코드면 해결되네요

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
대기업취준생 댓글 4 좋아요 1 조회수 615

실전문제풀이 10 13번문제

미해결

AWS Certified Solutions Architect - Associate 자격증 준비하기

외부서비스는 EC2인스턴스에 대한 연결을 시작할수없고 이문제를 해결하기위한방법을물어봤는데 왜D가정답이죠?? 원인아닌가요D는?

  • 네트워크
  • aws
송나겸 댓글 1 좋아요 0 조회수 159

모듈 vs 리소스

해결됨

실무에서 사용하는 클라우드 보안 프로그래밍 (AWS, Python, Terraform)

안녕하세요 콘솔에서 리소스를 생성하는건 익숙하지만, 테라폼은 이제 막 시작한 경우라면 1, 2번 중 어떤게 더 테라폼 동작 구조를 파악하면서 이해할 수 있는지 궁금합니다. 모듈 사용없이 각각의 리소스.tf 을 생성하고 타 리소스에서 참조가 필요한 항목들만 output으로 출력하여 배포 처음부터 모듈 형태로 작성하여 배포 aws 콘솔로만 주로 작업을 했다보니 리소스들의 옵션은 문서를 보면 어느정도 이해할 수 있는 정도이고, 테라폼 사용 경험은 폴더 분리 없이 한 폴더 내의 resource.tf ( ecs.tf , ecr.tf ) 를 모두 생성하고 배포해본 정도만 있습니다. 모듈은 경험x

  • python
  • aws
  • Terraform
  • devsecops
형빈 댓글 1 좋아요 1 조회수 245

git action run command timeout

해결됨

비전공자도 이해할 수 있는 CI/CD 입문·실전

인스턴스 생성시 전부 프리티어로 생성을 했었는데 git action run command timeout 발생했습니다 혹시나 다른분들도 이런상황이라면 aws ec2 메모리 용량 증설에 대해서 검색해보세요 15분이 기다려도 안되던데 바로 적용이 되네요

  • aws
  • docker
  • ci/cd
  • github-actions
  • aws-code-deploy
  • infrastructure
  • aws-ec2
리치 댓글 1 좋아요 1 조회수 346

Ec2 인스턴스로 요청이 안됩니다.

해결됨

비전공자도 이해할 수 있는 CI/CD 입문·실전

안녕하세요. EC2 인스턴스 및 보안 그룹 설정 후 git clone, Jar 빌드 후 run까지 되는데 외부에서 IP주소:port로 요청을해도 요청이 들어오지 않아 질문드립니다. curl 을 해봐도 커넥션 타임아웃이 발생하는데 따로 확인해야하는 부분이 있을까요? 강의랑 다르게 한것은 AWS 에서 우분투 에서 깃 클론 후 ./gradlew 명령어가 없다고 나와서 따로 wget으로 설치 후 환경변수 설정했습니다. 감사합니다.

  • aws
  • docker
  • ci/cd
  • github-actions
  • aws-code-deploy
  • infrastructure
  • aws-ec2
bha4388 댓글 1 좋아요 0 조회수 252

scp로 EC2에 jar 전송 중 scp timeout로 인한 실패 문제입니다

해결됨

비전공자도 이해할 수 있는 CI/CD 입문·실전

[실습] 일반 프로젝트에서 많이 쓰는 CI/CD 구축 방법 - 에서 발생하는 오류입니다,, ``` - name: SCP로 EC2에 빌드된 파일 전송하기 uses: appleboy/scp-action@v0.1.7 with: host: ${{ secrets.EC2_HOST }} username: ${{ secrets.EC2_USERNAME }} key: ${{ secrets.EC2_PRIVATE_KEY }} source: project.jar target: /home/ubuntu/instagram-server/tobe 해당 yml로 설정 하고서도 반복해서 timeout으로 연결이 실패하네요,, 직접 script로 ec2 내부에서 동작하는 실습까지는 모두 작동했었습니다 따로 에러를 구글링해보았지만 유의미한 해결책이 보이지 않아 올려봅니다

  • aws
  • docker
  • ci/cd
  • github-actions
  • aws-code-deploy
  • infrastructure
  • aws-ec2
yongwoo1 댓글 2 좋아요 0 조회수 496

인기 태그

인프런 TOP Writers

주간 인기글