Run OpenFaaS on AWS serverless with Fargate.
Easy to get started: A terraform module has been developed
to build out a standard deployment of faas-fargate
on fargate
. See: https://github.com/ewilde/terraform-aws-openfaas-fargate.
This module deploys the whole stack on Fargate including openfaas gateway
, nats
and sets up default security setting
etc...
- Use the published docker image
- Download from the releases tab
All configuration is managed using environment variables
Option | Usage | Default | Required |
---|---|---|---|
subnet_ids |
Comma separated list of subnet ids used to place function | subnets from default vpc | no |
security_group_id |
Id of the security group to assign functions. If using terraform-aws-openfaas-fargate this is the output variable service_security_group |
no | |
cluster_name |
Name of the AWS ECS cluster. | openfaas |
no |
assign_public_ip |
Whether or not to associate a public ip address with your function. | DISABLED |
no |
enable_function_readiness_probe |
Boolean - enable a readiness probe to test functions. | true |
no |
write_timeout |
HTTP timeout for writing a response body from your function (in seconds). | 8 |
no |
read_timeout |
HTTP timeout for reading the payload from the client caller (in seconds). | 8 |
no |
image_pull_policy |
Image pull policy for deployed functions (Always , IfNotPresent , Never ) |
Always |
no |
LOG_LEVEL |
Logging level either: trace, debug, info, warn, error, fatal, panic . |
info |
no |
AWS_DEFAULT_REGION |
AWS region faas-fargate is running in. | us-east-1 |
no |
We welcome contributions! Please refer to our contributing guidelines for further information.
Releases are made using goreleaser and use semver
git tag v0.5.7 -m "feat: Adds verify_ssl support to environment resource"
git push origin v0.5.7
Travis will:
- build the release
- run tests
- push to docker
- create a github release on the releases tab