AWS(151)
-
bastion host를 이용한 SSH tunneling
- 개요 bastion host를 이용한 SSH tunneling 을 통해 RDS나 private subnet에 위치한 AWS resource 접속 방법 - 터널링 방법 ## ssh -i -f -N -L :: @ ## ssh -i ~/.ssh/pem.pem -N -L 3306:rds.amazonaws.com:3306 -L 27017:docdb.amazonaws.com:27017 @ -v - 접속 방법 mysql -h 127.0.0.1 -P -u -p - 참고 https://aws.amazon.com/premiumsupport/knowledge-center/rds-connect-using-bastion-host-linux/
2022.09.21 -
AWS console Sign In default region 설정 하는 법
- 개요 AWS console Sign In default region 설정 하는 법 - 방법 오른쪽 상단 account 메뉴 >> Settings >> Localization and default Region >> Default Region >> ap-northeast-2 - 비고 그러나 잘 안되는 경우도 있다.
2022.09.16 -
RDS Snapshot을 통해 restore를 할 경우 multi-az 변경 불가
- 개요 snapshot을 통해 restore 할 경우 multi-az deployment type을 multi >> single은 가능 하지만 single >> multi는 불가능하다
2022.09.06 -
ECR Docker hub official image
- 개요 Docker Hub의 rate limiting 이슈로 ECR Public을 사용하는 경우 Official Image의 부재 - ECR에서 Official Image 제공 https://gallery.ecr.aws/docker?page=1 https://aws.amazon.com/blogs/containers/docker-official-images-now-available-on-amazon-elastic-container-registry-public/
2022.08.24 -
Athena - No output location provided. An output location is required either through the Workgroup result configuration setting or as an API input.
- 개요 Athena를 처음 사용할 때 아래와 같은 에러가 발생하는 경우가 있다. - 에러 메세지 No output location provided. An output location is required either through the Workgroup result configuration setting or as an API input. - 해결 방법 Amazon Athena -> Settings -> Query result location -> S3 추가
2022.08.24 -
특정 리전에 특정 인스턴스 가용한 영역 확인
- 개요 EC2 인스턴스가 특정 가용 영역에서 사용이 불가능하거나 여유가 없는 경우가 있다. 아래는 특정 인스턴스가 특정 리전의 특정 가용역에서 사용가능한지 확인해주는 스크립트이다. - 예제 region : ap-northeast-2 instance type : c5-large - 스크립트 aws ec2 describe-instance-type-offerings --location-type availability-zone --filters Name=instance-type,Values=c5.xlarge --region ap-northeast-2 --output table - 결과 $ aws ec2 describe-instance-type-offerings --location-type availabilit..
2022.08.22 -
AWS Study & Best Practice
- 개요 AWS 공부 및 Best Practice 확인할 수 있는 정말 유용한 사이트 - 참고 https://www.trendmicro.com/cloudoneconformity/knowledge-base/aws/
2022.08.22 -
Cloudfront supports HTTP/3
- 개요 cloudfront가 HTTP/3을 지원하기 시작 - 방법 General >> Settings >> Edit >> Supported HTTP versions HTTP/3 check - 서비스 영향도 없음. 무조건 enable을 추천. - 참고 https://aws.amazon.com/ko/about-aws/whats-new/2022/08/amazon-cloudfront-supports-http-3-quic/
2022.08.16 -
Delete Cognito Fedrated Identity pool
- 개요 AWS Cognito Web Console은 UI가 많이 변하면서 Fedrated Identity pool 삭제하는 방법에 대하 정리 했다. - 삭제 방법 Federated Identities 선택 >> 우측 상단 Edit idenditiy pool >> 하단 Delete identity pool - 비고 Cognito Identities pool은 User pool 로 변경되었다. 확인은 Old Console 이나 Federated Identies 에서 가능 하다.
2022.08.09 -
Codepipeline IAM Managed Policy
- 개요 Codepipeline을 생성한 경험이 있다면 다들 IAM policy 구성에 큰 어려움을 느꼈을 거라고 생각한다. 나 또한 그랬는데, 이번에 Managed Policy로 출시하면서 상당히 수월해졌다. 또한 Policy 갯수 제한으로 관리가 필요했던 부분까지 해소가 되었다. - 참고 https://docs.aws.amazon.com/codepipeline/latest/userguide/managed-policies.html
2022.08.09