Artifactory 5.0.0 AMI by Kurian
Clone this wiki locally
When an AWS EC2 node is spun up using Kurian’s Artifactory AMI, JFrog’s OSS version of Artifactory, a popular DevOps tool to manage build artifacts and other binary files, is up & running and fully functional. You can start deploying files into that right away.
All the necessary dependent software – mainly a compatible version of Java, have been baked into the AMI, pre-installed and configured.
- The AMI has the OSS version of Artifactory pre-installed and configured, with the dependent applications.
- After the EC2 node is spun up, you can login to the application after the admin password is reset.
- Once logged in as an admin you can create repositories and deploy files into those repositories that can be shared across the company, with users and applications via HTTP.
How It Works
Artifactory is a Java based application and the usual steps to set it up are the following:
- Install a compatible version of JDK.
- Install Artifactory software using a related package management system available for the target OS platform.
The Kurian’s AMI comes with all the above steps baked in, so the EC2 node spun up from it will be usable from the get-go.
Spin up EC2 node using Kurian’s Artifactory OSS AMI, with ports 22 and 8081 open from the network(s) where the application will be accessed.
Access Artifactory UI using url: http://NODE-IP:8081/artifactory/ on a browser. Make sure that the UI displays fine on the browser. At this point you won’t be able to login as admin user because out-of-the-box password is scrambled for security reasons.
SSH into the EC2 node and run the following script to reset the admin password:
- sudo /var/opt/jfrog/artifactory/etc/restore-admin-password.sh
Bring Artifactory UI on the browser using url http://NODE-IP:8081/artifactory/
- Login as user ‘admin’ with password ‘password’.
- Immediately after you log in, change password and update the email address of admin user to secure the application.
Follow steps available in Artifactory documentation to setup repositories for uploading binaries.
Maintenance and Troubleshooting
Kurian can help with configuring Artifactory for your specific requirements. Contact us with details to email@example.com
Remote Access to EC2 Node
The EC2 node can be accessed using any SSL based remote access clients on port 22, using the ssh key you have selected when the node is spun up.
Following are the pre-defined users available when a node is provisioned:
- Amazon Linux: ec2-user
- Red Hat Linux: ec2-user
- SuSE Linux: ec2-user
- Fedora: fedora
- CentOS: centos
- Debian Linux: admin
- Ubuntu: ubuntu