The scenario requires you to properly configure Amazon Inspector. This entails creating an instance profile for an EC2 instance, which will allow the instance to be managed by Systems Manager. This is a prerequisite for Amazon Inspector. This hands-on lab provides an introduction to AWS Security Hub and how it can be used to analyze the security of an AWS account. You can view this hands-on lab as a Security Hub quick start guide.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Launch EC2 Instance
- Launch an EC2 instance using an Amazon Linux 2 AMI.
- Accept the default for the SSH port ingress of
0.0.0.0/0
.
- Enable Amazon Inspector
- Enable Amazon Inspector.
- Run the SSM Automation to troubleshoot the EC2 instance.
- Create an Instance Profile and Attach to EC2 Instance
- In IAM, create an instance profile with an SSM Management policy.
- In EC2, attach the policy to the EC2 instance.