News for hackers. Stuff that matters.
Re:HashiCorp IPO today by altdataseller on Thursday December 09, 2021 @03:04PM (#29502223)
Don’t understand why anyone would need their cloud products. Who needs Terraform or Nomad or Vault as a service?
Re:HashiCorp IPO today by ignoramous on Thursday December 09, 2021 @03:18PM (#29502397)
They're like Docker for DevOps?

> ...a common confusion is multi-cloud vs. multi-vendor services. The latter is way more common, especially at smaller companies. Tools like Terraform are often touted as "multi-cloud" and people ask questions like "Why would I use Terraform if I use only AWS?" And the easy answer to that is tools like Terraform allow you to manage anything with an API as code. For example: do you want to manage DNS, or CDN, or DBs, etc. (that maybe aren't on AWS) as code? Terraform gives you the way to learn one config language/workflow to make that happen, even if 100% of your compute is on one provider. From a non-technical standpoint, this helps your organization start learning non-vendor-specific tooling, which better prepares you from a human standpoint for the future noted above.

> I think the #1 value of multi-cloud is organizational: you build your core infra/app lifecycle processes (dev, build, deploy, monitor, etc.) around a technology-agnostic stance. As technologies shift, other clouds become important, new paradigms emerge, etc. your organization is likely more prepared to experience that change. This is something that is core to our ideology at HashiCorp, its point #1 in our Tao that I published 4 years ago! https://www.hashicorp.com/blog/the-tao-of-hashicorp

-mitchellh, https://www.reddit.com/r/devops/comments/91afzz/why_multiclo...

Re:HashiCorp IPO today by sharken on Thursday December 09, 2021 @05:41PM (#29504032)
Multi-cloud is a nice idea, but not for everyone.

Where i'm at it has been SQL Server for the last 12 years and now Azure for cloud services.

It's highly unlikely that will change for the next 10 years.

And almost equally unlikely that Terraform will be used instead of ARM templates and Bicep.

Re:HashiCorp IPO today by urthor on Thursday December 09, 2021 @07:32PM (#29505041)
Cannot agree with this more.

Single cloud has a few extraordinary benefits for slow moving organizations.

Once you hang up the sign and declare "we are an xxx shop" it becomes an extraordinarily effective tool to drag unsophisticated employees and departments into the future.

"Microsoft said we have to do this so we have to" overcomes a LOT of internal barriers to technical change.

The biggest problems are never technology in large organizations, it's the humans beings anxiously protecting their overpaid managerial role. Single cloud is amazingly effective at improving the human factor.

At more sophisticated places with a bigger human appetite for innovation of course it's a different story.

Re:HashiCorp IPO today by dragonwriter on Thursday December 09, 2021 @07:44PM (#29505118)
> "Microsoft said we have to do this so we have to" overcomes a LOT of internal barriers to technical change

“Microsoft said we have to do this so we have to” is a lot of internal barriers to technical change.

At least, that's what I see working in an public sector enterprise shop whose cloud transition started as involving a break from being a solid and conservative narrow Microsoft shop which is currently backsliding as that transition broadens and innovators at all levels (including the CTO that spearheaded it, who is departing for a CIO gig) move on or are marginalized.

Re:HashiCorp IPO today by urthor on Friday December 10, 2021 @06:36AM (#29508705)
I sympathize, but what is the obstacle standing in the way of "if it's on Azure why don't we just use it?"

That's often a moderately straightforward discussion.

Re:HashiCorp IPO today by cyberpunk on Thursday December 09, 2021 @05:57PM (#29504224)
It makes very little sense. I mean, sure, maybe try to avoid vendor specific databases and use stuff like rds/managed cassandra/whatever vs Bigtable or dynamodb, but it's MUCH cheaper to lean in as hard as you can to one cloud provider and just pay for a month or three of consultants to move you if you ever actually want to than it is to build that in from the start.

k8s is a nice way to get there, if your k8s is running on gcp, aws, or azure it doesn't really impact your pipelines or process at all.

Things are harder at the bleeding edge, I'm working atm on a site that's all in on aws lambda with server less framework and aurora, kinesis and such, to the point where a migration would mean a rewrite tbh.. And that's alright for them, they're ok with their cloud partner.. And it's cheap too..

Re:HashiCorp IPO today by thedougd on Thursday December 09, 2021 @06:15PM (#29504427)
It's not unrealistic to expect a stack that includes Azure, GitHub, Datadog, Okta, Pagerduty, and more for a single application. Terraform handles and ties them all together well with a single application focused configuration.
Re:HashiCorp IPO today by Too on Saturday December 11, 2021 @07:05AM (#29520305)
Funny thing is Terraform isn't really cloud agnostic. I don't understand why this keeps coming up as a selling point all the time. Apart from the syntax of HCL and the concept of state-management. You still have to learn each vendors unique resource-types, which is like 10000 times more difficult than the underlying HCL language.

It's still a great product for lots of other reasons, just don't believe for one second it will help you move from AWS to Azure. It's almost like saying YAML is multi-vendor.

Re:HashiCorp IPO today by technofiend on Saturday December 11, 2021 @03:01PM (#29523764)
This is true. But there are ways to hide that with one more layer. For instance the rackn guys just released an update to digital rebar that uses pipelines and brokers to stand up infrastructure using among other things terraform but the user just specs out what they want in simple profiles. Digital rebar supports aws, linode, digital ocean, etc. You still have to specify a few things unique to each cloud provider but the scripting for each is otherwise the same.
Re:HashiCorp IPO today by mywittyname on Thursday December 09, 2021 @03:30PM (#29502521)
There are benefits to Terraform, even at basic levels. You can version control infrastructure, check if manual changes have been made, and quickly spin up new, identical environments from the same configurations.

Yes, there are alternative ways of accomplishing this, but simple config files that can be easily validated and used to check against current infrastructure is an ideal way to do this.

Before Terraform, I worked on a team that built what was basically terraform. It's just a natural, obvious, and effective way of managing cloud infrastructure.

Re:HashiCorp IPO today by dominotw on Thursday December 09, 2021 @03:34PM (#29502562)
i think gp is asking about 'as a service' part.
Re:HashiCorp IPO today by digianarchist on Thursday December 09, 2021 @03:52PM (#29502772)
I'll pick TFE because Nomad doesn't exist as a service.

Audit trails, authorization, authentication, sentry rules (don't allow devs to open a public port for example), centralized automation (plans executed in order), dedicated build agents.

That's a few reasons why we used TFE at Capital One.

Re:HashiCorp IPO today by paulgb on Thursday December 09, 2021 @04:52PM (#29503448)
Curious -- is “used” past-tense because you're no longer at Capital One, or because Capital One stopped using them?
Re:HashiCorp IPO today by digianarchist on Thursday December 09, 2021 @05:48PM (#29504122)
The former!
Re:HashiCorp IPO today by kache_ on Thursday December 09, 2021 @03:09PM (#29502278)
Large tech companies that are paying hashicorp oodles of money, who get first class support from a really great team.
Re:HashiCorp IPO today by driverdan on Thursday December 09, 2021 @07:05PM (#29504868)
Who needs RDS? You can host your own database instance. Who needs VPSes? Just run bare metal. Who needs S3? Host your own files.
Re:HashiCorp IPO today by neximo64 on Thursday December 09, 2021 @07:48PM (#29505147)
Who needs an ISP, just connect ur own Ethernet to the backhaul. Why even buy an ethernet cable when the spec if an open standard, just make it at home.
Re:HashiCorp IPO today by ggregoire on Thursday December 09, 2021 @08:24PM (#29505374)
> Who needs S3? Host your own files.

You joking but I read this comment way too often on HN.

Re:HashiCorp IPO today by chii on Thursday December 09, 2021 @09:03PM (#29505630)
it's because those who say this underestimate the work required to make any of those services robust and scalable at a click of a button. All they see is the high cost vs the imagined simple implementation.
Re:HashiCorp IPO today by slig on Thursday December 09, 2021 @08:40PM (#29505486)
Just host Ceph in a RPi cluster inside your closet.
Re:HashiCorp IPO today by baby on Thursday December 09, 2021 @03:23PM (#29502453)
That’s what I thought initially, yet I know a bunch of companies that do (like slack) and my ex company used to as well (facebook). It’s not clear until you actually are faced with a problem at your job that this solves. The whole strategy of hashicorp is to make devs and infra engs life more easy
Re:HashiCorp IPO today by ascendantlogic on Thursday December 09, 2021 @08:36PM (#29505463)
Large companies will always pay huge amounts of $$$ for support. They can't be telling engineers "Go google some stuff" if critical components go down.
Re:HashiCorp IPO today by rad_gruchalski on Thursday December 09, 2021 @04:55PM (#29503482)
Because putting a complete end to end self service solution like their managed offerings is years of man work.
Re:HashiCorp IPO today by manigandham on Thursday December 09, 2021 @04:12PM (#29503010)
Same reason companies also buy cloud infrastructure and platforms as a service; to offload the deployment and operations.
Re:HashiCorp IPO today by hpoe on Thursday December 09, 2021 @03:17PM (#29502374)
I can tell where I work it came down to a simple question of having to maintain, control, update, publish and develop TF modules vs just buying the dang thing and not having to worry about it.
Re:HashiCorp IPO today by Rantenki on Thursday December 09, 2021 @09:59PM (#29505953)
If you are operating at a scale small enough where a single person is responsible for applying Terraform, and there are never two or more users interleaving applies which could collide, then you don't need TF cloud.

If on the other hand, you have multiple devs, committing changes, and applying them, then you need something like TF to ensure that the applies are consistent, ordered, and auditable.

For personal use? You don't need TF cloud, but the problems it solves get obvious as you scale up.

Re:HashiCorp IPO today by brightball on Thursday December 09, 2021 @03:49PM (#29502735)
I really like Vault as a stand-alone architectural solution fwiw. Great tool.

I’ve seen interest increasing in Nomad lately as well. More conversations about it.

Terraform has a huge following though.

Re:HashiCorp IPO today by cyberpunk on Thursday December 09, 2021 @06:03PM (#29504289)
k8s won, it's kind of madness not to get onboard at this point. Yes, sure, you can do the 'same things' (almost) with nomad apparently less complexity, but k8s isn't anywhere as hard as it was a year or two ago today..
Re:HashiCorp IPO today by 727374 on Thursday December 09, 2021 @07:36PM (#29505069)
Nomad is the BetaMax of container orchestration. Better quality than K8s in a lot of ways (supposedly), but there's no ecosystem around it so it's a moot point. Want a continuous delivery system that plugs into Nomad a la ArgoCD or Spinnaker? Or a serverless platform that can run on top of it. Or access to people that know how to use it. Be prepared to write your own Nomad bindings and train your team on it.
Re:HashiCorp IPO today by DSingularity on Thursday December 09, 2021 @07:45PM (#29505128)
If you build it they will come I think.
Re:HashiCorp IPO today by 0des on Thursday December 09, 2021 @06:05PM (#29504318)
I think they were just saying they see more people talking about it, not vouching for one side or the other.
Re:HashiCorp IPO today by lysecret on Friday December 10, 2021 @07:49AM (#29509246)
I use it to now and then reset the Dev DB. So it is marginally more convenient than running on your pc (since it takes 20 mins to reset the db). But im sure there are better usecases haha.

Setting all my infrastructure in Terraform in general has been a big waste of time for our startup since as soon as we got it running we never ever had to touch it again. Actually curious if somone touches their infra regularly.

Re:HashiCorp IPO today by Suchos on Thursday December 09, 2021 @03:18PM (#29502389)
At my company, they don't want to deploy OSS Vault on prem. Apparently we need the enterprise edition, because it is easier for our operations team.
Re:HashiCorp IPO today by cyberpunk on Thursday December 09, 2021 @06:01PM (#29504272)
Having used vault quite a lot, I'm not really sold on it. Do you see any value in this tool? I've done the whole sidecar mess, middle of the night three keys unlock like we're arming a nuclear weapon and everything, and most of the time it's just been a total faff and imo security theatre vs actual security.

End of the day, the secrets are being written to a .properties file or /proc/<pid>/env somewhere anyway and can be read by whomever has the permissions or the shellcode to do so..

Re:HashiCorp IPO today by solatic on Friday December 10, 2021 @12:51AM (#29506848)
If you're just storing secrets as static key/value, sure.

Vault's real value is in rotating credentials automatically. Some of that value has eroded over time, e.g. Kubernetes now having IAM Roles for Service Accounts. But Vault handles it for databases, and there are a variety of plugins to handle it for other usecases as well, e.g. https://github.com/martinbaillie/vault-plugin-secrets-github

Re:HashiCorp IPO today by notreallyserio on Thursday December 09, 2021 @06:56PM (#29504807)
I have been curious about this, too. I think I'd want something like vault to issue OTPs that can be exchanged for secrets over a socket to a sidecar, where the OTP is made available as an environment variable set by the orchestrator (eg k8s). If the token is used twice, lock it all down. If it's read but not confirmed to have been received by the service (through some method... dunno), lock it down.

Thanks for coming to my brain dump.

Re:HashiCorp IPO today by dilyevsky on Thursday December 09, 2021 @08:52PM (#29505568)
You can use kubernetes auth in k8s which exchanges you a short lived token for your k8s service acc jwt
Re:HashiCorp IPO today by jen20 on Thursday December 09, 2021 @07:43PM (#29505109)
If you don’t need the Shamir part of Vault, create fewer key shares.

If you integrate properly throughout the stack (i.e “not being negligent”) then secrets will not hit properties files, rotation will happen correctly, and you will be able to audit everything.

You can also do this using a native secret management system if you’re in a a public cloud, but Vault is, for the most part, just better.

Re:HashiCorp IPO today by notreallyserio on Thursday December 09, 2021 @08:31PM (#29505420)
What do you suggest? That is, what is proper? I haven't found a good example showing how to use it without environment variables, files*, or http interfaces with shared secrets, but it has been a while since I dug in and I could have missed something obvious.

edited to add "files"

Re:HashiCorp IPO today by dilyevsky on Thursday December 09, 2021 @08:49PM (#29505550)
Obviously if your app is compromised all its secrets are too. Hopefully one doesn’t pull the entire secrets backend to a single app and has audit logs to assess the actual impact and what else needs to be rotated. Also Vault is not just about kv secrets, there’s also pki, ssh and more
Re:HashiCorp IPO today by selecsosi on Sunday December 12, 2021 @04:21PM (#29533737)
This is one example we put out https://github.com/avantoss/vault-infra for vault that supports auto-unlock and other DR hosting features. Once you set it up you remove access to buckets, keys, and ssh and it runs pretty self contained. Upgrades are pretty seamless. One of the most stable and reliable pieces of our infrastructure. Relies on AWS but could be supported with most cloud platforms
Re:HashiCorp IPO today by Karunamon on Friday December 10, 2021 @07:43AM (#29509196)
With its PKI endpoint, it makes it pretty easy to stand up an internal CA. No faffing about with arcane openssl commands.

The 3 of 5 keys thing is just a default and easily changed.

Re:HashiCorp IPO today by dilyevsky on Thursday December 09, 2021 @08:51PM (#29505559)
Set to autouseal with a transit or cloud (or hms if you pay them $$$) and you don’t need to use sss unless to recover root token (or if somebody leaves)
Re:HashiCorp IPO today by spatley on Thursday December 09, 2021 @03:47PM (#29502716)
Terrraform is declarative and describes the end state of what you want your system to look like. Executing terraform on anything other than blank slate requires that the deployment needs to know state of the current system. You can store that state yourself, or you can have HCP store it for you as a service
Re:HashiCorp IPO today by cyberpunk on Thursday December 09, 2021 @05:59PM (#29504244)
... Or you just throw it in a s3 bucket like everyone else..
Re:HashiCorp IPO today by bigmattystyles on Thursday December 09, 2021 @03:06PM (#29502241)
I assume this is sarcasm? If not - portability comes to mind.