본문 바로가기

AWS/※에러※

(4)
Wordpress 설치 에러: front to the wordpress application. this file doesn't do anything, but loads 문제 발생 이유 php 설치가 안됨 해결 방법 1: php 설치 나의 경우에는 인스턴스 생성 시 php가 설치 차제가 안됐다. 이하 EC2 인스턴스 사용자 데이터(user data) 코드 #! /bin/bash yum install -y httpd amazon-linux-extras enable php7.4 yum install -y php php-cli php-pdo php-fpm php-json php-mysqlnd mariadb wget https://ko.wordpress.org/wordpress-5.7.8-ko_KR.tar.gz tar xvfz wordpress-5.7.8-ko_KR.tar.gz cp -a ./wordpress/* /var/www/html/ chown apache.apache /..
eksctl 에러: timed out waiting for at least 3 nodes to join the cluster 해결 문제: 무한 waiting 후 timed out 발생 해결: VPC 구성 확인 yaml 파일의 subnet id를 public subnet id로 잘못넣었음 private subnet id로 바꾸니 해결
AWS ECS 503 Service Temporarily Unavailable 해결 해결 전 상태 1. Target Group 생성 안됨 2. ECS Cluster Pending 이후 Stopped 해결 방법 1. ECS 리포지토리 확인: 이미지 등록이 안돼있었음 2. 이미지 등록 3. 이미지 URI을 복사해서, 기존 Listeners, Target group, ECS Cluster Service 삭제 후 새로 만들기 결과
AWS CloudFront 502, 504 Error 해결 1. Target Groups 확인 ec2 > Target Groups 에서 Health status가 healthy인지 확인. 만약 unhealthy라면 target group에 등록된 패스에 index.html 파일이 없는 경우이니 파일을 추가한다. cp /usr/share/httpd/noindex/index.html /var/www/html/index.html 2. Load Balancers 확인 DNS주소로 접속해도 안되면 로드밸런서 문제이니 확인. 3. CloudFront 확인 CloudFront의 원본 태그에서 프로토콜이 HTTP만 해당인지 확인. CloudFront의 동작 태그에서 뷰어 프로토콜 정책과 캐시 확인. 4. Route 53 확인 CloudFront를 Route 53 레코드에 추가..