Check out our free resources, like our pganalyze eBooks and sign up to our newsletter.

Step 1: Move Database into VPC

In order to securely deliver logs to the collector, your database must run in an Aiven VPC peered to the VPC of the EC2 instance or container the collector is running in. In later steps we refer to this VPC as the "collector VPC". If you have not done so yet, go to the Aiven console and create a VPC for the project in the same region where your database is running:

Create a VPC in Aiven

Make sure that the VPC IP range does not overlap with the collector VPC you will need to peer. For example, if your collector VPC uses the range, selecting for your Aiven project VPC makes it possible to peer the networks.

Then, go to the database details page in the Aiven console click "Migrate Cloud" to migrate your database to the VPC you just created:

Migrate database to a VPC

Rebalancing your database nodes will take a few minutes after migration.

Continue to Step 2: Configure VPC Peering

Couldn't find what you were looking for or want to talk about something specific?
Start a conversation with us →