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

Additional steps required while deploying FaasKeeper #44

Open
mujtaba1747 opened this issue Mar 20, 2024 · 1 comment
Open

Additional steps required while deploying FaasKeeper #44

mujtaba1747 opened this issue Mar 20, 2024 · 1 comment

Comments

@mujtaba1747
Copy link
Collaborator

These are the commands I ran to deploy FaaSKeeper to AWS:
Note: nvm is node version manager

pip3 install requirements.txt
pip3 install git+https://github.com/spcl/faaskeeper-python
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.bashrc # or whatever is your shell. Eg: zshrc for macOS
nvm install 14.15.0
nvm use 14.15.0
npm install -g serverless
serverless plugin install -n serverless-export-env --config /workspaces/faaskeeper/aws.yml
serverless plugin install -n serverless-python-requirements  --config /workspaces/faaskeeper/aws.yml
serverless plugin install -n serverless-iam-roles-per-function --config /workspaces/faaskeeper/aws.yml
./fk.py deploy service config/user_config_final.json --provider aws --config config/user_config.json

3 Additional commands had to be run, ie the serverless plugin install commands

How to fix this: These commands should be added to the documentation. Because perhaps the latest version of serverless does not come with these plugins installed by default

@EricPyZhou
Copy link

Hello, thanks for creating the issue. From the reference on the serverless doc: https://www.serverless.com/framework/docs-guides-plugins

you can find the plugins installation code in install.py and aws.yml

if specifying '--config' is a new practice, can you provide a reference to a related doc?

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

2 participants