Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastAPI + 코드리스 #1

Open
KarmaPol opened this issue Jun 20, 2024 · 1 comment
Open

FastAPI + 코드리스 #1

KarmaPol opened this issue Jun 20, 2024 · 1 comment

Comments

@KarmaPol
Copy link
Owner

FastAPI + Mangum + SAM

https://velog.io/@insutance/simple-deploy-with-fastapi-mangum-lambda-sam

AWS SAM

sam build

sam deploy --guided // 초기 배포

sam sync --stack-name sam-app // 업데이트
@KarmaPol
Copy link
Owner Author

AWS SAM lambda time out 설정

Resources:
  Function: # SAM Local에서 호출하는 함수
    Type: AWS::Serverless::Function
    Properties:
      FunctionName: "OmeRestaurantLambda"  # Lambda Function Name
      CodeUri: .  # Lambda Function이 담겨 있는 위치
      Handler: src.main.handler # Lambda Handler 함수의 위치
      Runtime: python3.9
      Timeout: 15 // 기본값 3초

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant