HNHacker News
TopNewBestAskShowJobs

CSDude

4,390 karma · joined November 6, 2013

I work at JumpCloud
submissionscomments
CSDude··on Ask HN: How to make my macOS less distracting?
Until what you seek is not in the package manager or there is an old version that is not solving your specific issue. I use Arch btw.
CSDude··on You don't need that CORS request
I've just tried it. The following function works exactly as-is when the function is configured as Viewer request. I changed it to append some text to URL.

See: https://github.com/aws-samples/amazon-cloudfront-functions/b...

CSDude··on You don't need that CORS request
Not sure why you cannot strip in your backend, and it's a huge deal. Code needs to be run somewhere though. While Lambda@Edge sucks, Cloudfront runs functions now which is not Lambda@Edge, and faster because it executes on the PoP location. https://aws.amazon.com/blogs/aws/introducing-cloudfront-func...
CSDude··on Ask HN: Dependency Graphs for Cloud Services?
You will never have information about it, even with account manager provided NDAs with cloud providers. And it's a surprise, like Kinesis took a lot of services with it, I would not imagine it. And Facebook disappeared from internet with BGP misconfiguration. My personal experience is that most AWS outages effect one service, one region, but in GCP there is more global outages. But AWS has fair share of some global outages themselves like Kinesis and S3 back then.
CSDude··on The Impending Cloud Reshuffle
Cloud =/= Just EC2, VMs. Why stop with the dedicated services? We can do much cheaper in colocation, or even building a datacenter /s
CSDude··on Apple stopped sales in Turkey after the lira crashed 15% in a day
Yes, exactly. I just wanted to emphasize the increase amount and what we would pay if we were not fast. We saw the increase miles ahead and bought all the stuff out of our own pockets.
CSDude··on Apple stopped sales in Turkey after the lira crashed 15% in a day
It used to be OK. However, recent increase and the longer increase with start of Covid started to amplify in all goods. Even bread is now 1.5/2x more expensive, restuarants are 2x expensive compared to 1YR, because of cascading increases in every industry, mostly transportation and goods. For instance, the wood for the kitchen is increased almost 3x in 6 months according to our guy.

Tech workers are mostly in good spot, (great if working remote). However, in Turkey, minimum wage is almost average wage. I feel very bad for most people, and try to give anyway I can.

Car prices are ridicolous. I could almost buy a Tesla Plaid in US at the price of a BMW 320 here. But it's due to high taxes. These taxes were introduced in the '99 earthquake, meant to be temporary. But those taxes are everywhere, named like "Luxury Consumption Tax".

CSDude··on Apple stopped sales in Turkey after the lira crashed 15% in a day
We were just starting a startup, and bought all computers, monitors, chairs, desks etc. when $/TL was around 8.5. Now one dollar is 12.5 TL. At least our rent for 140m2 is around 1000$ in a very good spot.
CSDude··on Flowchart: How should I run containers on AWS?
CodeBuild runs and dies. AppRunner is an HTTP server with autoscale based on concurrent requests.
CSDude··on Flowchart: How should I run containers on AWS?
AppRunner does not have VPC support since the launch. Otherwise great service.
CSDude··on Flowchart: How should I run containers on AWS?
Not a flowchart but has additional inforomation. https://www.lastweekinaws.com/blog/the-17-ways-to-run-contai...
CSDude··on Flowchart: How should I run containers on AWS?
This apples to oranges comparision always keeps coming up. Comparing AWS to a VPS/Physical Services provider is strange. AWS has more services than Hetzner has as employees. AWS bandwidth, computation has huge and unreasonable price, but there are also superb services in AWS like S3, SQS, DynamoDB, Lambda.

All major cloud providers have similar computation pricing. As much as I love Hetzner, they are not a major cloud provider.

CSDude··on Grafana OnCall: an easy-to-use on-call management tool
Problem is you get same alert deduplicated hundreds of time. And with those limits, you miss others.
CSDude··on Grafana OnCall: an easy-to-use on-call management tool
https://support.atlassian.com/opsgenie/docs/what-is-alert-de...

https://support.pagerduty.com/docs/event-management

