Skip to content

Repository files navigation

Datacenter 1 - A demo datacenter

A virtual datacenter that can be with Ansible Automation Platform. This is a framework to deploy the infrastructure needed for many different use cases.

  • Datacenter 1 current capabilities
    • Terraform Infrastructure Management (community)
    • Satellite 6.18
    • Active Directory - coming soon
    • F5 - provisioned, not setup
    • Panos - provisioned, not setup
    • Infoblox - provisioned not setup

Notes

  1. This demo is designed to work with the Red Hat Demo Platform. Please see the aap.as.code repo below. aap.as.code
  2. This demo works with Amazon only currently.

Day 0 - Configuration as code (CAC) a repeatable build process for this demo

This Datacenter 1 demo is part of the AAP bootstrap process found in item 1 above.

Prior to running this

Activate the subscriptions needed for Infoblox, F5, Palo Alto, appliances. Makes sure to do this logged into the AWS account where the provisioning will happen.

  1. https://aws.amazon.com/marketplace/procurement/?offerId=3mxm4sgum7uvec7luih8suh79&productId=3d6f2259-6756-484c-ac5e-f2d9330afe95
  2. https://aws.amazon.com/marketplace/procurement/?productId=cd5685be-9635-460e-9448-20bd5bead545&offerId=c5mtwrozlfns1fnawk1nvx2dh
  3. https://aws.amazon.com/marketplace/procurement/?productId=f1260463-68e1-4bfb-bf2e-075c2664c1d7&offerId=e9yfvyj3uag5uo5j2hjikv74n

New Variables for your online vault

Key Description Purpose
rh_activation_key Red Hat activation key Used by the rhsm role
rh_org_id Red Hat Org ID Used by the rhsm role

Run workflow for Datacenter 1 (DC1)

The workflow will build the infrastructure in the virtual datacenter as well as configure the various capabilities.

alt text

Job Templates

  1. DC1 - Infrastructure Management (Terraform)
  2. DC1 - Satellite Setup

Infrastructure managed

alt text

Satellite

alt text

Local Development — Pre-commit Hooks

Pre-commit hooks mirror the CI checks (terraform fmt + terraform validate) so issues are caught before push.

pip install pre-commit
pre-commit install

To run manually against all files:

pre-commit run --all-files

About

Datacenter 1 ( dc1) is designed to provision a virtual data center. Current state it provisions the ec2 nodes and you have access to them.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages