TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AWS Lambda function URLs: Built-in HTTPS endpoints

277 pointsby vvoyerabout 3 years ago

25 comments

petercooperabout 3 years ago
Very pleased by this addition! :-) Note that it creates special .on.aws URLs so if you want to use your own domain to future proof the endpoint (against linkrot if you ever leave AWS, say) you&#x27;ll want to set up a redirect&#x2F;proxy for yourself (whereas API Gateway does custom domains).<p>Also an interesting note from the docs about how said URL is generated: <i>&quot;Because this process is deterministic, it may be possible for anyone to retrieve your account ID from the &lt;url-id&gt;.&quot;</i> I don&#x27;t know how much of a problem this could be, but it&#x27;s worth being aware of.
评论 #30938099 未加载
评论 #30938151 未加载
评论 #30938972 未加载
laurenceroweabout 3 years ago
It&#x27;s super frustrating that AWS has no equivalent to GCP&#x27;s Cloud Run which offers fast startup, scales to zero but offers the flexibility and simply exposing HTTP to the container it runs.<p>Lambda has scale to zero and fast startup but its custom RPC interface (presumably an outgrowth of its batch processing origins) does not support streaming responses, has awkward response size limits, and prevents multiple requests from being executed concurrently on the same instance (so caches cannot be shared.)<p>Fargate provides the flexibility from simply running an HTTP server inside a container but at the cost of slower startup and no ability to scale to zero.
评论 #30940200 未加载
评论 #30941932 未加载
评论 #30939773 未加载
brentmitchell25about 3 years ago
My previous company had thousands of lambda functions and api gateway integrations and near impossible to do anything with confidence when you starting integrating with all the other cloud offerings. My current environment is similar scale, but all containers it&#x27;s night and day difference when it comes to confidence. We can move 100x faster when you can reproduce environments locally or separate account in seconds or minutes with everything baked in. I don&#x27;t think I could move back, but hey at least this might eliminate a few API Gateway integrations.
评论 #30939154 未加载
rmbyrroabout 3 years ago
Amazing, now I don&#x27;t have to pay API Gateway to do just an HTTP routing.
评论 #30937785 未加载
评论 #30938542 未加载
azthabout 3 years ago
Can anyone using lambda at scale pitch in regarding costs? It seems companies are using it to build pipelines which could be much cheaper by writing full services as opposed to small functions that you pay for per invocation.
评论 #30937957 未加载
评论 #30937826 未加载
评论 #30937952 未加载
评论 #30937624 未加载
评论 #30938925 未加载
评论 #30937690 未加载
评论 #30937716 未加载
评论 #30937738 未加载
评论 #30937943 未加载
评论 #30938913 未加载
评论 #30937949 未加载
评论 #30940238 未加载
评论 #30937693 未加载
评论 #30939549 未加载
epolanskiabout 3 years ago
I&#x27;m confused, the whole news is that you can directly call lambdas without having to go through API gateway, like you do on cloudflare?
评论 #30938600 未加载
评论 #30938502 未加载
tealpodabout 3 years ago
Today we are coincidentally releasing the beta for <a href="https:&#x2F;&#x2F;tinyfunction.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tinyfunction.com&#x2F;</a> TinyFunction is the simplest NodeJS and Python function deployer. All functions are deployed in AWS.
euph0riaabout 3 years ago
Is it possible to front this with your own domain using a CNAME or are the function URLs dynamically genrerated on each commit&#x2F;upload&#x2F;build?
评论 #30937912 未加载
评论 #30938052 未加载
评论 #30939614 未加载
评论 #30938721 未加载
wnevetsabout 3 years ago
finally. Having to setup a gateway is so cumbersome.
评论 #30937746 未加载
pojzonabout 3 years ago
Are those function urls backed by WAF and AWS Shield ?<p>If not -&gt; get prepared for huge bill of ddosed function invocations.<p>I hope we can at least attach something to those urls.
评论 #30938962 未加载
评论 #30939890 未加载
评论 #30941240 未加载
评论 #30940428 未加载
lysecretabout 3 years ago
Really Cool addition. I just moved my lambdas from API Gateway to ALB (because of API G limit to 30s). I also use Serverless framework. It was a day of work, but developing with ALB is a bit more of pain. Maybe this would be better. Are there any timeout or mb constraints on these URLs?
评论 #30941866 未加载
dsanchez97about 3 years ago
If you are using Python and looking for a framework to quickly get your Aws Lambda Functions up and running, try out the framework I am developing. It is still in the early stages, but it has some optimizations that make it simple to do things like use 3rd party packages. If you are interested, a good place to start are the docs on how to connect functions to Api Gateway <a href="https:&#x2F;&#x2F;staging.cdevframework.io&#x2F;docs&#x2F;examples&#x2F;httpendpoints&#x2F;" rel="nofollow">https:&#x2F;&#x2F;staging.cdevframework.io&#x2F;docs&#x2F;examples&#x2F;httpendpoints...</a>.<p>If you want the developer experience of Django with the benefits of Serverless Compute platforms check it out!
AndrewDuckerabout 3 years ago
I wish that Azure Functions had this.<p>I have a function triggered by Cron once a day that goes wrong about once a month. I trigger it again using the debugging tools, but it would be nice if I could just hit a URL to trigger it again.
评论 #30946007 未加载
评论 #30949477 未加载
oneupwallstreetabout 3 years ago
This is fantastic, I&#x27;m making an iOS application that is 100% serverless. Having no servers feels great but managing API Gateway endpoints is annoying. I don&#x27;t know about performance but Google Cloud Functions definitely had an edge there, because I believe they had native function endpoints since launch.<p>I wonder if it&#x27;s worth changing my current API Gateway endpoints to the built in Lambda URL&#x27;s, since I haven&#x27;t launched yet.
miyuruabout 3 years ago
Although it doesn&#x27;t mention in the blog post, the HTTPS endpoints are dual-stacked.<p>Seems like AWS is actually launching new endpoints with IPv6 support by default now.
ep103about 3 years ago
So its a public https endpoint, with no built in throttling? This... doesn&#x27;t seem like a ddos vulnerability to anyone? All it would take is one script kiddie to rack up an unsuspectingly large aws bill, no?
评论 #30941335 未加载
nlabout 3 years ago
How is it that my UX looks completely different to the blog post?<p>I don&#x27;t have advanced settings. Instead I have to go &quot;Configuration-&gt;Function URL&quot; to find this.
notyourdayabout 3 years ago
Where are at least ACL and green header filtering?! This is 2022. If this is not supported at the entry point the product should be sent back to design.
paxysabout 3 years ago
Nice! Of course this has always been possible to do, but removing the API Gateway dependency will make simple use cases a lot simpler.
cobertosabout 3 years ago
Now if only you could add an EIP to a lambda function without a VPC NAT and the $20&#x2F;mo minimum that comes with it.
评论 #30940670 未加载
评论 #30939476 未加载
daenzabout 3 years ago
Very happy to hear it has first-class alias support. Now if only they would allow per-alias environment variables...
anshumankmrabout 3 years ago
For someone who has only worked with Cloud Functions on GCP, can someone explain to me how is this different?
评论 #30941131 未加载
ankit70about 3 years ago
How is it different than cloudflare workers?
评论 #30937933 未加载
supahfly_remixabout 3 years ago
Is this similar to a cgi-bin script?
评论 #30938113 未加载
zozbot234about 3 years ago
AWS Lambda has now gone full PHP. Never go full PHP.
评论 #30938131 未加载
评论 #30938397 未加载
评论 #30941925 未加载