faasd icon indicating copy to clipboard operation
faasd copied to clipboard

Tracking faasd Terraform examples

Open s3lva-kumar opened this issue 3 years ago • 16 comments

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

  • [ ] Yes
  • [x] No

List all Possible Solutions

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

s3lva-kumar avatar Mar 24 '22 08:03 s3lva-kumar

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

alexellis avatar Mar 24 '22 09:03 alexellis

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

jsiebens avatar Mar 24 '22 20:03 jsiebens

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? 😅

s3lva-kumar avatar Apr 08 '22 08:04 s3lva-kumar

Hi! I've taken up Vultr and UpCloud

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

arunodhayamsam avatar Apr 08 '22 09:04 arunodhayamsam

...and I, Exoscale

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

r4jeshwar avatar Apr 08 '22 09:04 r4jeshwar

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

alexellis avatar Apr 10 '22 17:04 alexellis

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

alexellis avatar Apr 10 '22 17:04 alexellis

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

r4jeshwar avatar Apr 11 '22 07:04 r4jeshwar

@alexellis It's done! Here you go:

terraform-exoscale-faasd

r4jeshwar avatar Apr 25 '22 11:04 r4jeshwar

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 avatar May 03 '22 15:05 alexellis

/set title: Tracking faasd Terraform examples

alexellis avatar May 03 '22 15:05 alexellis

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

terraform-vultr-faasd

arunodhayamsam avatar May 04 '22 10:05 arunodhayamsam

@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

s3lva-kumar avatar May 09 '22 12:05 s3lva-kumar

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

terraform-upcloud-faasd

arunodhayamsam avatar Jun 01 '22 06:06 arunodhayamsam

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

r4jeshwar avatar Aug 04 '22 05:08 r4jeshwar

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

nir3shprabu avatar Jan 12 '23 14:01 nir3shprabu