Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```