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.
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?
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.
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).
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.
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.