News for hackers. Stuff that matters.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by Jnr on Tuesday February 25, 2020 @04:32AM (#22411900)
Why are people so obsessed by AWS? It is one of the most expensive hosting solutions that tries hard to lock you into their ecosystem.

I somewhat understand why enterprises want to use it, but why are small startups using it so much and then complaining about the cost?

Nowadays when we have high speed internet, and a lot of things are containerized, it is so simple to change hosting partners. Just pick one that doesn't cost an arm and a leg and move to a different one if it didn't fit very well.

I have used linux containers for 10 years now and changed hosting a few times, each time reducing costs even more. Yes, it is a bit of manual labour, but if you have someone with sysadmin/devops skills, it is easily doable.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @05:06AM (#22412049)
> Why are people so obsessed by AWS? It is one of the most expensive hosting solutions that tries hard to lock you into their ecosystem.

I agree with you, and that's why I try to get the point of view of those who actually decide to adopt AWS. They aren't crazy or stupid, and as AWS is the world's leading cloud provider then it's highly doubtful that the decision is irrational and motivated by ignorance.

So far, the main fallacy with regards to companies picking AWS is that cost is relevant. It isn't. AWS might overcharge a lot, but truth of the matter is that for any sizeable corporation it's irrelevant if they spend 200€ or 400€ on their cloud infrastructure. It's far less than a salary and it's even less than the bill for some office utilities. So once the infrastructure foot is in the door then why would management worry about cost? What they do care about is uptime and development speed, because that has direct impact on productivity, and thus value extracted from salaries. If a particular service provider enables you to show tangible results in no time at all (see spin up a database or message broker or workflow in less than nothing) then they don't mind paying a premium that matches, say, their air conditioning bill.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by Legogris on Tuesday February 25, 2020 @06:06AM (#22412269)
For a startup, it can work out like this: Start out on AWS/GCP/Azure in the initial phase when you want to optimize for velocity in terms of pushing out new functionality and services. When you start to require several message queues, different data stores, dynamic provisioning and high availability, you save a lot on setup and maintenance - the initial cost of getting your private own cloud up and running, and doing so stably, is not to be underestimated. Especially when you're still exploring and haven't figured out the best technologies for you long-term.

Then, at some point, that dynamic changes as you have a better understanding of your needs, the bills start to build up and the architecture is in less flux. You might also have a bigger team and can afford to start allocating more resources to operation. That is the point when it it might make sense to migrate over to self-managed.

Then at the same time, you have the scalability, which might be more of a key point for even larger organizations.

I think building somewhat cloud-agnostic to ease friction of provider migration is good, regardless, but do so pragmatically and look at the APIs from a service perspective.

Kubernetes? All the bigger providers have alternatives and you can run your own. Fargate? You're going to have to do some rewrites. MemoryStore? Just swap for your another Redis instance. BigTable? Highly GCP specific. etc.

Not saying there aren't a lot of companies who choose the wrong provider for the wrong reasons, but it can also be part of a conscious strategy. Also nobody got fired for IBM and so on.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @06:22AM (#22412332)
> Then, at some point, that dynamic changes as you have a better understanding of your needs, the bills start to build up and the architecture is in less flux. You might also have a bigger team and can afford to start allocating more resources to operation. That is the point when it it might make sense to migrate over to self-managed.

I completely agree, and I had this discussion with my direct manager in the past. Yet, even if the potential savings are significant, managers might not be too keen on investing on switching your infrastructure. Running your own infrastructure is risky, and although top managers enjoy lower utility bills they don't enjoy the sight of having a greater risk of suffering downtime, specially if the downtime is self-inflicted and affects business-critical services.

So, if this transition doesn't go perfectly smoothly... The people signing for the migration to self-hosting services might be risking their whole career on a play that, at best, only brings some short-term operational cost savings. Does this justify a move whose best case scenario is equivalent to a AWS discount?

Re:We use Kubernetes and spot instances to reduce EC2 billin... by Legogris on Tuesday February 25, 2020 @07:02AM (#22412459)
For sure, there are a lot of factors to consider here. For heavy workloads where you need solid I/O, the cost for the same performance on baremetal vs VMs on cloud can be >4x so you could even afford to have a duplicate setup on another network for redundancy and still be saving.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by ghaff on Tuesday February 25, 2020 @09:25AM (#22413439)
Moving workloads in-house does happen. But, in general, you're right. It's hard to advocate for a near-term expensive (in time and money) and at least somewhat risky (expect some nights and weekends crises) migration for possibly some longer term cost benefit (assuming you've accounted for all the costs). Which BTW neither you nor your manager may still be around to take credit for. And also BTW is at least somewhat counter to what companies are doing in general, for better or worse, and which execs will probably rightly see as a potential distraction from whatever the company is trying to accomplish.

Frankly the whole discussion mostly highlights that these are things you need to think about upfront before you're fully committed.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by harikb on Tuesday February 25, 2020 @09:48AM (#22413585)
Back in the day, when I was part of a startup, the DB guy was all into making us write “provide agnostic” sql in case we ever wanted to switch to Mysql or Oracle. We were actually using Postgres. This was a nightmare.

Things started improving when we said ‘f-it we are not moving out of Postgres, let us at least use the best features of PG’

There is a similar problem when trying to use AWS with the constant thought about moving out of AWS at some point.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by Legogris on Tuesday February 25, 2020 @11:34AM (#22414544)
Yeah, this is a bit what I mean with doing it pragmatically - at least when you choose provider-specific services know that either 1) you have an idea of how you would migrate it or 2) it is a conscious decision to leverage a USP. By taking the provider-agnostic paradigm to the extreme, you have the least common denominator, getting none of the upsides.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by vraivroo on Tuesday February 25, 2020 @09:03AM (#22413228)
> Start out on AWS/GCP/Azure in the initial phase when you want to optimize for velocity in terms of pushing out new functionality and services.

Have you ever done this? It's exorbitantly hard to migrate off of a cloud provider, and few ever do.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by LysPJ on Tuesday February 25, 2020 @09:28AM (#22413465)
I agree that migrating off a cloud provider can be very hard. However, architecting your system with portability in mind can help a lot, as rumanator points out:

> I think building somewhat cloud-agnostic to ease friction of provider migration is good

Of course, that's not always an option if the system is already built, but it's definitely a good approach.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by aiisjustanif on Tuesday February 25, 2020 @09:29AM (#22413469)
I have and It’s only hard if things aren’t dockerized imo. If everything is in something like cloud foundry it will be much harder.

If you don’t have heavy AD and policies in place even better.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @10:34AM (#22413934)
+1 on containerization, and I would add that controlling your container orchestration service (particularly ingress and security) is another key factor. Whether someone uses Docker Swarm or Kubernetes, this setup enables anyone to redeploy their entire applications at a blink of an eye, regardless of which cloud service provider you use.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by vraivroo on Tuesday February 25, 2020 @09:53AM (#22413626)
If your entire infra is dockerized, you are in the vast minority and should probably be discarded as an outlier.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Tuesday February 25, 2020 @07:06AM (#22412478)
> They aren't crazy or stupid, and as AWS is the world's leading cloud provider then it's highly doubtful that the decision is irrational and motivated by ignorance.

Part of the problem is that a huge proportion of the people I come across who chose AWS used this exact argument. Part of the problem with that argument is that none of the big guys are paying the list prices (unless they're not doing their jobs; I've seen the kind of discounts available once you get into even the few hundred k/month range and tell your account manager you're considering moving), and a lot of them also used the same line of thinking.

It pulls in a lot of people who pick AWS for all the wrong reasons.

> AWS might overcharge a lot, but truth of the matter is that for any sizeable corporation it's irrelevant if they spend 200€ or 400€ on their cloud infrastructure.

The ones I used to deal with used to be more like a 3x-10x cost difference on bills in the 10k-100k/month range. I agree with you that if the difference is ~200/month, then who cares. But a lot of much bigger companies burn money this way. Often because they started off with a 200/month difference, and then never made it a point to re-evaluate as their costs grew.

The difference isn't always that bad, but especially bandwidth hungry services are ridiculously expensive on AWS (to the point where if people really badly want to stay on AWS and spend a lot on bandwidth, a quick and dirty fix is to rent servers to use as caches in front of their AWS setup)

I'm not saying people shouldn't use AWS. But as you point out, the right usecase for AWS is when you don't mind the cost, and pick it for convenience, and there's the warm fuzzy feeling of knowing you can hire people "off the street" who knows how AWS works.

AWS is the luxury option. Sometimes you want the luxury option.

But it worries me how many startups build in ways that end up locking them into a provider that for some of them multiplies their per user cost by anything from 2x to 10x. When I evaluate startup pitches today, I often ask whether or not they have thought this through. It doesn't matter so much that they're on AWS - that might well be a fine choice. What matters is whether it was a conscious decision, and they've done at least a superficial attempt at modelling the costs both for AWS and some alternatives, rather than just picked it by default.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by devonkim on Tuesday February 25, 2020 @07:53AM (#22412747)
For any start-up that is expecting to work with enterprise customers there is no choice and has been this way for at least 3 years now but to support AWS. This doesn't mean you must use AWS (with Azure close second and GCP irrelevant essentially for most large non-tech customers) for your entire footprint, but you will need to have POP in most regions that the F500 works with strategically. Any enterprise tech founder that utters the word cloud should know this as table stakes to compete for the foreseeable future.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Thursday February 27, 2020 @07:50AM (#22432744)
That absolutely makes sense. But you can achieve that by either being able to deploy the client specific bits to AWS for clients that absolutely insist, or by simply deploying proxies and picking and choosing on a per service basis whether or not it makes sense to deploy it to AWS or proxy it to your own infra.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by devonkim on Thursday February 27, 2020 @10:37AM (#22434156)
Sure, but there's a fun catch with this strategy. I'm familiar with some companies that refuse to work with vendors that use AWS for production hosting of their footprint because it would be funding their competitor. There's no such thing as a company that contractually requires all of production in AWS though, in contrast, not even AWS.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by kapilvt on Tuesday February 25, 2020 @11:25AM (#22414463)
wrt to aws, there's also the option of building out with serverless tech, which is a dramatic cost reduction (not paying for idle) and ideally scaled for usage to business model/revenue. cloud portability suffers but I've found for an ha setup, its a dramatic cost savings (10x) while getting traction for a service. I've seen that transformation bear out in many enterprise companies. As an example I built out https://awsapichanges.info and run it for less then a dollar month with fargate spot, s3, etc. Just saying ymmv depending on how you want to build/design your app's use of infra resources.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Thursday February 27, 2020 @07:48AM (#22432736)
It really isn't a dramatic cost reduction for most people, as most people simply don't have sufficiently large difference between base load and peak. I love the concept of serverless, but I'm not seeing it as a cost savings measure for the most part, but as a simplification of architecture.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by ldoughty on Tuesday February 25, 2020 @06:22AM (#22412333)
I basically agree...

However, I'd argue if you pick the right tools from the start you can leverage AWS relatively inexpensively... But that's hard without enough cloud knowledge in the industry yet, and consultants are (generally) terrible at this.

The main advantage is you can pay that crazy $200/month for a scalable database without paying $5,000+/month (burdened) for the guy that can build it and maintain it for you. A developer can handle connecting and writing code for clusters not easily than they can learn how to do scalable database -- and this is just an example, replace DBs with some other function you might hire a person or a team to do.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @06:29AM (#22412349)
> However, I'd argue if you pick the right tools from the start you can leverage AWS relatively inexpensively... But that's hard without enough cloud knowledge in the industry yet, and consultants are (generally) terrible at this.

You'll have a hard time finding a AWS consultant that's specialized (or inclined) to help you set up your infrastructure so that you don't use or need to use AWS. Not only is there no need for that sort of service, it would actually kill the goose that lays their golden eggs.

Odds are that you could find consultants that are specialized in some other cloud service provider, and aren't experienced enough in AWS to be in a position to smoothly migrate services out of it.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Tuesday February 25, 2020 @07:21AM (#22412555)
I used to do that, and used to actively recommend customers not to use AWS in most cases, or to use hybrid setups, as while my billable hours tended to be higher for AWS setups, the demand is high enough that it's not worth making bad recommendations to milk a client vs. showing them that you can help them secure substantial savings.

Some setups we made cloud agnostic enough that when we finally got migrations approved we were able to do zero downtime migrations by splitting the setup between providers temporarily. That incidentally was the best way of getting people to migrate: You make the case for resilience and flexibility, then argue for a test run for a month or so, and then all it takes is for them to compare the bills.

I even several times made offers to migrate customers off AWS for a proportion of what I estimated they'd save over the next 3-6 months. None of them ever took me up on it when they realized just how much that'd add up to vs. the fixed time based offer I gave them but it was a useful sales tool to demonstrate that I was willing to stand behind my estimates. One customer slashed their hosting bill 90% by getting off AWS (they were bandwidth heavy, and we cut their bandwidth costs by 98%; AWS outbound transfer is ridiculous)..

[as I've said elsewhere, AWS has its uses, but keeping cost down is not one of them... Ironically one of the good uses for AWS is to keep the cost of a dedicated setup down: Being able to "spill" over onto AWS (or other cloud) instances in the case of unexpected events lets you operate far closer to the wire than you otherwise would dare on a dedicated environment, even if you rarely use the capability; doing so also allows for more easily spinning up additional test/dev environments etc]

The biggest reason I can see why you don't find more consultants offering those services, is that a surprising proportion of people hire consultants to give them backing to do what they already want done ("see, the AWS consultant says I was right to want to use this AWS service") rather than to genuinely give independent advice. If you're not comfortable being repeatedly told "yes, but here's why we'll be ignoring the professional advice we ostensibly hired you for" and being very careful about forcefully presenting opinions backed by evidence that don't match the hiring managers preconceptions, the pool of contracts rapidly shrinks.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by ldoughty on Tuesday February 25, 2020 @07:36AM (#22412632)
I didn't say avoid AWS... I was more trying to point out that consultants and what not with certifications and "experience" are great at regurgitating information but often lack personal experience and result of their work months down the line. They suggest using tools based on their understanding, which is frequently with minimal hands-on experience... E.g. use a bunch of Dynamo DB tables with several indexes each to get serverless database.. ignoring concepts of duplicating data and leveraging hash/range, avoiding scans.. etc. (As an example)
Re:We use Kubernetes and spot instances to reduce EC2 billin... by einpoklum on Tuesday February 25, 2020 @07:10AM (#22412494)
You're assuming the organization/company does not do a lot of computation. If that's true, then yes, cost is not much of a factor. But in that case, a company could just rent a server at some ISP and be done with it.

In interesting cases, cost is _very_ significant. And it's not a 2x factor, IIRC it can easily be 10x.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @07:18AM (#22412536)
> You're assuming the organization/company does not do a lot of computation.

I am assuming nothing. I personally had this very same debate with a program manager of a company whose bread and butter was doing a lot of computation. At the eyes of upper level management, arguing about spending 20€ or 100€ on a cloud service provider is a kin of debating which brand of detergent should the company buy. It's irrelevant.

> But in that case, a company could just rent a server at some ISP and be done with it.

That's where you get it all wrong. Hiring bare metal services does nothing to your ability to scale, either to meet demand or to develop/test/try out new services, nor does it help you use higher-level managed services. Everything you have to do or manage by yourself is a productivity hit, and that productivity hit is measured as a percentage of your entire payroll, which eclipses how much you pay to your cloud service provider.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by gowld on Wednesday February 26, 2020 @11:38AM (#22424555)
100€ on cloud service is not "a lot of computation".
Re:We use Kubernetes and spot instances to reduce EC2 billin... by satanspastaroll on Tuesday February 25, 2020 @07:19AM (#22412545)
Computing itself is the cheap part, especially on spot instances. It's the outbound bandwidth that'll kill you
Re:We use Kubernetes and spot instances to reduce EC2 billin... by einpoklum on Tuesday February 25, 2020 @12:08PM (#22414898)
Ok, so s/computing/computing, storage and network I\/O/ . Same argument.

... although if it's outbound bandwidth - if you can take care of your compute, maybe it's possible to purchase outgoing bandwidth at an hourly resolution, rather than "whatever your wires can send us", and have your flexibility.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by xtracto on Tuesday February 25, 2020 @07:56AM (#22412767)
Because it works?

I was doing some testing of Serververless (the framework) for a personal project. I wanted to do it in Google functions + Database, but even for the basic out of the examples GCS wouldnt work; I spent 3 hours fiddling around. I moved on to AWS lambda + Dynamo and was done in 1 hour.

Also AWS support is simply amazing. Considering Google history of bad support, I wouldnt consider it for anything serious.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by paulddraper on Tuesday February 25, 2020 @08:25AM (#22412966)
> Also AWS support is simply amazing.

A few weeks ago, I had a two-node Elasticsearch cluster (evidently my mistake...though IDK why AWS can operate high availability two-node transaction RDS clusters no problem but not ES).

One node went down, only manual intervention by AWS support could fix it, automatic backups were completely inaccessible (since they rely on the cluster being up? ... WTF), and it took many hours for support to reset the cluster.

I eventually just "screw it," and spent a couple rebuilding the cluster from scratch.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by andrew_wc_brown on Tuesday February 25, 2020 @08:45AM (#22413100)
AWS has over 175+ services and is continually improving. I would say more new services on launch don't live up to the promise but quarter after quarter you see dramatic improvement, some services it's year after year. What makes AWS so valuable is not individual services but the fact you can string them together which outweighs the feature set of a single service.

Github is amazing for developer happiness but CodeCommit is secure and seamlessly integrates with so many AWS Services I Can live without all the bells and whisltes of Github.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by paulddraper on Tuesday February 25, 2020 @08:36PM (#22419488)
Elasticsearch is on the older side of those 175, since it launched in 2015. [1]

[1] https://aws.amazon.com/blogs/aws/new-amazon-elasticsearch-se...

Re:We use Kubernetes and spot instances to reduce EC2 billin... by abofh on Tuesday February 25, 2020 @01:42PM (#22415881)
I've never had aws hand over anything under a tenuous legal argument. Github bent over and found the first reason they could. I'll pay my money to AWS first, because it doesn't compromise my business.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by goatherders on Tuesday February 25, 2020 @08:28AM (#22412985)
This. AWS support is wildly expensive. I actually encourage most companies to find a smaller partner with strong infrastructure for this exact reason.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by andrew_wc_brown on Tuesday February 25, 2020 @08:42AM (#22413080)
AWS Business Support is only $100 / USD per month where you can call in 24/7 and be connected with a Cloud Support Engineer within 5-15 mins. If you don't like the engineer, hang up call again and get someone different. That's incredibly in-expensive, saves me hours or hiring more devs.

You can get this Business Support for free a year if you join StartupSchool and get 3K USD credits with the business support.

If you can't afford it, maybe you are just hobbying around but AWS offers lots of ways to support you until you have a substainable revenue.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by pnutjam on Tuesday February 25, 2020 @09:48AM (#22413586)
Last I checked it was a percentage of your spend.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by goatherders on Tuesday February 25, 2020 @09:06AM (#22413258)
I think you may not appreciate how much $100 a month is for many people around the globe.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by ghaff on Tuesday February 25, 2020 @09:15AM (#22413338)
That may be. But, then, you're definitely in the category of your time isn't really worth anything and screwing around for a few days doing DIY on software/hardware/etc. is a better solution than paying someone to do something for you. That's fine but you're really describing paid support generally.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by Swizec on Tuesday February 25, 2020 @10:15AM (#22413788)
This right here

I always hear people on the internet talking about AWS being crazy expensive, but from SFBA it looks really damn cheap. Would I rather give $thousands to AWS or $hundredthousands to an internal specialist who’s likely gonna say my company is too small and boring to keep them interested anyway?

AWS wind that math every day. And that’s the market they target. Why wouldnt they?

Re:We use Kubernetes and spot instances to reduce EC2 billin... by goatherders on Tuesday February 25, 2020 @10:56AM (#22414159)
AWS is extremely expensive once you get to any meaningful size. If you save on infrastructure you pay for it on enterprise support, engineers or consultants and/or bandwidth.

I LIKE AWS. I think it can be a great choice for many companies and use-cases. But the idea that AWS is firmly everyone, that it's less expensive for everyone when you factor in the TCO, simply isnt correct.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by Swizec on Tuesday February 25, 2020 @12:45PM (#22415274)
> But the idea that AWS is firmly everyone, that it's less expensive for everyone when you factor in the TCO, simply isnt correct.

Correct. I specifically said it’s perfect if your labor cost is higher than your AWS cost

Another good case is indie hackers whose project likely won’t ever make it out of the free tier

Re:We use Kubernetes and spot instances to reduce EC2 billin... by cosmiccatnap on Tuesday February 25, 2020 @12:43PM (#22415252)
This just isn't true, in fact quite the opposite. If you just have a website you are working on aws is complex and expensive. When you need to handle it at scale then AWS is far better than other clouds and an order of magnitude cheaper than rolling your own racks.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by abofh on Tuesday February 25, 2020 @01:30PM (#22415766)
What's meaningful? It'll cost you a half million to build a full rack, power it and give it connectivity for a year. That's a lot of spot instances if you don't have a constant load
Re:We use Kubernetes and spot instances to reduce EC2 billin... by snark42 on Tuesday February 25, 2020 @02:23PM (#22416369)
> It'll cost you a half million to build a full rack, power it and give it connectivity for a year.

For $1500/mo you can get half rack (5Kv) and 50 Mbps internet. A couple $5k switches and 6-8 10k servers and you're well under $125k, plus you probably don't need $10k servers or $5k switches and can find cheaper hosting. I realize you said a full rack, but that's probably overkill and could be done for $350k or less. Once you have the servers/switches your fixed costs are relatively low.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by ghaff on Tuesday February 25, 2020 @10:54AM (#22414146)
Part of it is that people see the AWS or support bill or consultant bill or whatever. But they don't really see the cost of DIY whether initial cost or ongoing support. The cost of build (on many dimensions) vs. buy is often underestimated. That's not to say you should never build--no, you shouldn't use AWS for everything--but it's important to understand the real costs.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by xtracto on Wednesday February 26, 2020 @12:30AM (#22420555)
I ran the tech team of a startup in a third world country (bullet lending $100 bucks to people) we were cheap and it was always a problem to convince finance to buy technology instead of throwing more cheap labour.

Still, those $100 monthly we paid for aws support were worth their weight in gold.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by nkozyra on Tuesday February 25, 2020 @12:28PM (#22415096)
For a person anywhere on earth? Sure. But 99.99999% of those people don't need on-demand cloud hosting support.

But for a business that requires cloud hosting with support? There aren't many places on the planet where $100 is a prohibitive cost for a business that's willing to spend at minimum that much for hosting.

In short, it's the cost of doing business.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by frockington1 on Tuesday February 25, 2020 @09:11AM (#22413301)
They once tried to get me to sign up for $100/month to fix an issue on their side. I refused and 3 days later my problem was magically resolved. AWS is starting to mimic the poor customer treatment I used to only associate with the Amazon marketplace.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by whatsmyusername on Tuesday February 25, 2020 @01:16PM (#22415621)
Elasticsearch is a bad example. Their elasticsearch offering has always been wack.

There's a tier of services at AWS:

s3/ec2/ecs/rds/elasticache - Flagships, will almost always work except in weird edge cases. Everyone uses these.

Niche Stuff - If you need it you'll know. It'll generally at least be an 80% tool (think athena/firehose/aws waf/etc).

Stuff with shitty pricing - Stuff they obviously only built for feature parity with GCP/Microsoft (think EKS/Managed SFTP/Cloud Active Directory)

Broken shit you use once, it screws you, and you never use it again - Usually it's either because the underlying open source tool is built in a fashion that isn't appropriate for a shared services environment or it's because someone at AWS has 'opinions' (think Elasticsearch/Cloudformation)

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rpedela on Wednesday February 26, 2020 @09:31AM (#22423187)
It is not recommended to run two node ES clusters. The AWS service shouldn't allow that configuration.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by paulddraper on Wednesday February 26, 2020 @10:30AM (#22423823)
Yeah, that was my mistake.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by theterriblestid on Tuesday February 25, 2020 @08:54AM (#22413167)
I once used a much larger EC2 than I needed and got billed a few hundred. After explaining the situation they refunded all of it.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by numbsafari on Tuesday February 25, 2020 @10:36AM (#22413953)
We do it because those alt vendors don’t have the security or compliance options offered by AWS/GCP/Azure.

For example, I wanted to replicate GCS to another hosted block store so that we could have a backup of our systems outside of our GCP account (they have been known to lock accounts on small businesses and not be very helpful in fixing it, GCS itself has been as stable as S3 in my experience).

Anyhow, I really wanted to use Backblaze B2 service for this purpose. Unfortunately, they don’t have the kinds of security controls or third party audits our industry requires, and their sales team indicated it wasn’t on the roadmap. I appreciate that honesty, but it’s one more reason the major players have a leg up.

They amortize the cost of compliance to the point where you don’t see it. For a long time AWS charged a lot extra for it, but GCP did not and was cheaper anyway. Now AWS gives compliance away for “free” as well.

It often leaves me wondering about other startups... how secure are they, really? I know my industry is onerous, but a lot of it is just “common sense” security-wise. Why should my browsing history or e-commerce purchases be any different from my medical records, when there are ways to use former to reverse engineer the latter?

Re:We use Kubernetes and spot instances to reduce EC2 billin... by codegladiator on Tuesday February 25, 2020 @06:48AM (#22412402)
I used to get 18k monthly bill on AWS, moved everything to DO and now it costs me 8k a month. Billing is so much easier to understand now as well. It was k8s to k8s cluster transfer, so migration wasn't very painful.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Tuesday February 25, 2020 @06:49AM (#22412407)
And even DO is still quite expensive (though the cheaper alternatives do tend to have limitations - e.g. if you're ok with Europe only Hetzner tends to be far cheaper, but that doesn't work for everyone).
Re:We use Kubernetes and spot instances to reduce EC2 billin... by codegladiator on Tuesday February 25, 2020 @07:53AM (#22412746)
Thanks but majority of the target audience is in SEA. Also we considered moving to DO only once they had their k8s offering ready.

I might have missed it in the search, but seems Hetzner is probably still working on it. Nobody here like to deploy k8s although the tools to do that are super sexy these days.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Thursday February 27, 2020 @07:53AM (#22432761)
Hetzner deploys new features very slowly; that's the main issue with them if you're not prepared to roll your own.

But certainly for SEA they don't make sense, unless you e.g. have any subsets of functionality that are bandwidth intensive but not latency insensitive (e.g. I used to manage a network that was split between UK, Germany and New Zealand, and we used Hetzner for the German footprint and put anything where latency didn't matter, like bulk e-mailing, there, while customer facing stuff was all in their respective country). For that to be worthwhile you need a quite significant volume though.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by shiftpgdn on Tuesday February 25, 2020 @11:11AM (#22414306)
You could get that 8k/mo bill down to $500/month with a $8000 hardware purchase and well thought out colocation.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by UncleMeat on Tuesday February 25, 2020 @11:46AM (#22414660)
And support work. Saving 20k a month is one engineer in expensive markets.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by paulddraper on Tuesday February 25, 2020 @08:20AM (#22412926)
If you use k8s, you can shop around more easily.

Of course, the flexibility of k8s does come with complexity, so YMMV.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by Tehnix on Tuesday February 25, 2020 @06:50AM (#22412411)
Two main reasons: Elasticity and Availability.

Our services are highly elastic, and can vary from processing 8 million events/day to 600 million events/day. Same as with our users, which are mainly active during work hours, with some running night shifts, and then fewer running weekends.

We are probably the prime-case for cloud, since elasticity is where you save cost by going away from dedicated hosting.

As for availability; our customers are highly dependant on us processing their data live, and them being able to monitor, get alarms and react on their data. They rely on us to notify whichever technician needs to fix their production line when it's stopped, since they loosing money for every minute the line is not running (true for almost any manufacturing company).

This means that we need a lot of redundancy, and these things are built-in to almost all AWS offerings.

--

There's a case for dedicated servers still, I'll agree on that, but we are definitely benefiting from the cloud.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by einpoklum on Tuesday February 25, 2020 @07:07AM (#22412482)
I'm no cloud expert, but - I'm not sure your argument is convincing.

Let's say that, for a unit of computing work, ,the cloud price is N times of non-cloud. I'm being a bit vague here for generality; plus, when not on a cloud, the cost structure is different, but bear with me.

Ok. Now, your load varies by a factor of up to 133x. But unless your peak load is over N times your average, it is still cheaper for you to keep machines which support the peak load and have a bunch of idle time.

Extra benefits:

* Can do other computational work (e.g. experiments) during off hours without impacting system responsiveness.

* Can perhaps put some machines to sleep, or other power-saving measures, during off hours.

Extra detriments:

* You have to take care of more system and cluster administration work than on the cloud.

Above N, the cloud makes sense. Close to N - not sure. Well below N - doesn't seem to make sense.

You'll need to tell us that N is low enough.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Tuesday February 25, 2020 @07:26AM (#22412580)
My rule of thumb is that you need peaks shorter than ~6 hours for most "normal" type setups before AWS becomes viable from a cost perspective. Of course that depends on how significant the peaks are. Most consumer websites with an international audience for example, rarely have significant enough peaks.

This is exacerbated because the alternative is not either-or - the most cost effective system is often dedicated hosting + the ability to spin up cloud instances to take the peaks.

Doing so lets you provision your dedicated servers to run at much higher utilization most of the time, and make pure cloud setups look far more expensive, and most people with setups like that end up needing the cloud instances very rarely.

That's not to say there aren't exceptions with genuinely massive peaks, but even then it doesn't take a huge base load before a hybrid system starts to have the potential to bring substantial savings.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by satanspastaroll on Tuesday February 25, 2020 @07:28AM (#22412594)
Also to keep in mind, despite it's name, 600m shouldn't blow anyone's socks off in upkeep.

It translates to about 7krps/day. Assuming it's all in one region at day time, it's 14krps/12hrs, or 42krps/4hrs. It's well within a couple high-powered servers even in the worst case

Re:We use Kubernetes and spot instances to reduce EC2 billin... by originalvichy on Tuesday February 25, 2020 @04:42AM (#22411938)
Because the cloud providers advertise to tech startups. They are told that the scalability of the cloud is needed, because YOUR startup can become an overnight success and can’t handle the traffic.

This combined with how unsexy most of the VPS or dedicated hosting providers look makes the cloud providers a seemingly good choice for startups.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by oblio on Tuesday February 25, 2020 @05:14AM (#22412085)
I'm not sure this is the only reason. Clouds are super, super attractive to stodgy, boring enterprises.

And people here working in start up environments are not aware how much hardware from internal IT departments costs. Internal IT departments are generally way less efficient than the cutthroat cloud providers. AWS/Azure/etc. hosting costs are peanuts compared to what most banks or other big enterprises pay for their internal hosting.

On top of that, internal IT response times are frequently horrible. Any developer worth his pay generally loves cloud providers and abhors IT departments. They're slow to deploy hardware or VMs, update firewall rules, install software, etc.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Tuesday February 25, 2020 @07:29AM (#22412598)
The main competition to AWS is not (or should not be) internal IT, but other cloud providers outside the big 2-3 (Digital Ocean etc.), and dedicated and managed hosting providers. I can usually get a server in less than 24h from a provider like Hetzner, but if I need capacity urgently I can also temporarily spin up cloud instances there.

The biggest issue is not that people want to avoid internal IT and/or want elasticity, but the number of people who never even do a proper cost comparison beyond the top tier most expensive providers.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by devonkim on Tuesday February 25, 2020 @08:28AM (#22412983)
AWS hasn't been selling itself as a competitor to other clouds for like a decade compared to in-house IT because their market entrance _is_ technology lagging companies. The first demo use cases for, say, SQS back to 2008 were literally failing over databases into the cloud. It wasn't really until Azure that any truly serious attempt to compete cloud to cloud at enterprise scale. For all the HN hype of all the various vendors out there, they're all small fries collectively compared to the many billions of the cloud gorillas like Alibaba, Azure, and AWS. DO, Linode, Vultr, etc. are simply not intended for bureaucracy-laden companies that are the lion's share of the global IT market and also are not even allowed under many enterprise vendor and purchasing agreements (had this problem with several customers' contracts / legal before that would have killed 7+ figure deals).

Most places outside tech hubs put massive emphasis upon being able to swap labor and are technology laggards because their switching costs are so high due to lack of velocity in their work in technology in the first place (and also why waterfall or spiral makes more sense for their efforts rather than Agile probably even today). The irony here is that strong AWS professionals are not cheap in any way, but neither is being dead in the water because your 60+ year old guru graybeard IT guy that managed the racks faithfully for 12+ years retires suddenly.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Thursday February 27, 2020 @07:43AM (#22432712)
> AWS hasn't been selling itself as a competitor to other clouds for like a decade

And yet they're handing out $25k-$100k in credits like candy to startups to prevent them from going to Google cloud or Azure.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by devonkim on Thursday February 27, 2020 @10:42AM (#22434210)
"Selling" is what I was getting at. When looking at the tail end of the funnel every other vendor is giving away drugs to hook kids when they're young. Tail distribution dealers can't afford to do this in contrast.

Another tell is that the ways to "prove" start-up status under most of the big providers' terms for cloud credit align more around "did you get VC funding?" than "are you small?" due to the longer lead time nature of bootstrapped start-ups. Most don't give you credits if you've been around 2+ years and soured on another provider. Maybe I just sucked at it but I was bootstrapping before and had trouble getting decent credit then.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by zerg2k on Tuesday February 25, 2020 @08:55AM (#22413168)
I have strong evidence of the opposite. I worked in a hedge fund (unnamed for privacy) they paid top $ for IT admins, which by the way were very capable. An incursion into AWS taught them a hard lesson - the were nearly 4-5 more efficient than AWS at similar hosting capacity. Moving to GPC was their only option to maintain elasticity at relatively “acceptable” prices.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by oblio on Tuesday February 25, 2020 @09:28AM (#22413458)
My "anecdata" is stronger than your "anecdata", I'd say.

> they paid top $ for IT admins, which by the way were very capable.

Most companies don't pay top dollar and as a result they have to scrape by with the leftovers. As a result Amazon for sure beats them in sysadmining efficiency.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @05:32AM (#22412142)
> Because the cloud providers advertise to tech startups.

That's not true at all. Cloud services are very attractive to good old fashioned companies, because they express the cost of using computational resources as a simple monthly bill, just like any other utility. Your manager goes through the monthly bills and he sees, say, electricity, water, cloud infrastructure, cleaning, office supplies. That's it. No need to know what a server is or what a spot instance is. If the costs fluctuate smoothly and within boundaries then you simply don't worry about them.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Tuesday February 25, 2020 @07:34AM (#22412617)
> That's not true at all.

I have lost count of the number of startups I've evaluated that have gotten $25k-$100k in credits from AWS or Google Cloud, or both. When I was doing consulting I once got paid to first set up an environment on AWS despite them knowing it was too expensive for them, then to migrate from AWS to Google Cloud, then to migrate from Google Cloud to Hetzner - all because my fees for doing the setups and migrations were far lower than the free credits heaped on them by AWS and Google.

There are certainly reasons why people in bigger companies like them as well, though from what I see most of the time it is because they can slip the cost under the nose of the manager one level up in a way that is harder to do with more clearly quantified contracts. It's boiling frogs - as long as the cost just slowly creeps up, it doesn't get queried.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @08:07AM (#22412849)
I am a bit skeptical regarding your claims. Without any detail, if you're talking about companies whose business justifies $100k credits from AWS then you're not talking about normal businesses that have at best a local presence. If your company has a global presence then Hetzner doesn't quit cut it, as they only have data centers on Germany and Finland[1] and the added latency of accessing their data centers from non-european space is something that easily adds 100-200ms to each request.

Hetzner is indeed excellent if you are a cost-conscious european client that is willing to absorb the cost of self-managed bare-metal or quasi-bare metal servers and cares about saving on bandwidth costs. However, if your goal is to provide a world-wide service then you are compelled to look elsewhere. Even competing european service providers such as OVH[2] or scaleway[3] fare better than Hetzner on this domain.

[1] https://www.hetzner.com/unternehmen/rechenzentrum/

[2] https://us.ovhcloud.com/about/company/data-centers

[3] https://www.scaleway.com/en/datacenter/

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Thursday February 27, 2020 @07:42AM (#22432706)
I'm talking about tiny startups.

And Hetzner works just fine for most small startups even if/when they have a US audience - the latency is perfectly manageable, though in those kind situations you will certainly want to expand into other regions later.

The main point, though, is that even when you scale, nothing stops you from using Hetzner for Europe, and e.g. OVH for US, and indeed filling in with things like AWS when there are needs you can't otherwise meet.

In reality very few startups gets to a scale where this starts to matter, and overoptimizing for it at the cost of infra spend at the start is a great way of running out of money - seen that happen way too many times.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by warrenm on Wednesday March 11, 2020 @04:46PM (#22550323)
And Hetzner has cloud/VPS/etc offerings in Germany & Finland: https://www.hetzner.com/cloud
Re:We use Kubernetes and spot instances to reduce EC2 billin... by smolder on Tuesday February 25, 2020 @06:55AM (#22412427)
It seems some consulting companies prefer to push AWS over other service providers. AWS has the advantage of a lot of professional certifications and a big catalog of managed services to meet all kinds of needs. Cost is often mostly dev time for a lot of software running on it. It does pretty well at saving developers' time.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by thu2111 on Tuesday February 25, 2020 @05:25AM (#22412119)
Also: free cloud credits. Don't underestimate that. I know of two startups (one that I work at). Both are hooked on the cloud, albeit one has an insane cloud bill and one has a very reasonable bill.

The reason in both cases is MSFT/AWS gave them massive up front "free" credits, which meant there was no incentive to impose internal controls on usage or put in place a culture of conservation. AWS doesn't think twice before dropping $20k on cloud credits to anyone who wrote a mobile app.

At the company with the unreasonable bill, it's not even a SaaS provider. It literally just runs a few very low traffic websites for user manuals, some CI boxes and some marketing sites. The entire thing could be run off three or four dedicated boxes 95% of which would be CI, I'm sure of it. Yet this firm spends several tech salaries worth of money on Azure every quarter. The bill is eyebleeding.

The problem is everyone who wanted one got a VM. You got VMs being used for nothing except running a single test program that the owner then forgot about. People used expensive hosted cloud services instead of installing Postgres because "their time is more valuable" etc. Free credits created a culture in which the company just institutionally forgot that servers cost money. When the free credits ran out it was invisible to the engineers using the services and simply became another (opaque) line item for accountants to worry about the burn rate. In the rare cases engineers decided to "optimise" they did it by spending lots of time and effort on using Kubernetes so stuff would scale down at night.

There was an abortive attempt to move off the cloud. This was unfortunately stymied by incompetence by both the firm and the chosen hosting provider. It got some boxes from OVH and then didn't pay the bills for them, so the boxes were simply yanked and deleted. All the setup time was lost. In another case OVH allocated machines in datacenters that were far apart but they needed to be close together. In another case the machines were delivered but the hardware on one was faulty. Of course this stuff is a one-time hit and avoidable with non-broken processes, but it empowers those who just want to keep learning Azure/Kubernetes/Docker so they can put it on their CV.

The other firm is much smaller and has much more reasonable costs, they also get more for it (e.g. use Heroku which automates a lot of stuff).

Having observed these two different companies, I resolved up front that if/when I go back to running my own business I will not use cloud services, even if they offer free credits. I'll be taking pride in finding ways to drive server costs down as far as possible. Perhaps even hosting non-HA-required servers at my home given we have duplex gigabit fiber now. Yes, my time is valuable and all that, but establishing a culture up front in which people use the resources they need and not more is even more valuable.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by ldoughty on Tuesday February 25, 2020 @06:52AM (#22412416)
Counterpoint: my org got a large credit pool, but out development and engineering team were closely communicating with relevant leadership to explain costs and processes. We stretched out the credits for 3 years, despite spinning up/down nearly a hundred thousand VMs. Our infrastructure team still controlled access and setup, but it was a lot easier to say "director, Bob wants $200/month for this project, approved?" Then it was created in a way the costs tank to that project. Slower than Bob with direct access, but much faster than traditional systems since the VM is up in minutes and could be put in a sandbox if needed.

So in our case, credits got us into AWS, but instead of treating it like free money, we spent a lot of time improving efficiency and reducing our bill so when the credits ran out we could run our system for an affordable rate.

I take pride in reducing costs in the cloud. I don't argue cloud is the only way, but there's a lot of use cases where it just makes sense -- CloudFront+S3 for static websites, for example.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by thu2111 on Tuesday February 25, 2020 @07:20AM (#22412548)
Fair enough. Perhaps it's unfair to blame the cloud providers for these situations. Badly run companies can waste money in a lot of ways. Just seems like cloud frequently crops up as one of those ways.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by warrenm on Monday March 02, 2020 @04:22PM (#22469155)
But..but..BUT!!! IT'S FREEEEEeeeeeeee!!!!!!!!!!
Re:We use Kubernetes and spot instances to reduce EC2 billin... by gigatexal on Tuesday February 25, 2020 @10:31AM (#22413910)
Nobody ever got fire from buying IB ... er AWS. [1]

[1] until the bill shows up ;-)

Actually -- to be honest, we're in the golden age of infrastructure. I love building on cloud. I don't have to worry about the fiddly bits as much and when I do things are often documented either in official docs or in blog posts and things.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by whatsmyusername on Tuesday February 25, 2020 @01:22PM (#22415687)
IBM was the 90s. The 2000s was VMWare.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by js4ever on Tuesday February 25, 2020 @05:26AM (#22412122)
No one got fired for choosing AWS ... Nor blamed in case of outage because of AWS.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by swypych on Tuesday February 25, 2020 @05:38AM (#22412156)
This.

It's sad to say but people are not rewarded by going with a perceived riskier option in an effort to save a couple 100k.

You go with what works and proven, and with what will make your life the easiest. If AWS goes down, then its much easier to explain why. If "Big Bill's Lowcost Cloud Solutions" provider goes down, then your entire judgement will be questioned. Even if Big Bill's Cloud solution is equally or more capable and only half the cost.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by karatestomp on Tuesday February 25, 2020 @12:39PM (#22415223)
Yep, it's risk aversion at the individual level. Your solution you fought for breaks once? That's associated with you, personally. AWS breaks three times in the same time period, or ends up costing a ton more than expected, or whatever? Well it's an "industry standard" so no-one gets the blame, even if it gets bad enough that a change (how about Azure!) is initiated.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by ksec on Tuesday February 25, 2020 @06:21AM (#22412328)
Exactly. Try telling your management to switch to DO or Linode, which is already the top spot for 2nd Tier Cloud Hosting. Who is there to take the risk of failing for saving that is in the grand scheme of things negligible.

AWS failed? Great you have half of the internet down as well to cover your ass. No one get the blame and everyone continue with their work.

Of course this depends on culture and regional reputation. For example you would have no problem if your Startup in France is using OVH.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by pnutjam on Tuesday February 25, 2020 @09:54AM (#22413636)
Not sure about DO, but Linode will bounce your servers whenever they feel like it. They usually give notice.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by altmind on Tuesday February 25, 2020 @08:15AM (#22412891)
But some were forced to close as they were unable to afford the bills.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by paulddraper on Tuesday February 25, 2020 @08:22AM (#22412945)
B2B SaaS hosting costs are often a low single digit percents.

Considering that software is known to be high margin, there's lots and lots of companies for which hosting can be painful, but not threatening.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by danudey on Tuesday February 25, 2020 @02:16PM (#22416265)
> if you have someone with sysadmin/devops skills, it is easily doable.

And if you don't, AWS can be pretty cost-competitive because your developers can handle a lot of the "infrastructure" that you used to need a dedicated sysadmin (or a team of) to handle.

Don't get me wrong, I wouldn't likely spend my own money on them, but it does beat having to try to find an on-call infrastructure person and a reliable data centre with proper routes, and then developers/devops people who can scale, monitor, manage, and maintain queueing services, message gateways, object storage, databases, firewalls, load balancers, containers, VMs, network attached storage, etc.

Also, don't underestimate the value of things like CloudFormation. Being able to make an API call and have an entire cluster configured, with load balancing, backups, multi-AZ redundancy, CDNs, etc., is pretty potent.

AWS might be expensive, but it gives you access to a lot of things that you might not otherwise have, even if you do have a sysadmin/devops guy.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by notyourday on Tuesday February 25, 2020 @01:44PM (#22415911)
Because fundamentally there are tiers of service that one need to use:

There's a critical core infrastructure - i would argue that it is:

* some sort of centralized management platform even if platform is just a set of deploy scripts ( 1 instance ),

* Origin DNS servers ( 3 instances - one per AZ)

* HTTP/HTTPS entry points ( 3 instances - one per AZ) ,

* A couple of database servers ( say primary and a backup 2 - instances ).

* I would add job server though it probably could be collapsed into the management platform.

You need to have fixed IP addresses for this ( you really do not want to deal with service discovery at this level ) and you want it to be at a provider that won't ever make you need to renumber, or preferably a provider that does not ever break fundamental things like IP address assignment, or a provider that would run out of resources.

One's "internet presence" disappears when this dies. Running all of this as a core workload on AWS/GCP/Azure is a no brainier - it will cost about $100/mo, be nearly insta-rebuildable and re-deployable and a couple configuration files in git would take care of bringing up the beach head up.

At this point your core is up and everything else becomes service specific. This is the point where costs become a consideration but drive to low cost should not come at the expense of tooling. If by embracing ephemeral resources and existing tooling one can cut the base AWS/GCP/Azure price down by 80% most people would think it is a win over having to invest into building tooling to make containers stable ( as in always behave in a predictable manner ) on a provider that can shave off 95% of the costs.

The biggest issues with the cloud providers is the cost of IO and cost of bandwidth which scales linearly with the workload but that's an issue for very specific subset of customers that should be hiring real ops people.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by maayank on Tuesday February 25, 2020 @04:43AM (#22411948)
I use it when needing vast geographical spread - e.g. nodes that are closest to exchanges or some such.

Because so many others use it, if you care about latency to the counter-party server it's often a nice way to ensure low latency (by using the same availability zone).

Re:We use Kubernetes and spot instances to reduce EC2 billin... by k__ on Tuesday February 25, 2020 @06:21AM (#22412329)
I didn't have the impression people where choosing AWS for costs alone.

What cloud provider has a similar feature set?

Sure, if you want to meddle around with VMs and containers, you can use pretty much any provider, but if you want to go a step further there isn't much left

Re:We use Kubernetes and spot instances to reduce EC2 billin... by mekster on Wednesday February 26, 2020 @03:32PM (#22427004)
What's a popular feature set that only AWS can do and cannot easily roll your own solution?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tuananh on Tuesday February 25, 2020 @04:39AM (#22411929)
there was several reasons for our case. There might be more for other startups. Here are some:

- our clients (airlines) would very much prefer we use AWS over the smaller, lesser known offering.

- AWS offer free promotional credits for startups.

- AWS when utilized right (requires work) is not much more expensive than traditional hosting.

- Etc...

Re:We use Kubernetes and spot instances to reduce EC2 billin... by joana035 on Tuesday February 25, 2020 @04:57AM (#22412015)
Those are the most expensive computers I ever saw: https://aws.amazon.com/ec2/dedicated-hosts/pricing/
Re:We use Kubernetes and spot instances to reduce EC2 billin... by oblio on Tuesday February 25, 2020 @05:50AM (#22412196)
Maybe you haven't seen enough computers? :-p

Internal IT departments or hosting providers meant for highly regulated environments can charge 5-10x that for a VM of a similar size :-)

Re:We use Kubernetes and spot instances to reduce EC2 billin... by joana035 on Tuesday February 25, 2020 @06:08AM (#22412274)
So that will be 50-100x more expensive than Hetzner?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by kasey_junk on Tuesday February 25, 2020 @06:49AM (#22412406)
Yes
Re:We use Kubernetes and spot instances to reduce EC2 billin... by Phr0ztByte on Tuesday February 25, 2020 @04:35AM (#22411911)
I completely agree. Most startup's can do with cheaper or even bare-metal hosting for years before having to use highly-scalable solutions like AWS.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by rumanator on Tuesday February 25, 2020 @05:39AM (#22412162)
How much would it cost to get someone dedicated to manage your bare metal infrastructure? In this day and age, where using ansible or terraform is considered close to the metal, how much would it cost you to manage your own server?

And what about scaling?

That's precisely the problem. Bare metal hosts are unbeatable in cost, but fixed costs render them too expensive for a startup. Then, when fixed costs start to become irrelevant, you need to factor in the cost of rearchitecting your solution.

Then, when both of those costs become irrelevant, you already have the entire team trained and experienced in using a cloud service provider.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vidarh on Tuesday February 25, 2020 @07:44AM (#22412688)
As someone who has been that "someone dedicated to managing your bare metal infrastructure": It will typicall cost less than that "someone dedicated to ensuring your AWS setup is correct and works and handle all the regular config changes".

I know that first hand for having done both, and seeing how the AWS systems consistently earned me more money, and how rarely I had to deal with the bare metal (I've done anything from actual own hardware in colos to renting servers from places like Hetzner; when I was handling servers in two separate colos I spent on average a day a year in each of them, the rest was done by "remote hands" at the data centre)

> That's precisely the problem. Bare metal hosts are unbeatable in cost, but fixed costs render them too expensive for a startup. Then, when fixed costs start to become irrelevant, you need to factor in the cost of rearchitecting your solution.

Actually buying hardware is too expensive. But coloing leased hardware or renting on a month by month bases from a dedicated hosting provider costs about the same when you amortize over a three year period unless you're physically located somewhere with cheap land. E.g. I work out of London, and when I was doing this we eventually deprecated the own hardware in favour of renting from Hetzner because colo space in London was so much more expensive that the savings on the actual hardware couldn't make up for it.

> Then, when fixed costs start to become irrelevant, you need to factor in the cost of rearchitecting your solution.

Or you architect it properly from the start. I've done zero downtime migration between AWS, GCE and Hetzner. I've had systems that tied in cloud instances, VMs running on our own hardware, containers running on dedicated instances, and VMS on rented hardware, all tied into a single system. If you run everything in containers anyway, all you need to make that happen is a simple orchestration system and a reliable network overlay, and an architecture that ensures reliable replication of your data.

Once you've done that, you're free to pick and choose and migrate services as you please depending on cost and need, and it really is not that hard to get working - you already do most of the necessary planning if you are setting up a reproducible cloud setup anyway.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by tuananh on Tuesday February 25, 2020 @04:40AM (#22411934)
It's more complicated than that. Sometimes, the decision is not just in the engineers' hands. eg - our clients (airlines) would very much prefer we use AWS over the smaller, lesser known offering.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by thu2111 on Tuesday February 25, 2020 @05:57AM (#22412228)
What justification do the airlines give for placing demands on your own suppliers?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tyingq on Tuesday February 25, 2020 @06:13AM (#22412292)
It's pretty common for Fortune 500 type companies to ask for all sorts of intrusive terms they perceive as a benefit to them. Indemnity, long net payment terms, penalties for missed SLA, etc. They could be specifying AWS in this case to reduce latency and/or avoid the internet as a dependency. Maybe the client side is on AWS already, or they already have high bandwidth / dual path via AWS direct connect, and don't wish to do that for a different provider.

The reward being that once you're in, they are too big and slow to ever move away from your product.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by karatestomp on Tuesday February 25, 2020 @12:42PM (#22415250)
"We want it because it makes our lives (specifically, probably some paperwork) easier. Do you still want our money or not?"
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tuananh on Tuesday February 25, 2020 @06:05AM (#22412266)
i'm not familiar with that part. also sale people can make all kind of promises to close the deal.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by amedvednikov on Tuesday February 25, 2020 @05:19AM (#22412101)
Not necessarily. StackOverflow runs on a couple of servers.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by peterwwillis on Tuesday February 25, 2020 @04:46AM (#22411962)
You get what you pay for. You can pay a lot of money and have almost no worries (and lots of free time), or pay a little money and have lots of worries (and no free time).

And since the OP was talking about Kubernetes, and you're talking about "lock-in", another reason I love AWS is it is not a lock-in device. I can use any service of AWS's by itself, without being forced to use anything else or do something in a proprietary way. All the interfaces are a command-line or REST API with JSON data formats. They are all designed to operate by themselves, so you can provide replacement components at any time, hosted anywhere.

On the other hand, you can't just use one part of K8s, because you have to at least set up and manage an entire cluster first. And there's dozens of services K8s simply does not have, and other hosting providers don't have.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by vraivroo on Tuesday February 25, 2020 @09:11AM (#22413306)
Baloney. All the major clouds offer managed k8s. And using k8s in no way precludes you from integrating with services that are not on k8s (of course though, k8s can run anything you can containerize). So AWS has vastly more "lock-in" debt than k8s.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by peterwwillis on Tuesday February 25, 2020 @06:24PM (#22418645)
To replace an AWS service, you just plug in a different service integration, or use a literal API complete clone. To replace the use of any part of K8s with something non-K8s, you basically have to replace all your use of anything in K8s. So the debt is much higher with k8s because it takes much more engineering work to get off it and it's not compatible with anything but itself.

Furthermore, just because someone has a managed k8s doesn't make it less lock-in or less work. With AWS you don't need to use a cluster of anything. With k8s you are signing yourself up to tons of complex services and specific design and operation paradigms. With AWS you have no such inherent restrictions.

K8s is inherently more complex and difficult to use than AWS services, which aren't even a good comparison because they are so simple by comparison.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by darkwater on Tuesday February 25, 2020 @09:35AM (#22413512)
> You get what you pay for. You can pay a lot of money and have almost no worries (and lots of free time), or pay a little money and have lots of worries (and no free time).

This is, in my experience, quite a false statement when talking about AWS. You are either a (team of) 10x engineer(s) capable of anything or as you grow in people and services you will need to use a good chunk of your developer time managing AWS, or hire a dedicated person (sysadmin).

Re:We use Kubernetes and spot instances to reduce EC2 billin... by peterwwillis on Tuesday February 25, 2020 @06:32PM (#22418705)
There are literally compete turn-key solutions in AWS marketplace to most things any business needs to do that you don't need to be an engineer to use. A monkey who can read a walk-through with screenshots can build clusters of apps and CI/CD pipelines with AWS. And there are thousands of companies that you can pay to help manage your AWS resources.

Just because businesses hire dedicated backed people doesn't mean they actually need to, they just feel better about it when they do, because that's how it was always done before.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by chundicus on Tuesday February 25, 2020 @02:56PM (#22416760)
Here's my two cents as a developer who has only paid the cost of AWS once for a one-off project (in retrospect I could've gotten more value with similar processing power with a different service).

AWS is established and relatively straightforward. I found the user experience to be pretty seamless. Maybe there are better alternatives but I've found Google Cloud Platform and IBM Cloud to be absolutely miserable and confusing (the latter more so).WRT Google Cloud Platform I think the main sin is the UI/UX, and if I had to foot the bill I would give them another consideration. I had very limited (but good) experience with DigitalOcean and Heroku, but those just don't have the infrastructure at scale to compete with AWS in my opinion.

What do you think is the best alternative to AWS?

Re:We use Kubernetes and spot instances to reduce EC2 billin... by Cthulhu_ on Tuesday February 25, 2020 @05:23AM (#22412113)
I wonder if a lot of startups think "What if we're an overnight success and we have to scale up fast?". This is of course what Amazon makes sure to use in their marketing as well.

Examples: Twitter became far more successful than their architecture and infrastructure could handle back then.

Pokemon Go became an insanely huge success far exceeding their worst case scenario. There's a postmortem/whitepaper on Google Cloud Engine about that IIRC.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by zeristor on Tuesday February 25, 2020 @05:33AM (#22412146)
The white paper on Pokemon Go ramping up on GCP after launch:

https://cloud.google.com/blog/products/gcp/bringing-pokemon-...

Re:We use Kubernetes and spot instances to reduce EC2 billin... by manigandham on Tuesday February 25, 2020 @08:36PM (#22419490)
It's all relative. For most businesses, productivity is more important than the cost of infrastructure because it creates more revenue to cover the cost, leading to a net profit.

That being said, it also makes sense to apply some basic optimizations to reduce costs by a significant margin, as long as the work involved in optimizing pays off. A few days to cut costs by 50% makes sense, a few months to save a few dollars doesnt.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by hinkley on Tuesday February 25, 2020 @11:29AM (#22414500)
i have absolutely no idea how much my company is paying for AWS. I expect I will soon, but it’s a little alarming that this data is not readily available to me. I think I am not the only one in that boat.

For people who know very well? I think it’s not unlike interpersonal dynamics. Codependency looks very different from outside versus inside. It’s difficult to tell why your friend keeps investing in this bozo, coming up with ever more elaborate ways to manage them and their moods.

And over lunch a mutual friend will discuss how they might be better off with someone else, and once in a great while someone will ask if maybe So-and-so might not be better off alone.

AWS is a dishonest partner. They have decided that you not knowing how much this is going to cost you is a good thing, and give no evidence that they are willing to change. This is who they are. Do the good things about them make up for that kind of bad thing? I don’t think so. I think you should look for another partner. Maybe just something light, not a serious relationship. Or maybe try some alone time and see what that’s like.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by StreamBright on Tuesday February 25, 2020 @11:18AM (#22414386)
I am not sure they are obsessed with AWS. I think they are obsessed with scalability (both technical and financial), elasticity (turning off capacity that you do not use), security compliance (required by many industries), reliability, availability, and support in case something goes sideways. Containers and Linux are orthogonal to this.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by vorpalhex on Tuesday February 25, 2020 @09:24AM (#22413425)
If you need a few servers, then yeah, AWS is super pricey and locked in.

If you need 50 engineers to be able to manage 200ish servers, well, uh, you just don't have a ton of options.

Obviously not everyone falls into that second category but plenty do.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by snark42 on Tuesday February 25, 2020 @02:39PM (#22416562)
> If you need 50 engineers to be able to manage 200ish servers, well, uh, you just don't have a ton of options.

Who needs 50 engineers for 200 servers? My IT team manages 750 servers in 5 co-locations + 200 end users + DBA responsibilities with 5. If we grow above 1000 we might need to hire a 6th.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by papito on Tuesday February 25, 2020 @07:11AM (#22412499)
It's also a very common skill. A lot of people are familiar with AWS. What money you would save by using an alternative, you will lose on training new recruits, or mistakes made from lack of expertise.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by mekster on Wednesday February 26, 2020 @03:43PM (#22427111)
Many of the knowledge works across other vendors that are just Linux. What AWS specific feature are people so desperate to use to get themselves locked up?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by dirtydroog on Tuesday February 25, 2020 @05:46AM (#22412183)
We moved to GCP from AWS because we thought it'd be cheaper. Turns out it wasn't that much cheaper at all. But Google paid for the transition so there's that...
Re:We use Kubernetes and spot instances to reduce EC2 billin... by joana035 on Tuesday February 25, 2020 @04:46AM (#22411963)
Yes, and this is sad.

I have seen this as the outcome of a bubble which keeps repeating that "having to maintain is bad", "servers are bad" or "this is old".

Re:We use Kubernetes and spot instances to reduce EC2 billin... by wtf1234 on Tuesday February 25, 2020 @05:28AM (#22412133)
AKA marketing.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by NicoJuicy on Tuesday February 25, 2020 @12:21PM (#22415029)
According to what think: accounting.

The bill of the cloud vendor is already approved and the 3rd party apps don't need to have a seperate approval process.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by whatsmyusername on Tuesday February 25, 2020 @01:13PM (#22415572)
You'll never get fired for suggesting AWS. And IAM is the killer feature.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by stjohnswarts on Tuesday February 25, 2020 @12:36PM (#22415189)
I think it's probably the new "no one got fired for buying IBM"
Re:We use Kubernetes and spot instances to reduce EC2 billin... by CSDude on Tuesday February 25, 2020 @09:44AM (#22413564)
Because AWS is not just server hosting company.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by krick on Tuesday February 25, 2020 @10:46AM (#22414054)
What do you suggest instead of AWS?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by meddlepal on Tuesday February 25, 2020 @10:14AM (#22413778)
Two reasons come to mind:

1. Nobody gets fired for picking AWS. 2. Plentiful amount of talent that understands AWS and AWS patterns.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by ldoughty on Tuesday February 25, 2020 @06:09AM (#22412279)
AWS can be expensive, but it comes down to engineering and needs.

I'd argue it's most expensive for small (10-50 person... ish) businesses -- to small to hire a LOT of overhead staff, but not small enough that you're still in POC/MVP stage.

A lot of ideas can be tested in AWS essentially free. However, if you pick the wrong tools or don't anticipate future bills, you can end up with additional costs and need to re-engineer slightly.

That said, it works best with scalability concerned workloads. If you only need 10,000 machines for a few hours/days (research workloads), or your load is much heavier just 9-5pm, or you need vast constant scalability.

My org currently has 19,500 VMs in AWS right now -- they are student VMs running a mix of OS's. While many of them are offline for days or weeks at a time, we can easily start 5,000 of them in a minute or two if needed (though we usually don't see more than 400/minute). Sure, we can run these in a large virtualization system of our own, but we're only 3 developers, a single system admin, and one cloud focused person (though we do cross train a lot)... So AWS allows us scale quickly without as much concern on the underlying architecture.. purchasing equipment... Dealing with hardware failures or warranty/replacement claims. We can spend our 9-5 building, improving, and optimizing the system (including reducing costs). With this setup, nearly anyone in our team has the capability to research a new component of we really want to add it (like websocket support) and play around (in a sandbox), without getting others involved until it is ready for a POC demo... Then we can have a new feature in production in days/weeks despite needing new equipment.

All that said, I'm not a cloud-is-the-only-way evangelist... If you don't need any of that, you can fairly easily make a cloud agnostic system with container... Using ECS for many typical use cases is rather portable to other container systems. If your making larger lambda packages that can handle many paths (i.e. ELB/API Gateway Lambda proxy), they can move with less work than 100 purpose built functions.

If argue most people unhappy with AWS have leadership with goals or ideas sold to them that are silly (lift and shift)... Or staff that are not trained on the cloud provider so they don't know the right considerations for building in the provider they pick. I'd wager many developers don't even know how to use Dynamo DB properly for the first year or two they use it. It's hard to say it's AWS's fault if you have a large bill because your developers 'SELECT * FROM users' every time you lookup a single user... and AWS scales to support the inefficient scan (how does a DB provider know if your application logic only uses one value?).

Anyway, I hope this gives some insight on why orgs use AWS.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by bitxbit on Tuesday February 25, 2020 @07:08AM (#22412489)
You can do a lot with lambda while keeping your costs down.