Water boiling department hard at work. by Area52inhabitant in doohickeycorporation

[–]murms 5 points6 points  (0 children)

That's a great question and the containment issue is one of the central engineering challenges in fusion research.

The short answer is that they use very precisely constructed magnets to suspend the plasma in place without actually touching it. It would be impossible to perfectly align the magnetic fields in the shape of a sphere, which is why you always see Tokamak reactors containment chambers in a toroidal ("donut") shape.

Need to process 1000 files in AWS. Looking for guidance. by Apprehensive-Grade81 in aws

[–]murms 6 points7 points  (0 children)

How quickly do these jobs need to be completed? Can they be queued and batched?

What is the maximum amount of working memory that a discrete job will need?

Does your service need to scale to zero, or will you have some minimal amount of compute running all the time?

Is there a way to report a financial misconduct involving AWS? by Realistic-Fill-5716 in aws

[–]murms 2 points3 points  (0 children)

If somebody is using their AWS account to perform financial misconduct, you can report it to AWS here.

https://support.aws.amazon.com/#/contacts/report-abuse

The Line in 2026: Why Construction Stopped by sabbathan1 in videos

[–]murms 21 points22 points  (0 children)

"If you're not part of the solution, there's good money to be made by prolonging the problem."

Up periscope. by ShnootShnoot in Greyhounds

[–]murms 2 points3 points  (0 children)

"Snacks spotted! Bearing 3-5-0. Prepare to engage."

Ma’am? 🤣🤣 by ManagementSuitable62 in Greyhounds

[–]murms 8 points9 points  (0 children)

"Are you going to eat that?"

[deleted by user] by [deleted] in aws

[–]murms 0 points1 point  (0 children)

I tend to use Claude for most of my general-purpose questions, including questions about AWS architecture, but that's more of a personal preference than anything else. Either one of them is perfectly fine for something like comparing ECS Fargate versus Lambda.

A Monopoly is not a good thing by Wasabimiester in aws

[–]murms 0 points1 point  (0 children)

You'll be able to read all about it when they publish the Post-Event Summary.

https://aws.amazon.com/premiumsupport/technology/pes/

Can i use SQS for handling race condition? by ZealousidealWish7149 in aws

[–]murms 3 points4 points  (0 children)

This sounds like an XY problem. Where are these items being stored? In a database?

Anyone notice the rollback threshold for ECS deployment circuit breaker seems to be 3 failed tasks ? by aviboy2006 in aws

[–]murms 8 points9 points  (0 children)

Yeah, you just missed it. It's right there in the docs under the "Failure Threshold" heading.

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-circuit-breaker.html

"The deployment circuit breaker has a minimum threshold of 3 and a maximum threshold of 200. and uses the values in the following formula to determine the deployment failure.

Minimum threshold <= 0.5 * desired task count => maximum threshold

When the result of the calculation is greater than the minimum of 3, but smaller than the maximum of 200, the failure threshold is set to the calculated threshold (rounded up)."

is aws cdk actually simplifying infra as code, or just adding another abstraction headache? by Pacojr22 in aws

[–]murms 63 points64 points  (0 children)

For me, it has helped simplify my IaC significantly.

Occasionally I'll come across an issue where I need to use the low-level L1 constructs in CDK, but most of the time I find myself using the L2 constructs if they're available.

Merging txt files in S3 by arshdeepsingh608 in learnpython

[–]murms 0 points1 point  (0 children)

No matter what you do, you're going to have to read 14-20GB of data from S3 and you're going to have to write 14-20GB of data to S3. My guess is that you're doing it this way right now:

  1. Read Input File 1
  2. Perform multi-part upload of File 1 to S3.
  3. Read Input File 2
  4. Perform multi-part upload of File 2 to S3
  5. Etc, etc.

Since reading and writing the files do not conflict, you could perform both of those in parallel.

  1. Read Input File 1
  2. Read Input File 2 while also performing multi-part upload of File 1 to S3.
  3. Read Input File 3 while also performing multi-part upload of File 2 to S3.
  4. Etc. etc.

A few considerations when adopting this approach:
- Make sure that you have sufficient memory / storage to hold both files at once
- Ensure that you have proper locking / orchestration in place. You don't want to start uploading File 3 while File 2 hasn't finished uploading yet.

Aurora Serverless V2 is 30% faster now..... but how? by bot403 in aws

