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.

Awless: A Mighty CLI for AWS

212 pointsby dcuover 8 years ago

21 comments

openasocketover 8 years ago
I hate to pile on to the complaints about sending usage metrics to a server, but this is pretty funky. The metrics include the instance id, account id, a list of the commands run with timestamps, the region, a bunch of metadata about the number of VPCs, Subnets, IAM users and policies, etc. Which is kind of a lot to get, and definitely isn&#x27;t anonymous. Why do they need to know how many VPCs, Subnets, IAM users, and IAM roles I have?<p>Then there&#x27;s how the data is sent. The metrics are converted to JSON, gzipped, then AES encrypted with a random key. The random key is then encrypted with a constant public key. the encrypted key and encrypted payload are serialized into some JSON, and is then POST-ed to an HTTPS URL. This seems unnecessarily convoluted, and even with my meager knowledge of crypto I already see some problems (compressing then encrypting is a no-no) which could spell trouble. Shouldn&#x27;t you just need to upload the JSON of the metrics over an SSL connection?
评论 #13663422 未加载
评论 #13668510 未加载
评论 #13663168 未加载
评论 #13663238 未加载
评论 #13664816 未加载
heartsuckerover 8 years ago
&gt; We also collect a few anonymous data (CLI errors, most frequently used commands and count of resources).<p>Looks cool, but this is an instant no for me. Sorry guys.
评论 #13662038 未加载
评论 #13661874 未加载
评论 #13661895 未加载
评论 #13662211 未加载
评论 #13662069 未加载
评论 #13663942 未加载
评论 #13661820 未加载
评论 #13661767 未加载
vitalyshover 8 years ago
Just wondering here, but why would you use this vs terraform? Given that I can define most of the stuff I need from AWS in terraform and check the state of the infra via plan command, what would be the use case for CLI? I&#x27;m actively trying to break the habit of modifying infra without first writing terraform document for it. This way I can always be sure that I have no surprises when creating a new environment.
评论 #13664080 未加载
评论 #13665434 未加载
评论 #13665982 未加载
评论 #13662942 未加载
jsk2600over 8 years ago
Sorry for off-topic question, but is this considered good golang code ? <a href="https:&#x2F;&#x2F;github.com&#x2F;wallix&#x2F;awless&#x2F;blob&#x2F;master&#x2F;stats&#x2F;stats.go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wallix&#x2F;awless&#x2F;blob&#x2F;master&#x2F;stats&#x2F;stats.go</a><p>I&#x27;m considering learning go but amount of &#x27;return err&#x27; and &#x27;return nil, 0, err&#x27; is instant turn-off. Is this best-practice error handling in go ? Thanks !
评论 #13662068 未加载
评论 #13662179 未加载
评论 #13662029 未加载
评论 #13662271 未加载
评论 #13666440 未加载
评论 #13666442 未加载
rkeene2over 8 years ago
How about some instructions on building it ?<p>It lacks a Makefile or any documentation in the tarball for the latest release (v0.0.13)...<p>I found some sparse documentation on the wiki, but that appears to fail. I tried: GOPATH=$(pwd) go build .<p>And got: $ GOPATH=$(pwd) go build . main.go:19:8: cannot find package &quot;github.com&#x2F;wallix&#x2F;awless&#x2F;commands&quot; in any of: &#x2F;usr&#x2F;src&#x2F;github.com&#x2F;wallix&#x2F;awless&#x2F;commands (from $GOROOT) &#x2F;home&#x2F;rkeene&#x2F;Downloads&#x2F;awless-0.0.13&#x2F;src&#x2F;github.com&#x2F;wallix&#x2F;awless&#x2F;commands (from $GOPATH)
评论 #13662351 未加载
评论 #13662387 未加载
ak217over 8 years ago
If anyone is interested in a more minimalistic alternative to this, I have been designing an &quot;as simple as possible, but no simpler&quot; devops toolkit and CLI on top of the AWS CLI: <a href="https:&#x2F;&#x2F;github.com&#x2F;kislyuk&#x2F;aegea" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kislyuk&#x2F;aegea</a>
010aover 8 years ago
Looks great. My main complaint is that the templates feature appears to be reinventing Terraform. Would have been cool if we could use the Terraform templates we already have, or even provide support for CloudFormation (given this is an AWS-only tool).
评论 #13662001 未加载
djhworldover 8 years ago
Can someone explain why this is different&#x2F;better than the official CLI application?
评论 #13662963 未加载
评论 #13664285 未加载
评论 #13664378 未加载
yumaikasover 8 years ago
The constant -less-ness of operations type tools these days is starting to get rather funny.
评论 #13664551 未加载
aidosover 8 years ago
This looks great. I use the boto tools for all my aws stuff but they&#x27;re clumsy for working in an interactive fashion like this. Going to install now to have a play!
dkerstenover 8 years ago
Looks really slick. From my brief glance though it doesn&#x27;t support the two things I love about the officials CLI: the filter and query facilities.
评论 #13662043 未加载
Techbrunchover 8 years ago
Currently I&#x27;m using: <a href="https:&#x2F;&#x2F;github.com&#x2F;awslabs&#x2F;aws-shell" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;awslabs&#x2F;aws-shell</a> and I love it
eugenejenover 8 years ago
i like that RDF to sync states from between local and remote. Nice to see similar idea that I had for while to have a client for AWS that sync states between AWS and local.
nimrodyover 8 years ago
How do you manage multiple environments (staging &#x2F; production) with these type of tools? How do you avoid making changes in the wrong environment?
评论 #13662579 未加载
johnmarcusover 8 years ago
&quot;We also collect a few anonymous data (CLI errors, most frequently used commands and count of resources).&quot; Nope.
janwillembover 8 years ago
It should have been named &quot;claws&quot;
ne01over 8 years ago
For those who have experience with both, I wonder how does it compare with gcloud CLI?
pmigover 8 years ago
I would love to see a package in AUR. Are there more Arch people over here?
dkarapetyanover 8 years ago
Finally some competition for Terraform.
评论 #13667208 未加载
the_arunover 8 years ago
Nice!! Thanks for sharing @dcu
simplehumanover 8 years ago
To all those complaining about collection of stats: Pretty much _every_ SaaS company is collecting stats about your behavior. It seems a bit off that there is so much rage about a project whose code is out their in the open to collect stats.<p>Point me to atleast a single popular SaaS product that does not have analytics in it&#x27;s page.
评论 #13664943 未加载