API Gateway
-
[번역] AWS SAM Template ConceptsInfra/AWS 2019. 8. 30. 13:14
원문 AWS SAM을 사용하여 Serverless 어플리케이션을 만들때, 주 목표는 Serverless 어플리케이션의 구조를 표현하는 AWS SAM 파일을 작성하는 것이다. AWS SAM 템플릿 파일은 YAML과 JSON으로 구성되어지며 AWS Serverless Model Specification 에서 확인 할 수 있다. Serverless 어플리케이션을 이루는 모든 AWS 리소스들의 선언을 위한 템플릿으로 사용한다. AWS SAM 템플릿은 AWS CloudFormation 템플릿의 확장이다. 그 말은, AWS CloudFormation 템플릿에서 선언할 수 있는 어떤 리소스들도 AWS SAM 템플릿에서 또한 선언 할 수 있다. 추가적으로, AWS SAM으로부터 제공되는 추가적인 리소스 타입들도 Ser..
-
React chat app with serverless websocket (미완)Infra/AWS 2019. 8. 28. 16:55
React 채팅 앱 & serverless websocket 예제사이트 serverless websocket 이해를 위해 websocket을 사용한 React 채팅 앱 예제를 따라해본다. 기본적으로 serverless websocket와 cognito 개념이 필요하다. 먼저 git에서 예제소스를 clone 한다. 구조는 크게 ./backend 와 ./frontend로 나뉘어져 있다. cognito User pool을 하나 만들어준다. ( 만드는 방법은 구글링) Pool id를 확인 할 수 있다. App clients 카테고리에 들어가면 App Client id를 확인 할 수 있다. 만약 없을 경우 새로운 App client를 생성하면 된다. backend us-east-1에서 테스트를 할 것이기때문에 r..
-
Announcing WebSocket APIs in Amazon API GatewayInfra/AWS 2019. 8. 27. 16:41
아래의 serverless websocket 튜토리얼을 진행하는데 https://codeburst.io/how-to-build-a-react-chat-app-with-aws-api-gateway-websockets-and-cognito-custom-authorizer-6f84f2da47ec How to build a React chat app with AWS API Gateway WebSockets, Custom Lambda Authorizer AWS announced the launch of a widely-requested feature: WebSockets for Amazon API Gateway few days ago… codeburst.io aws에서 제공하는 기본 예제를 선행학습으로 해야해서 ..
-
[aws] CodeStar를 활용한 자동화 배포 환경 만들기.Infra/AWS 2019. 7. 31. 16:49
19.07.11 참고: http://labs.brandi.co.kr/2019/04/08/yangjh.html#ju22 AWS CodeCommit. 배포 자동화 환경 만들기(브랜치별 Pipeline 구성) 편집자 주: 함께 보면 좋아요!애플리케이션 개발부터 배포까지, AWS CodeStarCodeStar + Lambda + SAM으로 테스트 환경 구축하기AWS Lambda + API Gateway로 API 만들어보자 labs.brandi.co.kr AWS CodeStar(https://docs.aws.amazon.com/ko_kr/codestar/latest/userguide/welcome.html) AWS CodeStar란 무엇입니까? - AWS CodeStar AWS CodeStar란 무엇입니까? AW..
-
[aws] API Gateway Lambda 권한 부여자 사용Infra/AWS 2019. 7. 31. 16:28
https://docs.aws.amazon.com/ko_kr/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html API Gateway Lambda 권한 부여자 사용 - Amazon API Gateway API Gateway Lambda 권한 부여자 사용 Lambda 권한 부여자(이전 사용자 지정 권한 부여자)는 Lambda 함수를 사용하여 API 메서드에 대한 액세스를 제어하는 API Gateway 기능입니다. Lambda 권한 부여자는 OAuth 또는 SAML과 같은 보유자 토큰 인증 전략을 사용하거나 요청 파라미터를 사용하여 호출자의 자격 증명을 확인하는 사용자 지정 인증 체계를 구현하려는 경우에 유용합니다. 클라이언트가 AP..