Installation
Follow this guide to install P0 on an AWS-RDS-managed MySQL instance or cluster. P0 treats individual MySQL instances, MariaDB instances, and Aurora MySQL clusters in the same manner.
Prerequisites
Before you begin, ensure you have
Admin access to the database instance (or cluster)
AWS permissions that allow you to create IAM policies, and grant those policies to roles
AWS permissions that allow you to create ECR repositories, add images to that repository, create Lambda functions, and create VPC endpoints and security groups within the database's VPC
A P0 AWS RDS integration installed on the VPC that hosts the database
Installation
Follow these steps to install P0 on a MySQL instance or cluster
Via the P0 app
Navigate to Integrations > MySQL in the P0 app
Select the IAM management component
Click Add instance
Enter a unique identifier for the instance (this can be any value you like)
Choose AWS RDS hosting
Enter the ARN of the AWS RDS instance
Select the installed P0 AWS RDS VPC integration
Click Next
Run the supplied SQL command in the MySQL instance
Run the supplied Terraform to deploy the P0 connector
Click Next
If desired, configure the port and default database for this instance
Click Finish
Via the P0 Terraform provider
Ensure you have a configure P0 Terraform provider (follow the provider docs at https://registry.terraform.io/providers/p0-security/p0/latest/docs to configure).
Use the example module definition at https://registry.terraform.io/providers/p0-security/p0/latest/docs/resources/mysql to configure P0's access to your environment.
Run
terraform initandterraform apply.
Last updated