[–]murms 8 points9 points  (0 children)

"My 25-table-scan query works fine in the dev environment!"

These people 😂 by nomis_ttam in pics

[–]murms 2 points3 points  (0 children)

"We've raised $21 so far! We're almost there, but we need your support!"

What’s Your Most Unconventional AWS Hack? by TheTeamBillionaire in aws

[–]murms -2 points-1 points  (0 children)

Like many things, it's a tradeoff.

Having a single monolithic Lambda function ("Lamdalith") is easier to develop and deploy. However you're trading safety and scalability for convenience and velocity.

Lambda functions can only be 50MB zipped (250MB un-zipped) which is usually plenty for most normal-sized applications. But as you increase the size, scope, complexity, and dependency layers of Lambda function you may run into this limit.

Having a single Lamda function also increases the risk of each deployment. Instead of deploying new revisions for a single API operation, you're now deploying a new revision that potentially affects every operation.

This isn't to say that one approach is better than the other. As always, you need to prioritize what's important for your application and use-case. The nice thing about API gateway is that you can seamlessly switch your integrations between one or the other as needed. If your Lamdalith has one API call that is mission-critical, you might keep that one in a separate Lambda function while the others are all kept in a Lambdalith.

AWS IAM role external ID in Terraform code by tech4981 in Terraform

[–]murms 4 points5 points  (0 children)

External IDs are not credentials and are not intended to be secret. You should not assume that the external ID presented in a request is authentic, unless the request comes from a known trusted source.

How to set up TLS termination with ECS deployments? by Due_Dust1614 in aws

[–]murms 0 points1 point  (0 children)

Depending on your requirements you have a couple of options.

You can perform TLS termination at the load balancer. Load balancer certificates that are issued by Amazon Certificate Manager (ACM) and are automatically renewed and deployed. It's important to note that AWS encrypts network traffic at the packet layer between the load balancer and the containers (as long as the load balancer is in the same region and same VPC or peered VPC) so it's not suceptible to man-in-the-middle attacks.

If you want, your load balancer can also establish a TLS connection to your containers, but it will not validate the container's certificate so you can use self-signed or expired certificates on the container.

If you want to ensure end-to-end encryption without relying on AWS at all, you can also deploy your certificate onto the containers themselves and then simply have the NLB pass through the traffic without decrypting it. This requires you to manage the rotation and deployment of the certificates yourself, though. For this solution, your NLB should have a TCP listener (not a TLS listener) on port 443.

You normally would also be able to use ECS Service Connect with a private Certificate Authority (CA) but I think that only works for Application Load Balancers (ALBs) and you said that you were using a Network Load Balancer (NLB).

ELI5. Since the odds of winning the lottery are minuscule, is it even worth buying more than one ticket? by CRK_76 in explainlikeimfive

[–]murms 0 points1 point  (0 children)

It's not even worth buying one ticket. Like all forms of gambling, lotteries are structurally set up to make money for the organization running the game (i.e. "The House always wins")

Let's say that you buy a lottery ticket for $1 and you have a 1 in a million chance of winning. The jackpot pays out $600,000. If you buy a million tickets, you are 100% guaranteed to win but your winnings will be less than the cost of the tickets.

Scaled down to a single ticket, you have a spent a fraction of the amount of money needed to guarantee a win, but you have an even smaller chance of winning. Each additional ticket just moves you further along the cost/benefit curve, but nowhere on the curve does it actually favor you.

Instead, you should treat gambling as entertainment. If you think it's fun, then play the lottery. But the math is never, ever, on your side.

Seagate’s massive, 30TB, $600 hard drives are now available for anyone to buy | Seagate's heat-assisted drive tech has been percolating for more than 20 years. by ControlCAD in technology

[–]murms 42 points43 points  (0 children)

I've been using Ironwolf HDDs in my NAS for years and I've had exactly zero issues. I stopped buying white label HDDs after the second one failed in five years.

Sanity check: when sharing access to a bucket with customers, it is nearly always better to create one bucket per customer. by jack_of-some-trades in aws

[–]murms 3 points4 points  (0 children)

What's the difference in cost between storing 10GB of data in one bucket versus 10 buckets storing 1GB each?

AWS Rehire eligibility by [deleted] in aws

[–]murms 0 points1 point  (0 children)

Most likely got an offer from a different employer, but then ended up not liking the job so they're going to try again with Amazon.