

# Enabling automated security agent for Amazon EC2 instance
<a name="managing-gdu-agent-ec2-automated"></a>

This section includes steps to enable GuardDuty automated agent for your Amazon EC2 resources in your standalone account or a multiple-account environment. 

Before you continue, make sure to follow all the [Prerequisites for Amazon EC2 instance support](prereq-runtime-monitoring-ec2-support.md).

**Topics**
+ [Enabling GuardDuty agent for Amazon EC2 resources in multiple-account environment](manage-agent-ec2-multi-account-env.md)
+ [Enabling GuardDuty automated agent for Amazon EC2 resources in a standalone account](manage-agent-ec2-standalone-account.md)
+ [Migrating from Amazon EC2 manual agent to automated agent](migrate-from-ec2-manual-to-automated-agent.md)

If you are migrating from managing the GuardDuty agent manually to enabling GuardDuty automated agent, then before following the steps to enable GuardDuty automated agent, see [Migrating from Amazon EC2 manual agent to automated agent](migrate-from-ec2-manual-to-automated-agent.md).