Common patterns
Run a PostgreSQL database
An Azure infrastructure pattern, deployed with formae.
A managed PostgreSQL Flexible Server reachable from a chosen IP address and from
Azure services. One forma provisions the resource group, the PostgreSQL Flexible
Server, and two firewall rules that open access to your own IP address and to
other Azure services.
Deploy. Apply the example forma. formae orders the resources by their
dependencies automatically, so the resource group comes up before the server,
and the server before its firewall rules:
Verify. Once the command completes, the server is under management:
Tear down. Remove everything the forma created:
The full forma is in the
database example.

