6 ms·
This is not true. For example: Using this template. https://github.com/awslabs/aws-serverless-express https://github.com/awslabs/aws-serverless-express I’ve
by scarface74 8y ago
This is not true.
For example:
Using this template.
https://github.com/awslabs/aws-serverless-express https://github.com/awslabs/aws-serverless-express
I’ve been able to deploy the same code as a regular Node/Express app and a lambda with no code changes just by changing my CI/CD Pipeline slightly.
You can do the same with any supported language.
With all of the AWS services we depend on, our APIs are the easiest to transition.
And despite the dreams of techies more than likely after awhile, you aren’t going to change your underlying infrastructure.
You are always locked into your infrastructure choices.
- dangerboysteve 8y agoYou could always deploy your own FAAS cluster. https://www.openfaas.com/ https://www.openfaas.com/ https://openwhisk.apache.org/ https://openwhisk.apache.org/ and others.
- scarface74 8y agoAnd then I have something else to support. Kind of the whole point of using AWS not to have to support infrastructure unnecessarily. On top of that. I lose the “easy button” of depending on our AWS business support contract if something gets wonky.
- falcor84 8y agoYou don't necessarily have to host this yourself. With this, there's a relatively straightforward (but obviously not necessarily easy) way for Joe Entrepreneur to set up a hosted service to compete with AWS Lambda, thus helping the community avoid vendor lock-in.
- scarface74 8y agoSo can Joe Entrepreneur also host my databases? my storage? My CDN around the world? My ElasticSearch cluster? My Redis cluster? All of my objects? Can he provide 24 hour support? Can he duplicate my data center for my developers in India so they don’t have lag? What about my identity provider? My Active Directory? Can he do all that across multiple geographically dispersed redundant data centers?
- hopler 8y agoMaybe not, but Sundar Google or Satya Microsoft or Joe Rackspace can make their best offer.
- shittyadmin 8y agoI think you're missing the point - you may need to move to your own infrastructure for security, privacy, regulatory or accountability reasons. You may encounter new needs which AWS may no longer meet, cheap bandwidth for example (AWS bandwidth is both way overpriced and on some rather poor networks). Or Amazon may decide that the price of all their serivces is now going up by a factor of 5 and if you have your attitude, well, you're stuck paying for it. Having relatively easy to spin up alternatives is a great thing. I can run my application entirely on a local kubernetes cluster or one on Amazon, DigitalOcean or Google's cloud services. That sort of flexibility is excellent and has allowed us to scale into situations where we otherwise couldn't have affordably done so (being able to buy some bandwidth from Joe Entrepreneur has it's benefits sometimes).
- scarface74 8y agoYeah I can see explaining to our business customers who grill us about the reliability of our infrastructure that we host our infrastructure on Digital Ocean....
- la6470 8y agoKubernetes is not there answer to everything. What you gain in flexibility you lose in complexity. Too much engineering effort in house. Do you want to sell your wares or spend the resource for K8s engineers?
- scarface74 8y agoI think you're missing the point - you may need to move to your own infrastructure for security, privacy, regulatory or accountability reasons. Which compliance regulation require you not to use a cloud provider? At most they may require you to not share a server with another company - that can be done with a drop down - or the data has to be hosted locally - again that can be done by selecting a region.
- mrmondo 8y agoYou can’t (truly) outsource accountability.
- deleted 8y ago[deleted]
- OnlyRepliesToBS 8y agolol
- dickeytk 8y agoYou're only thinking about the _input_. Technically, yes, I can host an express app on lambda just like I could by other means, but the problem is that it can't really _do_ anything. Unless you're performing a larger job or something you probably need to read/write data from somewhere and connecting to a normal database is too slow for most use-cases. Connecting to AWS managed services (s3, kinesis, dynamodb, sns) don't have this overhead so you can actually perform some task that involves reading/writing data. Lambda is basically just glue code to connect AWS services together. It's not a general purpose platform. Think "IFTTT for AWS"
- scarface74 8y agoThe API I just deployed using this connects to a regular old Aurora MySQL instance using the standard MySQL driver. It’s a standard CRUD REST API used by our website. The only thing slow is infamous cold start time when running within a VPC because it has to create an ENI. AWS pinky promised they were going to fix this soon.
- KorematsuFred 8y agoBut that is the whole point of using cloud services that are tightly integrated with each other. I can not do it as efficiently as Amazon myself can not be called "propriety lock-in".
- chrischen 8y agoSaid efficiencies are not due to Amazon, just that the services are colocated in the same facility. If I put the node service and a database on the same box I'd get the same performance, and actually probably better since Amazon would still have them on separate physical hardware.
- scarface74 8y agoIt’s not about performance, then I have to support all of that infrastructure myself.
- wnevets 8y agoaws lambda is probably has the least vendor lock in than any of their offerings.
- np_tedious 8y agoIf it's triggered by api gateway, then maybe. But with S3 or kinesis or especially dynamo there's a good bit of lock in. What do you consider the lock in when using RDS? S3? EC2?
- scarface74 8y agoIt’s easy enough to separate your event sources from your event destinations. Anything that can trigger lambda can also trigger SNS message that can call an API endpoint. If I did want to move from AWS that’s the first thing I would do. Put an API end point in front of my business logic, change the event from triggering lambda to an SNS message and move my API off of AWS. Then slowly migrate everything else.
- np_tedious 8y agoThat's kind of a lot
- scarface74 8y agoAll infrastructure migrations are “kind of a lot”. People aren’t using the same frameworks and infrastructure they used 10 years ago.
- lstodd 8y ago> And despite the dreams of techies more than likely after awhile, you aren’t going to change your underlying infrastructure. Yeah, nowadays it's done by dissolving the company or being bought out, then shut down. Still, it's the same thing. Use of inadequate infrastructure being, let's say, terminated.
- scarface74 8y agoSeeing that as long as Y combinator has existed, only one company has ever gone public, the rest are still either humming along unprofitably, have been acquired, or gone out of business, the chances of most businesses having to worry about their largest business risk being an over reliance on AWS seems slim.
- kokokokoko 8y agoI think it probably isn't purely the use of lambda/serverless but the creep of other things that make it more difficult to leave. Stuff like cognito or SNS or other services. Once you start using AWS, each individual choice in isolation looks cheaper and easier to just use something AWS provides. Once you start utilizing 7+ different AWS services it becomes very expensive to transition to another platform. Also, this conversation is very different if you are an early stage company racing to market as opposed to an established organization where P&L often takes precedence over R&D.
- scarface74 8y agoYou’d be surprised how much you can get on AWS by getting rid of one or two of your infrastructure folks....
- chomp 8y agoOther way around, you'd be surprised at how much infrastructure you can buy by forgoing AWS's offerings (for large work scales.) For small companies, you may not be able to afford infrastructure people, and moving fast makes way more sense. There's little point in paying for an ops person when you have very little infrastructure. At a certain scale though, AWS stops being cost effective. You begin to have room in your budget for ops people, you get room to afford datacenter costs, and you can start paying for a cloud architect to fill out internal or hybrid cloud offerings using openshift or openstack. It's all about the right tool for the right job.
- scarface74 8y agoNetflix (AWS) and Twitter (GCP) seem to have different opinions. I know for a fact GE is moving a lot of their workload to AWS.
- pathseeker 8y ago>Netflix (AWS) and Twitter (GCP) seem to have different opinions. Yeah, Netflix's opinion is to use Amazon as little as possible. Their critical infrastructure (the CDN) is not anywhere near the slimy grip of AWS.
- cat199 8y ago> And despite the dreams of techies more than likely after awhile, you aren’t going to change your underlying infrastructure. sorry - isn't the _entire context_ of this article (and your response, experience, etc) 'implications of changing an underlying infrastructure' ? yes, this isn't something one does on a whim, but it does happen, as your own post suggests.
- g_delgado14 8y agoDoes this assumption hold for large, production-ready, applications?
- scarface74 8y agoThat is a production ready API. The cool kids don’t do large apps, we do microservices. (Said ironically I’m in my mid 40s - far from a kid.)