There was a preso on Lucuee 6, that included serve...
# lucee
j
There was a preso on Lucuee 6, that included serverless functions. How long till we can start testing that since it is back in dev?
šŸ˜Ž 1
f
you can do this now in Lucee 5 or 6 with fuseless.org - I haven’t seen anything recently from Lucee about serverless are you talking about a preso from a few years ago?
b
@johnfarrar The preso you're talking about referencing fuseless
At least, I'm fairly sure it was
Do you have a link to it?
I've only seen two Lucee presos that talked about servless, and they were • CFCamp several years ago • Gert Franz on the Teratech podcast And I'm pretty sure both of those were just talking about fuseless
j
I do not have a link to it. It was pre-covid.
Kudos, checking it out.
I am curious if we can set up an API with serverless CFML. šŸ™‚
f
yep certainly
I am doing that with Fixinator, it runs on AWS Lambda with Fuseless, and is connected to AWS API Gateway
āœ… 2
But now there are other easier ways to connect a lambda to a HTTP api
back then you had to use API Gateway
now you can use ALB, or their new Lambda Function URLs (this is new a few weeks ago)
j
@foundeo, easier sounds cool. Any tips or links?
f
I did a preso at Into the Box on Fuseless a few years ago, I think it is on cfcasts - that would be a good starting point
I haven’t played with Function URLs yet, but I assume that would be the easiest way to start playing
ultimately you just need to generate a zip file and upload it to lambda on AWS console — I assume it is just a click of a button to give it a url with the new feature
there are tons of ways you can setup CI/CD to deploy from your git repo automatically as well
j
Cool, will dive in and start my journey to serverless API with CFML.
Sounds like a great topic for ITB this year.
f
yeah - honestly there hasn’t been tons of interest in serverless from the CFML community
I have a lot of ideas on improving the workflow of fuseless
j
I like that. Coding an ant colony, or a bee hive.
Loosely coupled 2.0
d
@foundeo a live stream on how you do Devops for fixinator would be amazing, plus showing us how you go about updating the workflow and switching to Function URLs. Invite everyone and chat will be popping. I'm sure some of us can even help you along the way.
šŸ‘ 1
d
How are the coldstarts? If I remember correctly they were fairly bad with bring your own environment lambas.
f
Currently seeing about 1.4 second cold start times on average with 2400mb of memory allocated. Allocating more memory can usually make it go down further (costs go up too). Also decreasing the size of your package helps too
e
I'm always amused that someone thinks renting someone elses infrastructure as a service is both safe, secure, and a great way long term to run a business.
d
the cloud - its just someone else's computer. One of my favorite shirts.
šŸ‘ 1
e
Would you trust your deepest darkest company secrets and details to some strangers as their company logo has been around 30 years? Millions do, yet they have no clue how wreckless and immortal the admins are that keep their IAAS running.
j
@Evil Ware, the same discussion applies to trusting banks and credit card companies. šŸ™‚
d
While I don't think I would call it ā€œtrustingā€ them, I do trust that they have hired many more people who are better and smarter at their job of securing and making redundantly available computing than I can on my own or could afford to hire.
j
Agree, it is a tradeoff discussion. Truths also co-exist. Different situations mean the facts have different impacts.
e
The difference is your money is federally insured to a certain point and there are all kinds of laws and regulations, whereas a IaaS company, not so much..
j
Federally insured means taxpayer beats the guarantee.
Bears