AWS (2) 썸네일형 리스트형 [AWS] EC2 아파치 로그를 S3 버킷으로 업로드 후 삭제 , 로그 관리 하는 방법 #!/bin/bash # AWS 자격 증명 설정 export AWS_ACCESS_KEY_ID="xxxxxxxxxxxxxx" export AWS_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" export AWS_DEFAULT_REGION="xxxxxxxxxxx" # 로그 파일 경로 및 S3 경로 설정 LOG_PATH="/var/log/httpd/" S3_BUCKET="버킷명" S3_PREFIX="logs/$(date -d 'yesterday' +'%Y/%m')/" # 어제의 로그 파일을 S3로 이동 aws s3 cp "${LOG_PATH}access_log-$(date -d 'yesterday' +'%Y%m%d')" "s3://${S3_BUC.. aws lambda 윈도우환경에서 배포 패키지 생성하는 방법 https://docs.aws.amazon.com/ko_kr/lambda/latest/dg/with-s3-tutorial.html 자습서: Amazon S3 트리거를 사용하여 썸네일 이미지 생성 - AWS Lambda 자습서: Amazon S3 트리거를 사용하여 썸네일 이미지 생성 이 자습서에서는 Lambda 함수를 생성하고 Amazon Simple Storage Service(Amazon S3)에 대한 트리거를 구성합니다. Amazon S3는 S3 버킷에 업로드된 각 이 docs.aws.amazon.com Amazon S3 트리거를 사용하여 썸네일 이미지 생성을 만드는 중에... 리눅스를 몰라도 AWS 웹 인터페이스를 통해 대부분이 해결 가능했습니다. 하지만 배포 패키지 생성에 막혀서 문제가 발생했습니.. 이전 1 다음