openfaas / faasd

A lightweight & portable faas engine
https://store.openfaas.com/l/serverless-for-everyone-else
Other
2.99k stars 213 forks source link

Deploying with faasd AWS CDK #207

Closed strongishllama closed 4 months ago

strongishllama commented 3 years ago

Hi there!

I've translated the DigitalOcean Terraform deployment into a CDK construct so I cloud play around with it on an AWS EC2 instance.

If you think it would be useful to the community I'd be more than happy to put in a pull request to either add the CDK construct to the docs directory of this project or just link to the NPM package once I've cleaned it up a little.

My initial thought would be the linking the package might be better because I was thinking of adding ECS/Fargate support as well and it might get a bit large to add to the docs directory.

Thanks.

alexellis commented 3 years ago

Hi @strongishllama I'd be interested in seeing a blog post or sample that we can run and try out.

Let me also ping @nathanpeck who wrote some CDK for inlets and ECS Anywhere, he may also have an interest.

Alex

strongishllama commented 3 years ago

@alexellis sounds good. I'll clean it up a bit and send through a link to a sample project.

strongishllama commented 3 years ago

Hey @alexellis,

Here's a link to the demo CDK stack and the NPM package it imports.

If you're looking to try it out your best bet would be to clone the demo stack and follow the deployment steps in the readme.

A couple of things to note, mainly around two assumptions I've made.

Of course, any feedback is very welcome.

I'd also be more than happy to write up a blog post if you'd think it would be helpful. The demo stack was just a lot quicker to throw together and I wanted to make sure I was on the right track before committing too much time.

Cheers, Taliesin

alexellis commented 2 years ago

Thanks for the example. Yes a blog post is always helpful.

We can send you some stickers to say thanks. It'll be a bit like UDP though as I'm not sure if they'll arrive all the way to New Zealand. We can try though.

strongishllama commented 2 years ago

No worries, I'll hopefully start that soon and send you a link to the draft. That would be a very lost UDP packet as I'm in Australia!

alexellis commented 2 years ago

Sure let me know when you have something.

alexellis commented 2 years ago

You can join us on Slack if you like, because there's some development happening on faasd and we could use your help with testing (and contributing if that's of interest)

alexellis commented 2 years ago

/set title: Deploying with faasd AWS CDK

strongishllama commented 2 years ago

Thanks, I'll check it out.