분류 전체보기 썸네일형 리스트형 CloudFormation을 통한 개발서버 On/Off 스케줄링 (실패) # CloudFormation 생성 # 템플릿 추가 후 실행 - https://s3.amazonaws.com/solutions-reference/aws-instance-scheduler/latest/instance-scheduler.template # Service(s) to schedule -> BOTH # Default time zone -> Asia/Seoul # Enable CloudWatch Metrics -> Yes # Started tags -> state=started # Stopped tags -> state=stopped # 다음 - 다음 # AWS CloudFormation에서 사용자 정의 이름으로 IAM 리소스를 생성할 수 있음을 승인합니다. 체크 후 생성 # https://docs.. 더보기 EC2 - Ubuntu에서 composer install / update 시 메모리 부족현상 # 서버 메모리를 증가한다 : EC2 스케일링 Up => 이게 제일 확실한 방법임 # 메모리를 제한한다. sudo php -dmemory_limit=750M /usr/bin/composer install # 이 방법으론 안되었음 # 스왑 추가 (1G) - 경험상 사용시 2G 가량을 사용하는데 모자란다고 생각되거나 실제 메모리가 1G인 경우 sudo swapon --show (스왑 메모리 확인) free -h (메모리 확인) df -h (디스크 용량 확인) sudo fallocate -l 1G /swapfile (스왑파일 생성) ls -lh /swapfile (스왑파일 확인) sudo chmod 600 /swapfile (스왑파일 권한 수정) ls -lh /swapfile (스왑파일 확인) sudo mks.. 더보기 이전 1 ··· 4 5 6 7 다음