New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB

Sebastian Baszcyj - 23.02.202320230223

Adding Container Registry Credentials for Highly Available Private Automation HUB

New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB

This page describes the process required for the PAH in High Availability configuration.  

The Ansible Automation Platform (AAP) installation does not specify the Load Balancer configuration for PAH during the installation. There is no configuration available on the installed PAH in HA configuration either. As the result, the initial PAH Container Registry Configuration in AAP points to one node only. This configuration does not provide the seamless HA configuration and has to be modified once the Load Balancer is in place.  

The following process outlines the required steps:  

  • Ensure that the Load Balancer has been configured
  • Ensure that the certificate has been generated for Load Balancer’s FQDN (aaph.example.net) and installed on the Load Balancer and all PAH nodes
  • Log to AAP with admin privileges
  • Navigate to Credentials and use ‘Container’ as the search query
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Duplicate the Credential (Automation Hub Container Registry) using copy from Actions on the right
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Edit the duplicate and update the name and PAH’s URL. The following screenshot shows the original configuration before the changes:
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • The following screenshot shows the configuration after the changes. Note the name and the Authentication URL
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Save the Credential 
  • Navigate to Administration → Execution Environments 
  • Duplicate each execution environment and edit the copy. The following screenshot shows the original configuration. Note the Registry credentials and the Image Tag before changes
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • The following screenshot provides the execution environment after the changes. Note the Registry credentials and the Image Tag after changes
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB

Testing

  • Create a new inventory or use an existing one
  • Navigate to Hosts tab and select one or several nodes 
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Click Run Command 
  • Select ping or setup module and click Next 
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Select one of the modified execution environments and click next 
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Select credentials to be used to authenticate to the selected host and click next 
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Click Launch
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Validate the output
New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB
  • Validate the Details tab, ensuring that the Execution Environment used was the one which was modified 
  • Repeat for all execution environments. If All is working, you might remove the original credentials and execution environments and update the names of the new credentials and execution environments to match the original ones 

By following these steps, you can modify the initial PAH Container Registry Configuration in AAP to enable a seamless HA configuration. Ensure that the Load Balancer has been configured, and the certificate has been generated for Load Balancer’s FQDN. Log in to AAP with admin privileges, duplicate the credential, and update the name and PAH’s URL. Finally, save the credential and navigate to Administration → Execution Environments. Make sure to follow each step carefully to ensure a successful configuration.

For any questions or assistance, contact us today. Our experts are ready to help you achieve your automation goals. 

Related Articles

How to configure Ansible Automation SAML SSO with Red Hat SSO
Azure AD Seamless SSO Kerberos Key Using Azure Automation and Hybrid Runbook Worker (Part 2 of 2)
Protecting the automation engine – Backup for Ansible AWX Project

Join the Insentra Community with the Insentragram Newsletter

Hungry for more?

If you’re waiting for a sign, this is it.

We’re a certified amazing place to work, with an incredible team and fascinating projects – and we’re ready for you to join us! Go through our simple application process. Once you’re done, we will be in touch shortly!

New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB

Who is Insentra?

Imagine a business which exists to help IT Partners & Vendors grow and thrive.

Insentra is a 100% channel business. This means we provide a range of Advisory, Professional and Managed IT services exclusively for and through our Partners.

Our #PartnerObsessed business model achieves powerful results for our Partners and their Clients with our crew’s deep expertise and specialised knowledge.

We love what we do and are driven by a relentless determination to deliver exceptional service excellence.

New Zealand | Adding Container Registry Credentials for Highly Available Private Automation HUB

Insentra ISO 27001:2013 Certification

SYDNEY, WEDNESDAY 20TH APRIL 2022 – We are proud to announce that Insentra has achieved the  ISO 27001 Certification.