ec2에서 인스턴스 연결이 자꾸 실패하던 문제
https://stackoverflow.com/questions/66884055/elastic-beanstalk-ec2-instance-connect-cant-connect
Elastic Beanstalk & EC2 Instance Connect: Can't connect
I created an Elastic Beanstalk environment from Visual Studio and need to login to service the underlying ec2 vm. I don't have an credentials for the server, so I wanted to use EC2 Instance Connect...
stackoverflow.com
위 방법을 보고 한국 region 13.209.1.56/29를 인바운드 규칙에 추가해줬더니 연결에 성공했다.
추가)
여전히 안되서
https://velog.io/@fo_rdang/ec2-%EB%B0%B0%ED%8F%AC-Failed-to-connect-to-your-instance
[ec2 배포] Failed to connect to your instance
Ensure your instance network settings are configured correctly for EC2 Instance Connect.
velog.io
여기서 마지막 8번을 보고서 추가해줬다.
터미널에서 ssh로 ec2 인스턴스 연결하는 명령어
ssh -i my-key.pem ubuntu@ec2-54-180-52-88.ap-northeast-2.compute.amazonaws.com
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
작성예정..
'배포' 카테고리의 다른 글
AWS 프리티어 기간 중 과금될 때 (0) | 2024.06.26 |
---|---|
EC2에서 ssh git clone에서 오류 생길 때 (0) | 2024.05.16 |
EC2 CodeDeploy Agent 설치 Ruby version 2.x needs to be installed. 에러 (0) | 2024.04.24 |