Enforce fine-grained policy control across your data infrastructure

Enforce fine-grained policy control across your data infrastructure

Jun 26, 2023

In this video, Dewan and Peter help Rapu, a fictional crab, to be successful in his first few weeks as a junior DevOps engineer. They cover how open policy agent (OPA) can be used together with Terraform to enforce fine-grained policy control across a data infrastructure.

The GitHub repository for the demo: https://github.com/dewan-ahmed/terraform-policy-tutorial

To create an Aiven authentication token, check out: https://www.youtube.com/watch

Dewan Ahmed: https://twitter.com/DewanAhmed / https://www.linkedin.com/in/diahmed/
Peter O'Neill: https://twitter.com/peteroneilljr / https://www.linkedin.com/in/peteroneilljr/

CHAPTERS

00:24 What’s the challenge?

2:10 The architectural diagram

5:19 Module one: Set up Terraform files

12:04 Prepare the input for the policy

16:27 Write policy in Rego

27:04 Create the data block

34:35 Adding unit tests for the policies

40:40 Summarize the learning

ABOUT AIVEN
Aiven’s cloud data platform helps your business reach its highest potential by making your data work for you.

It provides fully managed open source data infrastructure on all major clouds, helping developers focus on what they do best: innovate and create without worrying about the limitations of technology.

We like to think that Aiven is not only a cloud data platform but also an
extension of your team. We are dedicated to helping you to succeed by removing barriers and finding the right solutions – with the help of the best data technology there is.

Try Aiven for free: https://console.aiven.io/signup

CONNECT WITH US
Website: http://aiven.io​​​
LinkedIn: https://linkedin.com/company/aiven​​​
GitHub: https://github.com/aiven​​​
Twitter: https://twitter.com/aiven_io​​​