Files
JFrog-Cloud-Installers/AzureResourceManager/Artifactory
Anup Singh a4778172f6 Arm 7.12.8 (#83)
* Updated RT version to 7.12.8

* updated new changes for rt & jcr version 7.12.8 & x-ray version 3.17.2

* updated

* updated release version in artifactory

* Update vm_parameters.json

* Update vm_parameters.json

Co-authored-by: Aayush-sood94 <aayush.sood1@igtsolutions.com>
2021-02-19 10:01:10 -08:00
..
2021-02-19 10:01:10 -08:00
2021-02-19 10:01:10 -08:00
2021-02-19 10:01:10 -08:00

Setup Artifactory Enterprise

This template can help you setup the Artifactory Enterprise on Azure.

A. Deploy Artifactory Enterprise on Azure

screenshot

  1. Click "Deploy to Azure" button. If you haven't got an Azure subscription, it will guide you on how to signup for a free trial.

  2. Enter a valid values to parameters. At least 1 license has to be provided.

screenshot screenshot screenshot screenshot

  1. Click on Review + Create, then on Create to start deploying resources. It will deploy MsSQL or Postgresql database (or it can use existing), Azure Blob storage container, VM installing Nginx and Artifactory and Load balancer.

  2. Once deployment is done. Copy FQDN from Output of deployment template.

  3. Access artifactory using FQDN.

  4. You will see specified artifactory member nodes in 'Admin -> High Availability' page.

Note:

  1. This template only supports Artifactory version 6.18.x and above.
  2. Turn off daily backups. Read Documentation provided here
  3. Use SSL Certificate with valid wild card to you artifactory as docker registry with subdomain method.
  4. Input values for 'adminUsername' and 'adminPassword' parameters needs to follow azure VM access rules.
  5. One primary node is configured automatically. And, minimum 1 member node is expected for the Artifactory HA installation.
  6. This template provides support for max 5 licenses. To add more licenses, Edit the template (input fields, CustomScript sections) and install_artifactory.sh script.
  7. Refer to System Requirements for changing 'extraJavaOptions' input parameter value.

Steps to setup Artifactory as secure docker registry

considering you have SSL certificate for *.jfrog.team

  1. Pass your SSL Certificate in parameter Certificate as string
  2. Pass your SSL Certificate Key in parameter CertificateKey as string
  3. Set CertificateDomain as jfrog.team
  4. Set ArtifactoryServerName as artifactory if you want to access artifactory with https://artifactory.jfrog.team
  5. Create DNS record with entry artifactory.jfrog.team pointing to load balancer value provided as output in template deployment.
  6. Create DNS record with entry *.jfrog.team pointing to load balancer value provided as output in template deployment.
  7. If you have virtual docker registry with name docker-virtual in artifactory. You can access it via docker-virtual.jfrog.team e.g docker pull docker-virtual.jfrog.team/nginx

Steps to upgrade Artifactory Version

  1. Login into first member VM instance and sudo as root. Use the admin credentials provided in the install setup.
    Note: Use load balancer's NAT entries under Azure resources, to get the allocated NAT port for accessing the VM instance.

  2. Stop nginx and artifactory services.

    service artifactory stop
    
  3. Upgrade artifactory with following apt-get install command.

    apt-get update
    apt-get -y install jfrog-artifactory-pro=${ARTIFACTORY_VERSION}
    
  4. Start artifactory and nginx services.

    service artifactory start
    
  5. Repeat above steps for all member nodes then for primary node.

  6. To check the version of each node, open Administration -> Monitoring -> Service status


Note:

Supported locations: East US 2, Central US, West Central US, West US, West US 2 and West Europe.
Please check the Azure region support for Standard Sku property in load balancer for this template to work properly.
Check for SQL server support on specified location. If SQL server is not available in the location, Use 'DB_Location' to specify the location with SQL server support.