Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Activating a policy on Deep Security Agent running on AWS instance

    • Updated:
    • 17 Aug 2018
    • Product/Version:
    • Deep Security 10.0
    • Deep Security 10.1
    • Deep Security 10.2
    • Deep Security 10.3
    • Deep Security 11.0
    • Deep Security 9.6
    • Platform:
    • N/A N/A
Summary

Apply a policy on Deep Security Agent created on Amazon Web Service (AWS) instance by running a script.

Details
Public

When you create an instance from an existing Amazon Machine Image (AMI) instance deployed with deactivated Deep Security Agent, you can add the Reset and Activation command on the Advanced Details section.

To do so, add the following command:

#!/bin/bash
sleep 60
/opt/ds_agent/dsa_control -r
/opt/ds_agent/dsa_control -a dsm://<website>:443/ "policyid:69"

Adding script in Advanced Details

Below are some notes to consider:

  • The entry "#!/bin/bash" is a must have.
  • We recommend to use "sleep 60" because Deep Security needs time to start the agent-related service when you boot on the new instance from the instance template (AMI), which is installed with Deep Security Agent core installer already.

For more information on how to run script in AWS, refer to this article: Running Commands on Your Linux Instance at Launch

Premium
Internal
Rating:
Category:
Configure
Solution Id:
1120745
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.