openfaas / faasd

A lightweight & portable faas engine
https://store.openfaas.com/l/serverless-for-everyone-else
MIT License
2.93k stars 207 forks source link

Tracking faasd Terraform examples #250

Closed s3lva-kumar closed 1 month ago

s3lva-kumar commented 2 years ago

Due diligence

Streamline the provisioning of faasd on mid-tier cloud providers for better adoptability.

Expected Behaviour

Blow up the ease of which one could provision, install, and configure the infra for faasd to be deployed into.

Current Behaviour

Right now, a terraform plan is in place only for Digitalocean.

Are you a GitHub Sponsor (Yes/No?)

Check at: https://github.com/sponsors/openfaas

List all Possible Solutions

I have already begun drafting a tf plan for Linode, and soon aspire to cover GCP, etc.

alexellis commented 2 years ago

I'm happy to link to community terraform scripts. The DigitalOcean item in this repo just serves as an example, and is one that I use.

@jsiebens has written several of his own providers for instance:

https://github.com/jsiebens/terraform-google-faasd https://github.com/jsiebens/terraform-azurerm-faasd https://github.com/jsiebens/terraform-equinix-faasd https://github.com/jsiebens/terraform-scaleway-faasd

There are also one or two other community variants of this like for openstack.

What I'd like to see is terraform for AWS, the Linode one could be useful as a past homepage sponsor, perhaps we could do a joint blog post together on openfaas.com, if that's of interest to you, when it's ready?

Alex

jsiebens commented 2 years ago

I also had an AWS example available, but apparently it was not made public yet, so here it is:

https://github.com/jsiebens/terraform-aws-faasd

s3lva-kumar commented 2 years ago

Our company itTrident was generous enough to sponsor us funds to procure a bunch of Cloud accounts to aid us in writing and testing terraform modules for faasd.

As previously stated, I'll continue to work on Linode and decided to take on one more. My colleague's too expressed interest in working on a few others as well.

https://github.com/itTrident/terraform-cloudscale-faasd https://github.com/itTrident/terraform-linode-faasd

@jsiebens, we like how your terraform modules are structured, I'm sure you wouldn't mind if we borrowed? 😅

arunodhayamsam commented 2 years ago

Hi! I've taken up Vultr and UpCloud

https://github.com/itTrident/terraform-vultr-faasd https://github.com/itTrident/terraform-upcloud-faasd

r4jeshwar commented 2 years ago

...and I, Exoscale

https://github.com/itTrident/terraform-exoscale-faasd

alexellis commented 2 years ago

@jsiebens please could you send a PR to gather all of these and your many repos in the docs folder somewhere?

alexellis commented 2 years ago

@r4jeshwar there's no code in the repo you linked, is there supposed to be?

r4jeshwar commented 2 years ago

@alexellis the repo is a placeholder, the module is making headway and will be incoming this week.

r4jeshwar commented 2 years ago

@alexellis It's done! Here you go:

terraform-exoscale-faasd

alexellis commented 2 years ago

Thanks for the community content.

If you write a tutorial as a blog post, then we can include it at https://github.com/openfaas/faas/blob/master/community.md

alexellis commented 2 years ago

/set title: Tracking faasd Terraform examples

arunodhayamsam commented 2 years ago

@alexellis I have done faasd on Vultr. Here you go!

terraform-vultr-faasd

s3lva-kumar commented 2 years ago

@alexellis I have done faasd IaC for linode. Here is the link to go: terraform-linode-faasd I have raised PR for faasd IaC linode. Here is that PR https://github.com/openfaas/faasd/pull/270

arunodhayamsam commented 2 years ago

@alexellis I have done faasd IaC for Upcloud. Here you go!

terraform-upcloud-faasd

r4jeshwar commented 1 year ago

@alexellis I have done faasd IaC for Hetzner. Here you go: terraform-hetzner-faasd

nir3shprabu commented 1 year ago

@alexellis I have done faasd IaC for Cloudscale. Here you go: terraform-cloudscale-faasd