Coder Social home page Coder Social logo

Comments (7)

 avatar commented on June 2, 2024

Current manual deployment:

  1. ZIP the following items
  .ebextensions
  client
  common
  server
  package.json
  1. Upload at https://ap-northeast-1.console.aws.amazon.com/elasticbeanstalk/home?region=ap-northeast-1#/environment/dashboard?applicationName=camera%20trap%20api&environmentId=e-9sm333dgzr

from camera-trap-api.

rwu823 avatar rwu823 commented on June 2, 2024

@trashmai

我實測發現好像不需要 ZIP client

from camera-trap-api.

rwu823 avatar rwu823 commented on June 2, 2024

@cjk-halodule 請確認我 aws 權限是否正確?

我遇到如下錯誤:

ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The security token included in the request is invalid.

from camera-trap-api.

trashmai avatar trashmai commented on June 2, 2024

@trashmai

我實測發現好像不需要 ZIP client

client directory 裡面放有 1. 透過 OrcID 登入 AWS Cognito 的前端靜態範例程式,以及 2. 登入後由前端直接上傳 S3 的範例程式,兩者皆是供測試使用。目前在 https://(api.)camera-trap.tw/explorer/ 底下測試涉及權限檢查的 API 時,會需要用到登入程式取得的 cookie。上傳 S3 的範例程式在前端確認上傳機制跟做法後則不再需要。

from camera-trap-api.

trashmai avatar trashmai commented on June 2, 2024

@cjk-halodule 請確認我 aws 權限是否正確?

我遇到如下錯誤:

ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The security token included in the request is invalid.

@rwu823 請問你是遇到以下狀況嗎?
https://stackoverflow.com/questions/38460457/operation-denied-error-when-deploying-an-elastic-beanstalk-app-using-awsebcli
你的權限目前是全開的狀態,如果是執行 eb cli 的問題,可能要請你設定與檢查一下 aws-access-id 與 aws-secret-key,或是到 AWS 的 IAM 更新一下 security credentials 的內容然後再重新試試看。

from camera-trap-api.

 avatar commented on June 2, 2024

再請 @rwu823 把這個流程 port 到目前的 API 環境喔。

from camera-trap-api.

 avatar commented on June 2, 2024

no longer applicable.

from camera-trap-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.