TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Infra-as-Code is cloud lock-in

9 pointsby margoralmost 4 years ago

7 comments

TimMurnaghanalmost 4 years ago
Bit of a leap of logic there. Using proprietary cloud services is the decision that causes lock-in, not the tool you use for managing it. Terraform and Pulumi do a resonable job of making similar APIs for the variations of cloud providers - but it&#x27;s not their job to provide an abstraction layer as you need to be able to pull all of the underlying levers. Kubernetes IS an abstraction layer so where you choose to roll you own stuff you can make it somewhat portable to another cloud (at the cost of writing the config).<p>On the choice of cloud services, I&#x27;m happy enough using cloud databases (they can do fast I&#x2F;O and high-availability at a reasonable price). I&#x27;m much less happy with their packaged stuff. Tried out cloud composer this week. Turns out that it can&#x27;t be easily scripted in Pulumi and wants bigger infrastructure than our main application so not the painless composition of services of the marketing brochure.
评论 #28085483 未加载
xorcistalmost 4 years ago
&gt; it can’t tell a damn thing about current state of the system<p>This statement is strange. The author could not possibly have written a line of Ansible, apart from blindly chaining external commands. It is possible to use it like a bash script but that&#x27;s not the intention. Serializing state is its primary use case, and also makes it different from &quot;running commands over ssh&quot;.
评论 #28085313 未加载
yellow_mixeralmost 4 years ago
That title is both misleading and untrue. Infrastructure as Code is exactly that, a way to define your infrastructure definitions code. There is nothing cloud specific about that concept. You can easily write Terrform to work with VMware instances on-prem.
tedk-42almost 4 years ago
clickbait title.<p>Also not related to the content explained, it compares terraform and ansible for most of the content.
评论 #28085268 未加载
gattacamoviealmost 4 years ago
CNCF&#x27;s crossplane seems like the answer to me: <a href="https:&#x2F;&#x2F;crossplane.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;crossplane.io&#x2F;</a> Each vendor creates&#x2F;supports its own &#x27;provider&#x27;, it is day2 operations ready as it reacts to changes done manually (not like terraform), it&#x27;s all around well known k8s api
sylensalmost 4 years ago
Title doesn&#x27;t represent what the blog post is actually about.<p>And even if it did, a tool like Terraform is just the latest iteration of what we&#x27;ve been doing for years already for things like shell scripts. The difference is that Terraform is a declarative language, and therefore it is easier for those who did not write it to review it, audit it, fork it, etc.
madjam002almost 4 years ago
NixOS can for the most part replace Ansible and it gives you actual configuration as code for your VMs as the OS is built up from immutable configuration files and packages (think Dockerfile layers but for VMs and actually reproducible)