* ARM templates - 7.7.3 support added. Pro and JCR * ARM templates - Xray 3.8.2 support * ARM templates - Nginx configuration changed for JCR * ARM templates - Xray ARM extension script, yq added, Rabbitmq default password added * ARM templates - Xray, Extension script changes * ARM templates - RT readme updated, branch for extensions scripts switched back to master * ARM templates - JCR, updated API, best practives * ARM templates - Nginx configuration changed for JCR * ARM templates - MP submissions, Xray installation script changes, master key minimun char number added in JCR * ARM templates - Parameters draft * ARM templates - Removed MP submission zip files from the repo * ARM templates - Postgres parameters removed
Setup JFrog Container Registry
This template can help you setup the JFrog Container Registry on Azure.
A. Deploy JFrog Container Registry on Azure
-
Click the "Deploy to Azure" button.
-
Fill out the settings. Make sure to provide a valid SSL certificate. If using no certificate or one that is self-signed, see Docker's documentation on client configuration.
-
Click on "Purchase" to start deploying resources. It will deploy:
- Microsoft SQL database
- Azure Blob storage service
- A VM with NGINX and JFrog Container Registry
- Azure Load Balancer
-
Once deployment is done. Copy FQDN from Output of deployment template.
-
Access artifactory using FQDN.
Note:
- Turn off daily backups. Read Documentation provided here
- Add an SSL Certificate to access Docker without using the insecure option
- Input values for 'adminUsername' and 'adminPassword' parameters needs to follow azure VM access rules.
- Refer to System Requirements for changing 'extraJavaOptions' input parameter value.
Steps to setup Artifactory as secure docker registry
You will need a valid SSL certificate for a domain name (for example, artifactory.jfrog.team)
- Pass your SSL Certificate in parameter
Certificateas string - Pass your SSL Certificate Key in parameter
CertificateKeyas string - Create DNS record with an entry that matches your domain name pointing to the load balancer value provided as output in template deployment.
- You should now be able to access any docker registry using the path method.
- Login:
docker login [domain name]in our example, that would bedocker login artifactory.jfrog.team - Pull/Push to a particular repository:
docker pull [domain name]/[repository name]/[image name]:[tag]- Example with our domain, pull from repository
docker-local, thelatestbusyboximage docker pull artifactory.jfrog.team/docker-local/busybox:latest
- Example with our domain, pull from repository
- Login:
Steps to upgrade Artifactory Version
-
Login into the 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. -
Upgrade artifactory with following RPM instructions.
Note:
Supported locations: East US 2, Central US, West Central US 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.