Cloud/AWS

    AWS EC2, Lightsail Linux timezone 변경방법

    Timezone 변경 방법 date 명령어로 현재 시간을 확인할 수 있습니다. $ date 2023. 06. 21. (수) 18:21:38 UTC Timezone을 다음 명령어로 같이 변경할 수 있습니다. 아래의 명령어를 차례대로 입력합니다. $ rm /etc/localtime $ ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime 변경 확인 $ date 2023. 06. 22. (목) 03:23:04 KST 인스턴스 재시작시 이전 설정인 UTC로 롤백되는 경우 아래 명령어를 순서대로 입력합니다. $ sudo rm /etc/localtime $ sudo ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime 다음 /etc/sy..

    AWS CodeDeploy 배포 실패 - 'The deployment failed because no instances were found for your deployment group. Check your deployment group settings to make sure the tags for your Amazon EC2 instances or Auto Scaling groups correctly identify the insta..

    AWS CodeDeploy를 이용하여 EC2에 배포하던중 다음과 같은 오류가 발생하여 다음 방법으로 해결하였습니다. The deployment failed because no instances were found for your deployment group. Check your deployment group settings to make sure the tags for your Amazon EC2 instances or Auto Scaling groups correctly identify the instances you want to deploy to, and then try again. 인스턴스를 태그할 태그 그룹의 키를 Name으로 안하고 다른 key값 으로해서 생긴 문제였습니다. 태그 이름의 매칭..

    AWS CodeDeploy 배포 실패 - Missing credentials

    젠킨스와 Codedeploy를 이용하여 ec2(ubuntu)에 배포하던 중 발생한 오류입니다. The deployment failed because no instances were found for your deployment group. Check your deployment group settings to make sure the tags for your Amazon EC2 instances or Auto Scaling groups correctly identify the instances you want to deploy to, and then try again. 직역하면 배포 그룹에 대한 인스턴스를 찾을 수 없기 때문에 배포가 실패했다고 합니다. EC2 인스턴스 (ubuntu)에는 codedepl..