Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgee0/openfaas-aws
OpenFaaS deployed onto AWS with Ansible
https://github.com/rgee0/openfaas-aws
ansible-playbook aws-ec2 openfaas serverless
Last synced: about 2 months ago
JSON representation
OpenFaaS deployed onto AWS with Ansible
- Host: GitHub
- URL: https://github.com/rgee0/openfaas-aws
- Owner: rgee0
- Created: 2017-10-29T20:42:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-29T21:21:05.000Z (over 7 years ago)
- Last Synced: 2024-10-24T07:41:54.238Z (3 months ago)
- Topics: ansible-playbook, aws-ec2, openfaas, serverless
- Size: 2.93 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenFaaS-AWS
Functioning but Work-in-Progress Ansible Playbook to instantiate a single VM in AWS and deploy OpenFaaS to it. Currently it does require some configuration via the AWS portal to set up security group (SG) rules, obtain your keypair, etc. These are typically one time configurations, so once configured the playbook can perform repeat runs without any changes.
Requires Ansible and Boto to be available. Once available let boto know your account details:
```sh
$ touch ~/.boto
```Add your credentials to `~/.boto`:
```ini
[Credentials]
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=```
Pick a machine size & region, and obtain your SG / subnet / keypair details from the AWS portal and complete `ec2_vars/OpenFaaS.yml` accordingly.
Run the playbook:
```
ansible-playbook -i localhost, -e "type=OpenFaaS" provision-OpenFaaS-ec2.yml
```