Summary
Learn how to deploy agents via the the AWS EC2 management console.
Details
- In Deep Security Manager identify your Deployment Scripts. Go to Help and select Deployment Scripts.
- In the dialog box that pops up, choose your target platform. For example, AWS Linux 64-bit.
- Tick the Activate the Agent Automatically checkbox and then choose your initial policy.
- On the text area, select the deployment script and copy it to your clipboard.
- Click Close.
- Go to the AWS EC2 management console.
- Go to Instances and use the Launch Instances wizard to request the desired number of instances.
- Choose the AMI for the new instances.
- Define the number, location, and size of the instances. Then click Continue.
- On the User Data field, paste the deployment script that you saved. This will run the script on first boot for instances that support cloud-init, such as AWS Linux, Ubuntu, and AWS' Windows AMIs. For AWS’ Windows AMIs you will first have to wrap the script in a set of <powershell></powershell> tags.
- Complete the rest of the wizard as desired. Your instances will now launch.
- Go back to the Deep Security Manager and check if the new computers are now available. Depending on a number of factors—such as current load in AWS, number of instances requested, if you’re using the Deep Security AWS cloud connector or not, etc.—you will see the new computers appear in Deep Security after a few minutes (around 1-3 minutes).New agents will activate, generate credentials, receive their initial policy (if specified), and then come online. Once these steps have been completed, you can now manage the security of these instances from the Deep Security Manager.
You can also refer to this video guide to help you in deploying agents.