DEV Community

Cover image for How-to deploy GuardDuty from dedicated account on multi-accounts and multi-regions organization
Ménahem Houri
Ménahem Houri

Posted on

How-to deploy GuardDuty from dedicated account on multi-accounts and multi-regions organization

Amazon GuardDuty is an AWS service of threat detection that continously monitor AWS accounts and workload for malicious activity and anomalous behavior to protect AWS accounts, workloads, and data.

In that post we will see how to activate Amazon GuardDuty on multiples account's and multiples regions.

When you have multiples accounts the first account created on AWS is the "Management account". It utilizes in that account AWS Organisations as a management account (or the payer account to pay bills from different accounts), which gives the account the ability to create and financially manage member accounts.

We will use GuardDuty with AWS Organizations to "find" all the accounts in the organizations (if there's multiple accounts).
Also as a best practices we will have a dedicated account for the security part.
When initializing GuardDuty we have the option to delegate the administrator of GuardDuty to another account (in our case Security account)

GuardDuty - Delegated Administrator

In the delegated account we will have the option to enable GuardDuty on another accounts, and also to auto-enable in another accounts with different options

GuardDuty - Auto enable

And, voila! GuardDuty is now enabled on different accounts (it can take 24h before all the data appear on the console)

GuardDuty - Multi Account

But...wait, it's only activated on one region, how to enable on an another region ?
We will have to come-back on the management account and activate the second region with the same delegated administrator account, after that we can (again) activate GuardDuty on the security account on all the project account of region 2.

GuardDuty - Region 2

If you have any comments or observations on how to do better, feel free to comment below.
Thanks to Hugo for the idea

Image of Quadratic

Python + AI + Spreadsheet

Chat with your data and get insights in seconds with the all-in-one spreadsheet that connects to your data, supports code natively, and has built-in AI.

Try Quadratic free

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please show some love ❤️ or share a kind word in the comments if you found this useful!

Got it!