How do you manage patching and access for EC2 fleets securely?
IntermediateProductionSecurity Services and Data Protection
Answer
Systems Manager: Session Manager for shell access (no SSH keys, no open port 22, sessions logged to S3 or CloudWatch with IAM-based access), Patch Manager with patch baselines and maintenance windows, Inventory for installed software, and Run Command for fleet operations. Better still, treat instances as immutable: bake patched AMIs with EC2 Image Builder on a schedule and roll ASGs with instance refresh.
More on Security Services and Data Protection
What is a minimal security services baseline for every account?BeginnerHow do you roll out GuardDuty across an organization and what protections do you turn on?IntermediateHow do you handle the flood of findings from GuardDuty and Security Hub?AdvancedWhat does Security Hub add on top of GuardDuty?BeginnerHow do you automate remediation of security findings?AdvancedHow do you design a KMS key strategy?Advanced