/nginx-controller-automation

NGINX Controller Automation Examples

Primary LanguageHCLApache License 2.0Apache-2.0

NGINX Controller Automation Examples

This repository contains projects that serve as examples for automating the installation or administration of NGINX Controller.

Projects

Controller Installation on Azure with Pulumi and Python

This project provides an example of installing Controller on Azure using Pulumi for infrastructure deployment and bash scripts for instance setup and installation automation. Infrastructure configuration is defined in a Python script that Pulumi executes to stand up Azure instances and services. Key features of this project are:

  • Suitable for production or trial product usage
  • Pulumi with the Azure nextgen provider
  • Python based infrastructure definition
  • Optional support for Azure's SasS offering for PostgreSQL
  • Bash based instance configuration
  • Dedicated expandable (using XFS) data partitions
  • Ephemeral storage configuration for local cache

Controller Installation on AWS with Terraform and Ansible

This project provides a demo of using Packer, Terraform, and Ansible to install NGINX Controller on AWS. Infrastructure is defined by Terraform configuration files. Ansible is set up on instances using Packer. Controller install is performed by Ansible. Key features of this project are:

  • Demo project
  • Terraform and Packer with AWS provider
  • PostgreSQL installed as a separate instance from Controller
  • Mock SMTP server
  • NGINX Plus instance install
  • Ansible Playbook orchestrated installation

License

Apache 2.0