전체 글 140

HTTP 응답코드에 따른 Load balancer 문제 확인 및 해결

Http 응답코드에 대해서는 기존 글로 정리했던 사항이 있다. (https://ls-altr.tistory.com/35) 이는 WEB서버 혹은 WAS 서버 관리시 자주 활용되는 사항인데, Cloud에서는 다른 조치 사항들이 있어 이를 정리하고자 한다. 오류 코드 / 메시지 원인 해결방안 400 Bad request - 클라이언트가 HTTP사양을 충족하지 않는 잘못된 형식의 요청을 전송 - 요청 헤더가 요청 Line당 16K, 단일 헤더당 16K 또는 전체 요청 헤더에서 64K를 초과 - 클라이언트가 전체 요청 본문을 보내기 전에 연결 종료 - request 확인 후 조치 - 헤더 사이즈 확인 - Timeout 확인 401 Unauthorized - 인증되지 않은 사용자를 거부하도록 OnUnauthenti..

IT/Cloud 2023.11.21

SSM 에이전트를 통한 EC2 접속이 안될 경우 대응 방법

SSM 을 통해 EC2를 접속하여 사용하는 경우가 많은데, EC2 자체가 busy 하거나, resource 부족 등으로 SSM agent 를 통한 접속이 실패하는 경우가 있다. 온프레미스 서버라면 직접 서버에 연결해 붙어볼 수 있겠지만, 클라우드 특성상 그런 것은 불가능하다. 이때 활용할 수 있는 것이 Fleet Manager 이다. 접속이 안되는 EC2 를 선택하고, Actions - Monitotring and troubleshoot - EC2 Serial Console(Fleet Manager) 클릭하여 실행하며, 이를 통해 접속이 가능하다. (*사전에 EC2 대시보드 우측에서 EC2 Serial Console 권한을 풀어줘야 함.)

IT/Cloud 2023.05.21

Introduction to Boto Library in Python and How to Use it in AWS Lambda

Introduction to Boto Library in Python and How to Use it in AWS Lambda Boto is a Python library used for interacting with Amazon Web Services (AWS) such as Amazon S3, Amazon EC2, and Amazon DynamoDB. It provides an easy-to-use API to access these services, allowing developers to build applications that use AWS resources. In this article, we will give a brief introduction to the Boto library and ..

IT.en_US/Cloud_etc 2023.04.02