CSDude··on Grafana OnCall: an easy-to-use on-call management tool
> Alerts from each integration 300 5 minutes

> Alerts from the whole team 500 5 minutes

> API requests per API key 300 5 minutes

Product looks great but those API request limits are too low, because alerts rain when you are having incidents and rate limiting all of them is harmful. That's why other products have deduplication keys / aliases so you don't miss important ones.

https://grafana.com/docs/grafana-cloud/oncall/oncall-api-ref...

CSDude··on Show HN: M3O – an open source public cloud platform
Positioning itself against as an AWS alternative is improper. It can be something "next-gen". Only useful things are functions, DB, file, and streams. Others are just application specific APIs. And the emoji API.
CSDude··on AWS Communism: How we cut our Load Balancing cost by more than 96%
Nothing is free. Resource sharing comes with the noisy & problematic neighbour issue. An ALB consumes 16.43 USD per month. You need to decide if it's worth the risk, blast radius would be larger in case of incidents. I've seen ALBs timing out because the ALB itself did not scale fast enough, so in a shared environment with 100 different applications, this might be amplified.
CSDude··on Deleting an S3 Bucket Costs Money
You can use lifecycle policies to delete it for free, but its best to confirm it via support. Not saying this is the great way, maybe its intentionally hidden, but at least there is a way.

https://stackoverflow.com/questions/59170391/s3-lifecycle-ex...

CSDude··on MacBook Pro 14-inch and MacBook Pro 16-inch
There was a link in the slides for the models but I missed it.
CSDude··on Global Redis Database for Serverless and Edge
Pay per use
CSDude··on Terraform vs. AWS CloudFormation
So it's 3.5 years old, and the CF was availabile this May. And it is a very widely used feature among many organizations.

If you want to use a new resource and feature, %90 likely it is an issue. There was even a public project to track them. https://github.com/cfntools/cloudformation-gaps/projects/1

You want to have an IAM role, but you can not tag it with Cloudformation. These minor frustrations quickly add up. And see what you need to do to add a custom resource: https://shouldroforion.medium.com/aws-cloudformation-doesnt-...

CSDude··on Terraform vs. AWS CloudFormation
Main use case of Terraform is not portability. Have fun porting your SQS queue, DynamoDB table or VPC config to GCP or Azure equivalents. It won't look like similar at all except the resource name. However, If you are only running containers and virtual machines, sure you can benefit from portability

Cloudformation lags features so bad that you end up hacks or Lambda functions with custom resources. DynamoDB Global tables took 4/5 years to be available in Cloudformation.

I've also seen wrongly constructed Cloudformation deleting critical databases, hanging (often), times out, rollback hanging not succesful, so it's not always rainbows & sunshine there either. Also I don't like Terraform for its usage of excessive state files, handling state files with DynamoDB locks, having them on S3.

I won't deny the good features of it like being managed is a huge plus, but it's so slow and lagging behind, and it's YAML is so verbose an has stack size limits, it's always a workaround with Cloudformation. My company uses it by abstraction for internal PaaS and deployment automation and it takes a lot for trivial changes to complete.

So in short, neither is perfect, but for me Terraform is easier to use, easier to debug, and faster, and features don't lag nearly as CF. Those are good enough reasons to avoid Cloudformation for me. I also don't like CDK because it's too verbose and its still CF, and I would rather generate Terraform JSONs/HCLs myself if I need more logic either.

Terraform also helps when you need to configure multiple stacks i.e for a service you can have a module that reflects your organizational best practices, a Fargate service for runnning container, automatic Datadog dashboards, cloudwatch alarms connected to Opsgenie/Pagerduty etc.

