- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-28-2025 01:07 PM - edited 03-03-2025 09:17 AM
Prisma Cloud uses AWS Systems Manager (formerly known as SSM) to deploy defenders to EC2 instances.
This document is to help streamline the deployment process and provide step by step instructions on how to deploy.
Use this guide when you are trying to deploy host defenders automatically on AWS EC2 instances using AWS Systems Manager.
Requirements:
EC2’s needing Defender installation will require the above-mentioned IAM role. The permissions look like this:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ssm:SendCommand",
"ssm:DescribeInstanceInformation",
"ssm:ListCommandInvocations",
"ssm:CancelCommand",
"ec2:DescribeRegions", //You can ignore if you already have these permissions as apart of the discovery feature
"ec2:DescribeTags",//You can ignore if you already have these permissions as apart of the discovery feature
"ssm:SendCommand"
],
"Resource": "*"
}
]
}
Workflow Steps:
Figure 1: iamrole_PaloAltoNetworks.jpeg
Figure 2: modifyiamrole_PaloAltoNetworks.jpeg
sudo systemctl stop amazon-ssm-agent (command for amazon linux)
sudo systemctl start amazon-ssm-agent (command for amazon linux)
Workflow Steps:
Figure 3: create-collection_PaloAltoNetworks.jpeg
Figure 4: add-new-auto-defendrule_PaloAltoNetworks.jpeg
Workflow Steps:
The following screenshot shows that Auto-defend discovered 1 EC2 instance and deployed a defender.
Figure 5: defenders-auto-defend_PaloAltoNetworks.jpeg
Figure 6: aws-run-command_PaloAltoNetworks.jpeg
You now have a foundation to be able to automatically protect all your hosts in your AWS environment using a Prisma Cloud host defender.
By following the steps outlined in this document, organizations can efficiently deploy host defenders across multiple hosts, ensuring comprehensive security coverage. This automation not only saves time and reduces the potential for human error, but also enhances the overall security posture by maintaining consistent and up-to-date defenses against threats. As cloud environments continue to evolve, utilizing tools like Prisma Cloud Auto-Defend will be crucial for maintaining robust security in an increasingly complex digital landscape.
[4] AWS IAM Roles
Prateek Pawar is a Cloud Security Engineer on the Prisma™ Cloud CWPP team, specializing in supporting all compute solutions for Prisma™ Cloud AWS, Azure, GCP, OCI, and Alibaba.
Prateek’s expertise spans from securing most if not all compute workloads including but not limited to containers and Kubernetes on Prisma™ Cloud. He uses collaborative approaches to break down complex problems into solutions for global enterprise customers and leverage their multi-industry knowledge to inspire success.