Easily Scale JFrog Artifactory with AWS CloudFormation

Many businesses from small to medium companies to large enterprises are using Amazon Web Services (AWS) to host their infrastructure. But creating, keeping track of changes, and managing your infrastructure can be challenging. Replicating your entire stack multiple times for development and testing purposes can be a tedious, error-prone, and time-consuming process. AWS CloudFormation makes it easy to create, provision resources, and manage the replication of your infrastructure.In this blog post, we show you how to easily create, scale, manage or upgrade yourJFrog Artifactorycluster using our customized CloudFormation template in less than 30 minutes.
What is CloudFormation?
CloudFormationis a service that helps you model and set up your AWS resources and allows you to deploy resources like virtual machines, networks, databases, storage, users, permissions, custom applications, and security appliances on the AWS cloud platform by writing software instead of clicking buttons. A “CloudFormation Template” is a text file written in a specific format that defines the AWS resources you want to create and AWS CloudFormation takes care of provisioning and configuring those resources for you.
为什么使用AWS CloudFormation部署Artifactory ?
Manages Automation and Deployment
AWS CloudFormation provisions your resources in a safe, repeatable manner, allowing you to build and rebuild your infrastructure and applications, without having to perform manual actions or write custom scripts. CloudFormation takes care of determining the right operations to perform when managing your stack and rolls back changes automatically if errors are detected.
Treats Your Infrastructure as Code
Codifying your infrastructure allows you to treat your infrastructure as just code. You can author it with any code editor, check it into a version control system, and review the files with team members before deploying into production.
Managing Your Artifactory Stack Using CloudFormation
The following diagram shows the components in the AWS CloudFormation topology:

Prior to deploying your Artifactory Enterprise stack in AWS, prepare these components as displayed in the diagram:
- A VPC
- A single private subnet and two public subnets
- An RDS (for example: MySQL)
- An IAM User
- 年代3 Bucket
- 年代ecurity Groups
- Create two Auto Scaling groups for the primary and secondary
- ELB
The followingstep-by-stepworkflow demonstrates how todeploy the Artifactory Enterprise stack using our customized CloudFormation template:
年代tep 1:Go toAWS Console> Services> Management Tools> CloudFormationand clickCreate New Stack.
年代tep 2:Upload theArtifactory Enterprisetemplate to Amazon S3.
年代tep 3:Pass the parameters.
年代tep 4:Create the stack.
年代tep 5:Access Artifactory using the Artifactory ELB URL provided in the Output section.
To learn more about how to fine-tune your Artifactory deployment to accommodate your specific requirements, see theJFrog Cloud Installersarea.
Now that your Artifactory is up and running in AWS using CloudFormation, it’s time to rock and roll!