CSDude··on VMware Fusion for Apple Silicon Public Tech Preview Now Available
I run Windows Arm64 11 beta with Parallels and it can emulate x86/64 apps well enoug even on 4.5k resolution things are very snappy. And I run pcon planner which is a 3d modeling program which worked fine. Not sure exact speed though.
CSDude··on AWS Cloud Control API, a Uniform API to Access AWS and Third-Party Services
My use case is for mostly read-calls. I just tried it for DynamoDB Table, SQS Queue, SNS Topic, and EC2 Instance, Kinesis Stream. With these resources, only Kinesis supports List call. SQS Queue & SNS Topic does not even support READ. It might be useful for resource creation, but I would go nuts to discover what resource and what APIs are supported.
CSDude··on I don't think Elasticsearch is a good logging system
Elasticsearch, with a mapping that does not full text search indices disabled, and a relatively larger time, works very well for timeseries data. It does filtering & metric and bucket aggregations crazy fast. And it's very easy to add a new node. Just run on spot instances. We push event per request, which might have 100-500 unique keys, 100 millions of records per day, and no solution we've tried comes at the easiness of Elastic.

Try to replicate the freedom (no-schema, cardinality, adding a new node to cluster) of Elasticsearch with InfluxDB or others and you will hit cardinality problems real fast.

CSDude··on Stop making employees turn on webcams during meetings
I don't want to open them or see others because it kills my CPU and causes throttles, and if I share screen it's like a meltdown is happening. Macbook 15 - 2018 with 6 cores and 32GB memory.

On the other hand, my personal M1 Macbook does not even go past 50C on 30+ person Zoom chats.

I'd still close my feed because the problem I have is too many meetings, and more than half of them are not important. But when you say, this Zoom session should have been an email/slack/document, I come across as "that" person and get shunned.

CSDude··on Vantage Launches Advanced Analytics: See the Cost of Individual AWS Resources
K8s integration sounds useful, there are also many startups in this area, and it's trivial to implement, however please consider that just a workload is requesting 2 CPUs, does not mean you can divide the underlying EC2's price per vCPU or Memory. There is significant overhead running K8s, log collectors, agents, wasted space, and spot instance pricing etc. please be more insightful for that, not just divide by request/limits. Combining these with overall AWS costs would make more sense. However as I said, we tag by service or cost centers, so I would want to associate my Pods and its SQS queue cost together.

Chargebacks in AWS is very complex, i.e in cost explorer net amortized cost vs unblended cost is hard to understand for an average user. It'd be nice if you can have some clarifications on it, what does even amortized mean etc.

We use Cost Explorer API to identify anomalies. Even basic statistics works sometimes. But there is also new native feature that is good enough for us, so we removed that. But it was a very sensitive topic, i.e our S3 usage is steadily increasing %.x per month. Trend & seasonality analysis is a must.

Sorry for my quick and dirty English. This is a hot topic for me and I get excited.

CSDude··on Vantage Launches Advanced Analytics: See the Cost of Individual AWS Resources
I agree AWS should tag all resources with their names already for them to show up in the Cost Explorer. However, we already tag by cost center or teams to identify costs. It's required as a policy and baked in most of our automations. It's also a best practice recommended by even most basic tutorials. If you have a TAM, they would tell you to do this as well when your finance team or person is asking about why these bills are large.

Also, even if they are untagged, it's not like we need to tag them by hand, AWS Resource Tagging API works nice enough, and not every resource is costly that we need to tag them by resource-level.

I support what you are doing however there are too many companies working CUR data in S3 and none of them is good enough and neccessarily faster or more useful than Cost Explorer. Just wanted to understand what you can add on top of it, apart from automatic tagging? part.

CSDude··on Vantage Launches Advanced Analytics: See the Cost of Individual AWS Resources
Tagging is required yes, but its a very simple practice. I worked in both small (3 accounts) and huge (200 accounts) orgs, and tagging, at least by name was never a problem regardless of tens of thousands of resources we manage.

Cost Explorer does all of what you mentioned. UI allows 1 level group by, API does 2. You can filter & group by API Operation (S3 put object), Service (S3), Usage Type (S3 Standard Storage GB/mo), (predefined) Tags and it works brilliantly over even 1 year of data, fast.

I'm really not convinced on what you can do additionally, since you work on the same data exactly (detailed dumps on S3) apart from nicer charts.

CSDude··on Vantage Launches Advanced Analytics: See the Cost of Individual AWS Resources
Not to challenge it, but how does it differ from Cost Explorer in AWS?
← PreviousPage 7 of 21Next →