News for hackers. Stuff that matters.
Re:Amazon API Gateway – Build and Run Scalable Application B... by ecopoesis on Thursday July 09, 2015 @11:47AM (#9858555)
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.

Of course, in a couple years, assuming success, the AWS lockin will suck. But given the odds of success I think I'd take the chance.

Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @12:06PM (#9858738)
You could always use an open source gateway like Tyk (https://tyk.io) or API Umbrella (full disclosure: I run Tyk.io, and this news is... disheartening).
Re:Amazon API Gateway – Build and Run Scalable Application B... by herval on Thursday July 09, 2015 @12:17PM (#9858818)
Think of it as Amazon validating your business! It's yet another selling point (specially for orgs that can't or don't want to use AWS mind-boggling myriad of products).
Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @12:21PM (#9858853)
Hah! Indeed :-)
Re:Amazon API Gateway – Build and Run Scalable Application B... by fit2rule on Thursday July 09, 2015 @12:31PM (#9858927)
Consider this: I actually don't use Amazon because it is mind-boggling. But I'm off to look at Tyk now, just for the fun of it.
Re:Amazon API Gateway – Build and Run Scalable Application B... by DonPellegrino on Thursday July 09, 2015 @07:49PM (#9861481)
Check out Kong, even easier, built on nginx and better docs too: https://github.com/Mashape/kong
Re:Amazon API Gateway – Build and Run Scalable Application B... by alexbecker on Thursday July 09, 2015 @02:15PM (#9859703)
The analytics on Tyk look amazing, definitely a step up from the internal tools I've built.

Is Tyk HIPAA compliant? I'd definitely like to use something like Tyk, but I manage an API that transmits health data, so lots of tools have turned out to be off-limits because of HIPAA issues.

Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @02:26PM (#9859762)
I shouldn't see why not. Tyk has a pretty small footprint and supports SSL end-to-end so transmission of data is safe. It obfuscates API keys so they can't be pulled if you keystore is compromised and all analytics also use the obfuscated keys so that security is ensured in log data.

However, we'd probably need to do an audit. Worth a check though.

Re:Amazon API Gateway – Build and Run Scalable Application B... by harryh on Thursday July 09, 2015 @09:30PM (#9861832)
HIPAA pretty much requires dedicated physical hardware. If my code is running on the same machine as someone else's code then I'm breaking the rules.
Re:Amazon API Gateway – Build and Run Scalable Application B... by IanCal on Friday July 10, 2015 @04:01AM (#9862786)
It appears to be open source and you can download and run it on your own hardware: https://tyk.io/v1.7/download/
Re:Amazon API Gateway – Build and Run Scalable Application B... by tracker1 on Friday July 10, 2015 @05:15AM (#9862973)
Doesn't running in a web browser pretty much mean that?
Re:Amazon API Gateway – Build and Run Scalable Application B... by harryh on Thursday July 09, 2015 @09:29PM (#9861828)
I feel your pain friend. I too work in the health care industry. Can't use almost any of these toys! Wah!
Re:Amazon API Gateway – Build and Run Scalable Application B... by angersock on Thursday July 09, 2015 @12:28PM (#9858898)
Wow, Tyk looks kinda exactly like something we'd use. Thank you so much!
Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @02:29PM (#9859782)
You can always get in touch with me directly on our community site if you have any questions, we're a friendly bunch :-)
Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:14PM (#9859696)
have you tried KONG or API Umbrella?
Re:Amazon API Gateway – Build and Run Scalable Application B... by vidarh on Thursday July 09, 2015 @01:15PM (#9859282)
Consider that AWS has always been incredibly expensive. If you can't compete with AWS on price, then sure, it should be disheartening, but then you should take a long hard look at why.

Otherwise let AWS grow the market, and look for opportunities to serve people who don't want to pay the AWS premium and/or to plug feature holes.

Re:Amazon API Gateway – Build and Run Scalable Application B... by venum2 on Thursday July 09, 2015 @03:25PM (#9860142)
Isn't AWS one of the cheapest? Other than DigitalOcean, what else is cheaper?
Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @03:35PM (#9860196)
Hetzner is amazingly cheap, but nowhere near as big. DO is indeed much cheaper. AWS is cheap, but performance varies too. Also, Azure (?)
Re:Amazon API Gateway – Build and Run Scalable Application B... by tracker1 on Friday July 10, 2015 @05:13AM (#9862969)
Azure has tended to be price comparable to AWS, but does offer some compelling options for storage, that I wish other providers did too.

My biggest complaint about MS/Azure is they can't seem to get single signon/off working right... Login to one account for personal email, another for work email, and another still for my personal Azure account... Sometimes gets stuck in a loop, just doesn't work, whatever... I often keep another browser, that I don't mind wiping all cookies on just to get the damned thing to work. Let alone the other day where my payment didn't go through for some reason, and my azure account was locked, as was my live account, that I had to go through a convoluted recovery process that was different because of 2fa, only then to have my email (application password) revoked... grrr.

Despite account issues, I've really liked actually working with Azure.. though I think their node tooling could use some TLC, and better documentation... wound up writing my own wrapper (azure-storage-simple) to have a cleaner interface... also wrote mssql-ng as a friendly abstraction on top of mssql.

Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:12PM (#9859678)
or you can use open source api gateways, free. like Kong (https://github.com/mashape/kong) or Tyk.
Re:Amazon API Gateway – Build and Run Scalable Application B... by breakingcups on Friday July 10, 2015 @03:00AM (#9862647)
Thanks for posting this, Tyk actually looks great (and easier to understand than Kong or Amazon API Gateway).

We've been considering building something like this ourselves or looking for a good existing solution, but hadn't found anything yet. I'm definitely checking this out.

Re:Amazon API Gateway – Build and Run Scalable Application B... by sinzone on Friday July 10, 2015 @12:58PM (#9865168)
why you think it's easier to understand than kong?
Re:Amazon API Gateway – Build and Run Scalable Application B... by profinger on Thursday July 09, 2015 @12:31PM (#9858930)
HackerNews effect :-( Site is down.
Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @12:35PM (#9858962)
Re:Amazon API Gateway – Build and Run Scalable Application B... by vosper on Thursday July 09, 2015 @12:29PM (#9858905)
Why do you think the lock-in will suck? Lack of flexibility or that you'll eventually want, pricing, or something else?
Re:Amazon API Gateway – Build and Run Scalable Application B... by ecopoesis on Thursday July 09, 2015 @01:23PM (#9859330)
Flexibility mostly. Pricing you can just bake into you're business model.

Flexibility however is always something you run into with platforms. And while this is a bit different then what folks typically think of as a platform (Django, Rails, Play, Spring) it looks like it would suffer the same problems. As soon as you need to do something weird, you're stuck fighting the platform or porting out instead of making your project better. This is why I prefer platforms that are more a collection of libraries with a preferred way of doing then as opposed to rigid box box style things.

Re:Amazon API Gateway – Build and Run Scalable Application B... by fosk on Thursday July 09, 2015 @02:12PM (#9859677)
Flexibility and being able to easily add extra functionality is the underlying philosophy of Kong (https://github.com/Mashape/kong), of which I am one of the core contributors.

We are accepting pull-requests from the community for new Plugins (http://getkong.org/plugins), and I can see Kong running on top of the AWS Gateway -> Lambda integration to provide functionality that is not necessarily bound to the AWS realm.

Re:Amazon API Gateway – Build and Run Scalable Application B... by vosper on Thursday July 09, 2015 @02:10PM (#9859663)
That makes sense. I'm usually a fan of AWS services, but this does look like the kind of thing that could land you in a world of hurt down the line, when there's something you need to do and you just can't without, say, moving completely off the API platform.
Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:11PM (#9859664)
Did you guys tried the open source api gateway KONG? (https://github.com/mashape/kong)
Re:Amazon API Gateway – Build and Run Scalable Application B... by kordless on Thursday July 09, 2015 @12:39PM (#9858991)
Welcome to cognitive dissonance.