r/devops • • Jul 19 '24

Really hate crowdstrike right now...

Anybody else stuck in a call?

594 Upvotes

372 comments sorted by

View all comments

Show parent comments

65

u/VI51ON Jul 19 '24

People recommending workaround doesn’t understand pain of infrastructure hosted in cloud 🥹. Sure, let me just login into 500 EC2 instances and apply the workaround. Oh wait, I can’t even login into a single instance.

31

u/rmac35 Jul 19 '24 edited Jul 19 '24

I read somewhere you need to shutdown the ec2s and attach the storage to an okay host and then delete the file and can then re attach and boot? My place not affected so I am just curious if that is what the fix is for bricked cloud servers or is there any other fix?

24

u/stumptruck Staff Engineer Jul 19 '24

Yup this is what a friend of mine has been doing for hours.

8

u/rmac35 Jul 19 '24 edited Jul 19 '24

ouch good luck to them, at least there is a fix and can progress towards recovery.

5

u/gscalise Jul 19 '24

I really hope he’s used a script for that and not ClickOps…

3

u/Phaelin Jul 20 '24

I hope the team I built at my last place would script this out. Otherwise they're just in for pain.

11

u/yuriydee Jul 19 '24

Holy shit that sounds so painful to do manually at scale.

8

u/chuiy Jul 19 '24

Don't do it manually? What they described is like 10 lines of powershell and for an average person 1-2 hours of googling to put it together.

14

u/Centimane Jul 19 '24

This is why terraform and other infra tools like cloud-init and ansible are so powerful.

A small team can't manually manage hundreds of servers, but they can automate it.

4

u/Wooden_Possible1369 Jul 20 '24

Couldn't you automate via AWS CLI without having to SSH to the machine?

1

u/Centimane Jul 20 '24

Depends on your cloud provider and needs, but yes.

I was just listing some of the tools, it wasn't meant as an exhaustive list.

2

u/JazzlikeIndividual Jul 20 '24

well in this case you can't even ssh onto it due to crashes, so maybe not in this case

Definitely more of a one-off bash script using your cloud provider's admin cli situation

2

u/Centimane Jul 20 '24

If it were me impacted (and it wasn't so grain of salt) - I would likely:

  • terraform destroy

  • terraform apply

  • [whatever comes next]

Use terraform to rebuild the resources and reconfigure them. Yea it's a pain, but it gets you back to a known state. That sort of practice should be doable, and if not there's a problem with your IaC practices.

→ More replies (2)

11

u/lostarkdude2000 Jul 19 '24

my condolences, hope you and the other IT people get through this without too much stress and hassle.

9

u/[deleted] Jul 19 '24

[removed] — view removed comment

1

u/Wooden_Possible1369 Jul 20 '24

We have 6000 instances and all windows. I was very thankful we weren't affected

4

u/acdha Jul 19 '24

That’s orders of magnitude easier than on-premise since you can automate the process of mounting the EBS volumes, patching, and rebooting using standard APIs – and in this case, AWS patched a large number of customer systems automatically (I’m guessing everyone not use CMKs for storage encryption). 

3

u/[deleted] Jul 19 '24

The latest update is to keep restarting until it is fixed.

1

u/weljoes Jul 19 '24

dude you can try connecting via ssm and uninstall falcon agent

2

u/VI51ON Jul 19 '24

How are you going to use SSM when something is stuck in a constant BSOD loop. The EC2 instance never comes online so the SSM agent service never starts either which makes running the script via SSM impossible.

1

u/[deleted] Jul 19 '24

My org doesn’t use SSM so we were boned