News for hackers. Stuff that matters.
Re:HashiCorp – S1 by AtNightWeCode on Thursday November 04, 2021 @03:36PM (#29111588)
My thoughts not facts. I know that there are more products then I mention.

I fail to see in what segment Hashicorp will remain relevant over time.

Terraform is the tool I mostly see companies pay for. Over time cloud vendors will make Terraform obsolete. In fact it is already a problem to use Terraform since it can not move at the same pace as major cloud vendors.

Vault is an extremely complicated niche tool, most companies should not use.

Consul, the service discovery tool is mostly not needed in cloud environments. Don't think any cloud vendor today have Consul as a service on their agenda even though this has been announced years ago which is a warning sign. Personally I really like Consul and the way you can set up ACL for instance.

Vagrant, use whatever.

Nomad has lost the battle with Kubernetes a long time ago. I never trusted Nomad and I never will but I can see that if you really want to orchestrate a lot of containers Nomad may be the right tool.

When selecting an identity platform you mainly have to go along with the corruption in the industry...

I really wish Hashicorp good luck on this journey though.

Re:HashiCorp – S1 by jordanbeiber on Thursday November 04, 2021 @04:07PM (#29111937)
I feel I need to reply with my thoughts.

- Vault is not niche - it’s THE way to manage pki and credentials if you’re half serious about security. Which is why you’re now are starting to see managed vault.

- Consul - EVERYONE should use service discovery, cloud or not. It’s indispensable for numerous reasons. If you doubt it’s relevance, check out the Kubernetes integration work - there’s a reason for that focus. You need service discovery if you operate at any sort of scale, spanning multiple providers and teams (Azure have a managed consul offering btw).

- “Trust” nomad? The team and I have used it since 0.4 and 0.6 in full production at two different companies. K8s as well, but it lacks the unix vibe of “one thing, and do it well”, which is something you get with nomad, consul & vault. Nomad has been rock solid and I’ve so far had no reason to not “trust” it, 100s of thousands of deploys later.

- terraform spans many providers. It’s a good tool, not without it’s quirks. But I’d rather have one quirky tool than multiple quirky vendor ones. Also, we use TF for basically everything - even the stuff we host in-house through lxc and postgres for example, and through home grown providers as well.

I could write pages on the hashicorp products!

Re:HashiCorp – S1 by AtNightWeCode on Thursday November 04, 2021 @04:35PM (#29112254)
All major clouds have better alternatives to Vault. Vault is mostly for really large companies that want to run things like this by themself.

There is no need for service discovery in the cloud in general.

I have also used Nomad a lot. Maybe it is because we always needed the cutting edge features in general, but in general not very good quality. Core features always worked though. People should use Kubernetes instead in most cases.

There is simply no way Terraform and the HCL2 will survive for cloud environments. For other use cases I do not know.

Re:HashiCorp – S1 by folkrav on Friday November 05, 2021 @09:26AM (#29118866)
> All major clouds have better alternatives to Vault.

Debatable. From my experience, all major clours have alternatives to Vault, but not "better" by any stretch of the imagination.

Re:HashiCorp – S1 by slotrans on Sunday November 07, 2021 @01:14AM (#29136777)
AWS Secrets Manager gives me everything I want, for no effort, and costs rounds-down-to-zero. I cannot begin to imagine what Vault could even offer that would tempt me to switch.
Re:HashiCorp – S1 by jordanbeiber on Sunday November 07, 2021 @04:02AM (#29137653)
Say you want to increase security by issuing short lived accounts and passwords in a database, and make these accessible on demand for apps needing them.

The app instance authenticates using the cloud providers key vault and from here it’s allowed to use a policy claiming tokens granting rights to a specific db role. These tokens are short lived and are automatically renewed.

This is just one case - vault have a lot of useful integrations that let you “float above” any cloud:

https://www.vaultproject.io/docs/secrets

I like to keep my concerns separated. That way we can use any cloud as IaaS and keep the platforming part ourselves. Vault is at the heart of achieving something like this.

Re:HashiCorp – S1 by jordanbeiber on Thursday November 04, 2021 @04:58PM (#29112456)
“People should use Kubernetes instead” is an interesting take considering your first paragraph. :) You’ve perhaps not had to troubleshooting issues in a more advanced k8s setup - that is something that is not “for most people”.

Keeping services discoverable, with service health-checks and configuration data at hand in the k/v is not needed in the “cloud”? I guess a lot comes down to how you opt to manage you services… It’s what etc does, but worse (imo), for k8s. My usual work with larger infrastructure spans more than k8s or a single provider, hence consul is a given.

To my knowledge no other secrets solution exists that cover all the things vault does, and at the same lets you stay provider agnostic. It integrates well with the major cloud providers though!

Re:HashiCorp – S1 by AtNightWeCode on Thursday November 04, 2021 @05:29PM (#29112756)
What I am saying is that Kubernetes has become the mainstream tool to use. You have to put up good reasons or custom needs to use something else.

A thing I like about Consul is that you can also use it as a KV. Something I lack in the cloud.

The Vault in Azure is the Keyvault which is all around terrible but Keyvault in conjunction with how Azure works in general is sufficient to build secure infrastructure.

Re:HashiCorp – S1 by nuker on Friday November 05, 2021 @01:42AM (#29115856)
> You have to put up good reasons or custom needs to use something else.

Its bloody too complex was a good enough reason to move off it to ECS.

Re:HashiCorp – S1 by fragmede on Thursday November 04, 2021 @11:52PM (#29115249)
> There is no need for service discovery in the cloud in general.

That's an interesting take! How do you route requests to the right VM/instance whilst VMs go up/down?

Re:HashiCorp – S1 by nuker on Friday November 05, 2021 @12:35AM (#29115497)
Loadbalancer and AWS ASG that registers/unregisters VMs to loadbalancer. Or AWS ECS that does the same for containers.
Re:HashiCorp – S1 by jordanbeiber on Friday November 05, 2021 @03:13AM (#29116258)
The thing is that few bigger places run stuff in only aws, for example.

Also keeping discovery and configuration separate from the cloud provider makes a hybrid approach feasible - which I believe is relevant.

Big cloud pricing is big, depending on circumstances.

Re:HashiCorp – S1 by slotrans on Sunday November 07, 2021 @01:10AM (#29136760)
DNS.
Re:HashiCorp – S1 by tjr225 on Thursday November 04, 2021 @08:37PM (#29114180)
Vault is the real money cow here, for sure. It is an industry standard in a space that is becoming ever-more important. Honestly, I'm not even sure HC knew how big it would become, but it is huge.
Re:HashiCorp – S1 by potamic on Friday November 05, 2021 @01:46AM (#29115876)
Could you elaborate on the service discovery part? If you're in kubernetes, you have kube-dns which in effect is service discovery right? What does consul provide over this?
Re:HashiCorp – S1 by jordanbeiber on Friday November 05, 2021 @03:03AM (#29116207)
Kubernetes works on it’s own if all you use is in k8s.

I’ve yet to set foot in a bigger place with distributed teams and services that only use k8s and nothing else.

In these settings there’s a need to interconnect and monitor everything.

I’ve even at one time registered mainframe stuff in consul, as an external service, with a rather complex health checks in place. This alone improved observability and reliability for a lot of the distributed consumers.

Re:HashiCorp – S1 by nuker on Friday November 05, 2021 @12:33AM (#29115486)
> Consul - EVERYONE should use service discovery, cloud or not.

Discovery means that you don’t know your service name? Or endpoints? How can one lose his service? Im def missing something :)

Re:HashiCorp – S1 by nsotelo on Friday November 05, 2021 @03:18AM (#29116295)
There are many scenarios where it's useful, but I will illustrate a simple and important one.

When you do a rolling upgrade, a new service must be assigned to an available port different to the existing one. After starting you'll probably run some health checks, and once satisfied you'll want to switch traffic over to the new instance and halt the old. How do you tell the rest of your infrastructure what the new port is? Service discovery.

Re:HashiCorp – S1 by nuker on Friday November 05, 2021 @06:29AM (#29117399)
I make a new stack, new VMs, new loadbalancer and just update dns record of the service from old stack to new. Thats blue-green.

Rolling is trickier, but still, native cloud solutions do not use service discovery, imho.

Re:HashiCorp – S1 by jordanbeiber on Friday November 05, 2021 @03:10PM (#29123551)
What you’re describing took place with on-prem iron as well - nothing cloud about it. At all.

Service discovery is in part DNS with low ttl, but there’s a part of it that ties in to configuration management, monitoring and observability as well.

If you “update dns” that means you’re doing a part of what consul does (only f ex nomad does it for you). Nothing magic, but you still “need it”.

Tags and metadata is a large part of it though, as well as configuring things automatically based on state of the SD and K/V.

In the end - whatever works, I guess.

Re:HashiCorp – S1 by jordanbeiber on Friday November 05, 2021 @02:52AM (#29116156)
Many services, many teams. Coupled with health-checks, monitoring and tracing it’s an important piece of the puzzle if you want to move quick in a distributed setting - which most large organisations are.
Re:HashiCorp – S1 by OJFord on Friday November 05, 2021 @04:37AM (#29116771)
Its name yes, just not where it is or how to get there. DNS on a smaller scale.
Re:HashiCorp – S1 by vngzs on Thursday November 04, 2021 @03:41PM (#29111637)
A lot of big finance companies use Nomad for all their compute scheduling. Citadel, for instance. They desire the ability to schedule Windows workloads, containers, regular processes, etc. through a common interface. They might not want or need to go all-in on containers.

Vault has a similar target market. Big high-paying institutions. It's not the average market of your tech company, and 100-200 person startups generally won't need it. If you're in the fintech space, maybe you do.

Re:HashiCorp – S1 by jen20 on Friday November 05, 2021 @04:14AM (#29116639)
I would suggest that you reevaluate Nomad. It solves basically every one of (many) problem with Kubernetes in an elegant and reasonable way, at a scale Kubernetes is by no means capable of.

Further the idea that cloud vendors will make Terraform irrelevant is laughable. None of them have any impetus to provide a consistent workflow across multiple clouds. The shortcomings of CloudFormation in particular are unlikely ever to be overcome.

Re:HashiCorp – S1 by thunderthunder on Thursday November 04, 2021 @04:25PM (#29112149)
I really don´t feel K8S have won this battle. I agree people talk more about K8S but i have seen a trend in people that are disappointed with K8S and move against Nomad instead. I guess K8S is too messy. It´s like taking a 2015 enterprise vsphere datacenter environment and containerizing it. Too many layers.. But of course, there´s no fully managed Hashicorp offer for all products in GCP or AWS, Azure....
Re:HashiCorp – S1 by AtNightWeCode on Thursday November 04, 2021 @04:52PM (#29112413)
I do not really understand why people run so many things in containers in the first place. Sure, for sand-boxing and sometimes resource utilization, but the large services I worked on have always been on 10+ dedicated high-end servers with 200GB+ memory each. Absolutely zero need for any additional abstractions. You can also design solutions that use a lot of memory in contrast to containers.
Re:HashiCorp – S1 by dilyevsky on Friday November 05, 2021 @02:38AM (#29116111)
10 machines is not large by any stretch if imagination and hasn’t been for a long time. Try hundreds or thousands
Re:HashiCorp – S1 by runlevel1 on Thursday November 04, 2021 @03:59PM (#29111848)
Multi cloud, hybrid, and on-prem often need solutions that aren't married to a single cloud provider.

That's not all companies. It's not even the majority of them. But those companies do tend to be the ones who can afford HashiCorp's premium offerings.

Edit: Fix typo.