Websocket
-
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-sam-cli 설치하기 on MacOSInfra/AWS 2019. 8. 27. 13:29
https://docs.aws.amazon.com/ko_kr/serverless-application-model/latest/developerguide/serverless-sam-cli-install-mac.html Installing the AWS SAM CLI on macOS - AWS Serverless Application Model Installing the AWS SAM CLI on macOS The following steps help you to install and configure the required prerequisites for using the AWS SAM CLI on your macOS host: Create an AWS account. Configure IAM permis..