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.

Amazon API Gateway – Build and Run Scalable Application Backends

403 pointsby strzalekalmost 10 years ago

36 comments

foskalmost 10 years ago
This is very interesting, and I am surprised it didn&#x27;t happen a long time ago. The Lambda function integration opens up lots of new ideas when building API backends ready to be consumed by clients apps like, for example, a client-side Javascript application.<p>On the other side it seems like other extra functionality is limited and very AWS-oriented. If you are looking for an open source gateway that can be expanded with extra functionality, and potentially sit on top of the AWS-&gt; Lambda integration, take a look at <a href="https:&#x2F;&#x2F;github.com&#x2F;Mashape&#x2F;kong" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Mashape&#x2F;kong</a> (I am a core maintainer too, so feel free to ask me any question). Kong is accepting plugins from the community (<a href="http:&#x2F;&#x2F;getkong.org&#x2F;plugins" rel="nofollow">http:&#x2F;&#x2F;getkong.org&#x2F;plugins</a>), which can be used to replace or extend functionality beyond any other gateway including AWS Gateway.
评论 #9859741 未加载
评论 #9861729 未加载
评论 #9862016 未加载
评论 #9861401 未加载
andybakalmost 10 years ago
I&#x27;ve not tried very hard but I&#x27;m not sure I get it.<p>I&#x27;ve got an API already running. What does this buy me?<p>Caching? I can see some benefit there it&#x27;s read heavy.<p>Auth and access control? Feels like that&#x27;s part of my app code but maybe there&#x27;s a benefit I&#x27;m missing<p>A lot of the other benefits also feel like it would be hard to cleanly separate them from my app code.<p>What&#x27;s the elevator pitch and who&#x27;s the target market?
评论 #9858948 未加载
评论 #9859046 未加载
评论 #9859065 未加载
评论 #9859574 未加载
评论 #9860554 未加载
评论 #9858964 未加载
评论 #9859721 未加载
jamiesonbeckeralmost 10 years ago
AMAZON DEPRECATES EC2<p>November 3, 2017, SEATTLE<p>At the AWS Re:Invent in Las Vegas today, Amazon Web Services today announced the deprecation of Elastic Compute Cloud as it shifts toward lighter-weight, more horizontally scalable services. Amazon announced that it was giving customers the opportunity to migrate toward what it claims are lower cost &quot;containers&quot; and &quot;Lambda processes&quot;.<p>&quot;We believe that the cloud has shifted and customers are demanding more flexibility,&quot; tweeted Jeff Barr, AWS Spokesperson. &quot;Customers don&#x27;t want to deal with the complexities of security and scaling on-instance environments, and are willing to sacrifice controls and cost management in order to take advantage of the great scale we offer in the largest public cloud.&quot;<p>Barr went on to add that since their acqui-hire of Heroku last year, AWS has decided that the future of the cloud was in Platform as a Service (PaaS) and is now turning its focus to user-centric SSH key and user management services like <a href="https:&#x2F;&#x2F;Userify.com" rel="nofollow">https:&#x2F;&#x2F;Userify.com</a>.<p>Amazon (AMZN) stock was up $0.02 on the latest announcements.
评论 #9859518 未加载
评论 #9859490 未加载
评论 #9859369 未加载
cdnstevealmost 10 years ago
There goes the rest of my workday :D<p>I was looking for something like this. Lambda functions are <i>amazing</i> but restricted because they weren&#x27;t easily consumable externally. This is they key.
评论 #9858985 未加载
评论 #9858972 未加载
vladalmost 10 years ago
I&#x27;m working on ApiEditor.com, here&#x27;s a screenshot:<p><a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;wSEKeVb.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;wSEKeVb.png</a><p>I originally built it for the Swagger Spec 15 months ago, as the first visual Swagger Editor. Let me know if you guys are interested in using something like this.<p>Notice it has the code side-by-side. Also, it scrolls to and highlights the section of the spec you&#x27;re editing. Notice the dropdowns are aware of custom models (e.g. &quot;User&quot;, &quot;Order&quot;) in the documents and suggest them to make it easy to use.
评论 #9860505 未加载
评论 #9861726 未加载
ecopoesisalmost 10 years ago
This looks incredibly slick. Speaking as someone who is implementing all the ceremony (security, logging, etc) around a new API right now I would use this in a heartbeat.<p>Of course, in a couple years, assuming success, the AWS lockin will suck. But given the odds of success I think I&#x27;d take the chance.
评论 #9858738 未加载
评论 #9858905 未加载
评论 #9859664 未加载
评论 #9858991 未加载
peaalmost 10 years ago
This looks really interesting -- I think the abstraction of the server away from a bunch of development cases is gonna happen pretty quickly.<p>We&#x27;re hacking on something really similar to this at <a href="https:&#x2F;&#x2F;stackhut.com" rel="nofollow">https:&#x2F;&#x2F;stackhut.com</a>, where we are building a platform for Microservices which are powered by Docker, can be run wherever through HTTP&#x2F;JsonRPC, and are really simple to build&#x2F;deploy. Think &quot;Microservices as a service&quot;... ;)<p>To give you an example, here is a task which converts PDFs to images: <a href="http:&#x2F;&#x2F;stackhut.com&#x2F;#&#x2F;services&#x2F;pdf-tools" rel="nofollow">http:&#x2F;&#x2F;stackhut.com&#x2F;#&#x2F;services&#x2F;pdf-tools</a>, and here is the code powering it <a href="https:&#x2F;&#x2F;github.com&#x2F;StackHut&#x2F;pdf-tools" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;StackHut&#x2F;pdf-tools</a> which we `stackhut deploy`d.<p>We&#x27;re about to open up the platform and would love to hear what, if you had a magic wand, you&#x27;d wish upon the product.
estefanalmost 10 years ago
Please can people give examples of what they&#x27;re using lambda for. Everything I&#x27;ve seen has been really basic (like image scaling), but most things I think of require a database.
评论 #9860362 未加载
评论 #9860464 未加载
评论 #9860214 未加载
评论 #9860276 未加载
traekalmost 10 years ago
Google has a similar offering for apps running on App Engine, called Cloud Endpoints[1].<p>[1] <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;endpoints&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;endpoints&#x2F;</a>
评论 #9859645 未加载
jstoikoalmost 10 years ago
I am surprised that Amazon did not add support to more API description formats like RAML or apiblueprint. It is such a key feature. If I wanted to use this service in front of existing APIs, even only one API, I would not want to go through the work of having to redefine all my endpoints through a web form!<p>Shameless plug: after working on several API projects, I have been researching ways to not have to &quot;code&quot; over and over again what goes into creating endpoints, it became so repetitive. Lately, I turned to RAML (Yaml for REST) and, with 4 other developers, we created an opensource project called Ramses. It creates a fully functional API from a RAML file. It is a bit opinionated but having to &quot;just&quot; edit a Yaml file when building a new API simplified my life. As a bonus, I also get a documentation and a javascript client generated from the same file.<p>EDIT: forgot the url <a href="https:&#x2F;&#x2F;github.com&#x2F;brandicted&#x2F;ramses" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brandicted&#x2F;ramses</a> and url of a quick start tutorial: <a href="https:&#x2F;&#x2F;realpython.com&#x2F;blog&#x2F;python&#x2F;create-a-rest-api-in-minutes-with-pyramid-and-ramses&#x2F;" rel="nofollow">https:&#x2F;&#x2F;realpython.com&#x2F;blog&#x2F;python&#x2F;create-a-rest-api-in-minu...</a>
评论 #9860477 未加载
评论 #9861911 未加载
tootiealmost 10 years ago
For heavy users of AWS services (not just EC2, but fancy SaaS&#x2F;PaaS stuff) do you ever regret being locked in to a hosting provider? Does it restrict your ability to develop locally? Have you been bitten by problems that you can&#x27;t resolve because you don&#x27;t own the product? Or do you pretty much just love it?
评论 #9860667 未加载
评论 #9860717 未加载
评论 #9860363 未加载
评论 #9860604 未加载
mpdehaan2almost 10 years ago
I get the web UI for understanding it, but this is often not how people want to work...<p>What tools are there to allow me to keep my code&#x2F;API layouts in source control when uploading to this?<p>I&#x27;m sure they exist somewhere, so mostly curious about pointers. (A sample node project using this would probably go a long way)
评论 #9860671 未加载
评论 #9858820 未加载
评论 #9858838 未加载
joeyspnalmost 10 years ago
Seems like a great product to quickly get started with a mBaaS in a powerful cloud like AWS. The concept looks <i>really</i> similar to StrongLoop&#x27;s loopback [0] with a big difference: vendor lock-in. I like the openness that StrongLoop is bringing on this front... IMO the best solution is one that allows you to move your containerised API from cloud to another cloud.<p>That being said, having this as an option in AWS is pretty cool and potentially time-saving. I&#x27;ll probably give it a shot soon.<p>[0] <a href="https:&#x2F;&#x2F;strongloop.com&#x2F;node-js&#x2F;api-platform&#x2F;" rel="nofollow">https:&#x2F;&#x2F;strongloop.com&#x2F;node-js&#x2F;api-platform&#x2F;</a>
评论 #9859751 未加载
brightballalmost 10 years ago
One of the other benefits of using Cloudfront based endpoints is that your app servers behind it can avoid the TCP handshakes that add some latency. Amazon did an interesting presentation at re:Invent on the performance improvement from using Cloudfront ahead of dynamic requests that was eye opening.
acyacyalmost 10 years ago
I wish Lambda would allow listening to a socket [it helps binaries communicate with node]. This would move our team to use this without any further doubt.
评论 #9858865 未加载
评论 #9858788 未加载
jonahxalmost 10 years ago
Would someone knowledgeable mind answering a few questions:<p>1. What are the differences between this + AWS lambda and parse? Is there additional functionality or freedom with this route? Is it cheaper?<p>2. What kind of savings could one expect hosting an API with this vs a heroku standard dyno?
jakozauralmost 10 years ago
Isn&#x27;t it yet another case of AWS doing a cheap replacement of existing company: <a href="https:&#x2F;&#x2F;apigee.com" rel="nofollow">https:&#x2F;&#x2F;apigee.com</a><p>I doen&#x27;t have experience with their product, but on surface they look similar.
评论 #9859310 未加载
评论 #9858942 未加载
clay_to_nalmost 10 years ago
For those interested, the creators of Sails.js (a node-encapsulating framework) have created a sorta similar product called Treeline[1].<p>[1] <a href="https:&#x2F;&#x2F;treeline.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;treeline.io&#x2F;</a>
zenlambdaalmost 10 years ago
I just tried this out with a Lambda function; I was wondering why you can&#x27;t serve HTML with this (Yes, I know this product is aimed at enterprise ReST API stuff... one can try at least).<p>Well, it seems that authentication for the client is mandatory. This makes it unsuitable for rendering markup and serving it directly to clients.<p>Can anyone confirm this can only serve JSON content? I suspect were anonymous requests allowed, I&#x27;d see my markup rendered as a JSON string.
评论 #9861678 未加载
serverholicalmost 10 years ago
How do you develop for these kinds of services? It seems like you&#x27;d need to setup a whole development cluster instead of developing locally.
评论 #9859768 未加载
agentgtalmost 10 years ago
I can&#x27;t help but notice that this looks more like an enterprise integration tool (think mulesoft) than API management (think apogee.. or I think that is what they do).<p>Speaking somewhat from experience (webmethods, caml, spring-integration and various other enterprise integration tools) they always want you to use &quot;their&quot; DSL which is often not even stored on the developers filesystem (ie webmethods... you submit the code to the &quot;broker&quot; or &quot;rules engine&quot; or &quot;router&quot;... lots of words for thing that does the work). Which leads to very awkward development.<p>Consequently I wonder if they will have git integration because writing code even snippets in a web form no matter how nice gets old fast.
评论 #9860528 未加载
dangrossmanalmost 10 years ago
API is an acronym, and the product is called &quot;Amazon API Gateway&quot;. This submission title is bugging me more than it should. Sorry for the meta-comment.<p>Edit: The submission title has been changed since this comment was written.
评论 #9859540 未加载
评论 #9858653 未加载
avilayalmost 10 years ago
I had built a command line tool for a similar purpose to generate REST APIs running on the MEAN stack. It creates &quot;user&quot; and &quot;account&quot; resources by default with user and admin authn&#x2F;authz built in. It then deploys to heroku - creating a mongodb instance and a web dyno. Putting this out here in case anybody finds it useful.<p><a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;avilay&#x2F;api-labs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;avilay&#x2F;api-labs&#x2F;</a>
ramonalmost 10 years ago
<a href="https:&#x2F;&#x2F;console.aws.amazon.com&#x2F;apigateway" rel="nofollow">https:&#x2F;&#x2F;console.aws.amazon.com&#x2F;apigateway</a> up and ok here :), great!
jwattealmost 10 years ago
Service as a Service - we&#x27;ve reached Serviceception!
intrasightalmost 10 years ago
They say &quot;If you already utilize OAuth tokens or any other authorization mechanism, you can easily setup API Gateway not to require signed API calls and simply forward the token headers to your backend for verification.&quot; It would be nice if AWS would stand up an authentication service that could handle oauth. Or do they already have such a thing?
评论 #9861534 未加载
评论 #9861602 未加载
vladalmost 10 years ago
I posted a 10 minute video overview for those who&#x27;d rather listen than read:<p><a href="http:&#x2F;&#x2F;ratemyapp.com&#x2F;video&#x2F;VIqZFaU1PhQ&#x2F;Product-Preview-Amazons-newest-Gateway-drug-API-Gateway" rel="nofollow">http:&#x2F;&#x2F;ratemyapp.com&#x2F;video&#x2F;VIqZFaU1PhQ&#x2F;Product-Preview-Amazo...</a>
adamkittelsonalmost 10 years ago
It&#x27;d be cool if they&#x27;d use this to wrap their own XML-only APIs to provide JSON wrappers.
anoncoderalmost 10 years ago
Do some math. It&#x27;s expensive. 100 r&#x2F;s for one month is about $900. Plus your bandwidth and EC2 charges (unless your using Lambda). For simple Lambda functions, you can get 100 r&#x2F;s on a micro for $9.
dougcorreaalmost 10 years ago
<a href="https:&#x2F;&#x2F;console.aws.amazon.com&#x2F;apigateway" rel="nofollow">https:&#x2F;&#x2F;console.aws.amazon.com&#x2F;apigateway</a> is down for me
评论 #9859409 未加载
kordlessalmost 10 years ago
Given the current market direction with containerization and decentralization, I think using something that is vendor specific is probably a bad idea.
machbioalmost 10 years ago
I was trying this API gateway out, unfortunately there is no way to delete the API created..
kpennellalmost 10 years ago
For someone who doesn&#x27;t understand this that well, is this similar to firebase?
评论 #9860552 未加载
fiatjafalmost 10 years ago
How do you test these things?
culoalmost 10 years ago
Smart move for AWS, but they are not innovating nothing here, just following. Late.<p>Companies like Apigee&#x2F;Mashape&#x2F;3scale&#x2F;Mulesoft have been doing cloud API management in various forms since 2008. Even Microsoft Azure has an API management offering since two years.<p>Nowadays all those API gateway features are commodities and doesn&#x27;t make sense to pay for it anymore. Indeed Open Source projects such as KONG [1] are getting tremendous tractions. Same things happened in search with all cloud solutions and then ElasticSearch came out and was game over.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;mashape&#x2F;kong" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mashape&#x2F;kong</a>
评论 #9859615 未加载
graycatalmost 10 years ago
Okay, at Google I found that IAM abbreviates Amazon&#x27;s <i>Identity and Access Management</i>.<p>So, the OP has an undefined three letter acronym.<p>Suspicions confirmed: The OP is an example of poor technical writing.<p>Why do I care? I could be interested in Amazon Web Services (AWS) for my startup. But so far by a very wide margin what has been the worst problem in my startup? And the candidates are:<p>(1) Getting a clear statement of the business <i>idea</i>.<p>(2) Inventing the crucial, defensible, core technology.<p>(3) Learning the necessary programming languages.<p>(4) Installing software.<p>(5) System backup and restore.<p>(6) Making sense out of documentation about computer software.<p>May I have the envelope please (drum roll)? And the winner is,<p>(6) Making sense out of documentation about computer software.<p>And the judges have decided that uniquely in the history of this competition, this selection deserves the Grand Prize, never before given and to be retired on this first award, for the widest margin of victory ever.<p>No joke, guys: The poorly written documentation, stupid words for really simple ideas, has cost me literally years of my effort. No joke. Years. No exaggeration. Did I mention years?<p>At this point, &quot;I&#x27;m reticent. Yes, I&#x27;m reticent.&quot; Maybe Amazon has the greatest stuff since the discovery and explanation of the 3 degree K background radiation, supersonic flight, atomic power, the microbe theory of disease, electric power, mechanized agriculture, and sex, but if Amazon can&#x27;t do a good job, and now I insist on a very good job, documenting their work, which is to be yet another layer of documentation between me and some microprocessors, then, no, no thanks, no way, not a chance, not even zip, zilch, zero.<p>What might it take me to cut through bad Amazon documentation of AWS, hours, days, weeks, months, years, then from time to time, more hours, days, or weeks, and then as AWS evolves, more such time? What would I need to keep my startup progress on track, 500 hours a day? More? All just to cut through badly written documentation for simple ideas, and worse documentation for complicated ideas?<p>First test: Any cases of undefined terms or acronyms?<p>Result: About three such cases, and out&#x27;a here. Gone. Done. Kaput. I don&#x27;t know what AWS has, but I don&#x27;t need it.<p>Sorry, AWS, to get me and my startup as a user&#x2F;customer, you have to up your game by several notches. The first thing I will look at is the quality of the technical writing in your documentation. And, I have some benchmarks for comparison from J. von Neumann, P. Halmos, I. Herstein, W. Rudin, L. Breiman, J. Neveu, D. Knuth.<p>Amazon, for now, with me, from your example of writing here, you lose. Don&#x27;t want it. Can&#x27;t use it. Not even for free. I&#x27;m not going to invest my time and effort trying to cut through your poor technical writing. And, the next time I look at anything from AWS, the first undefined term and I&#x27;m out&#x27;a here again.<p>Yes, I&#x27;m hyper sensitive about bad technical writing -- couldn&#x27;t be more sensitive if my fingers and arms were burned off. Whenever possible, I will be avoiding any chance of encountering bad technical writing, ever again. Period. Clear enough?<p>More generally, my view is that bad technical writing is the worst bottleneck for progress in computing. Come on, AWS, up your game.<p>I don&#x27;t want to run a server farm and would like you to do that for me, but neither do I want to cut through more bad technical writing -- for that work, my project is already years over budget.
评论 #9860761 未加载
评论 #9860397 未加载
评论 #9862723 未加载
评论 #9886728 未加载
评论 #9862089 未加载