DeepFactor provides an AWS CloudFormation template to simplify the process of installing and provisioning DeepFactor Portal on your AWS account.
DeepFactor Portal can be installed in any of the following AWS regions:
If your region is not listed above, please email us at: email@example.com.
Ensure you have the following prerequisites satisfied before you begin:
This guide assumes the user has basic knowledge of AWS CloudFormation.
Please follow the steps below to install DeepFactor Portal:
Step 1: Create your DeepFactor account on my.deepfactor.io
Step 2: Download the DeepFactor AWS CloudFormation template by clicking on the "Download CFT" button.
Step 3: Login to your AWS account and go to CloudFormation.
Step 4: Click on Create stack. In the "Specify Template" section, select "Upload a template file."
Step 5: Upload the CloudFormation Template downloaded from my.deepfactor.io.
Step 6: In the "Specify Stack Details" step, enter a name for the stack and configuration details.
The config options are explained below
EC2 Instance Type: EC2 instance type of the node on which DeepFactor portal should be installed.
- EC2 Key Name: SSH key pair. You will need this key pair (pem file) to ssh into the DeepFactor instance.
- VPC: AWS virtual private cloud you want DeepFactor portal to be installed in.
Subnet: Subnet you want DeepFactor portal to be installed in. Please ensure you select a subnet in the selected VPC else stack creation will fail. A security group will be created in the specified VPC and the DeepFactor Portal EC2 instance will be created in the subnet you select.
Allow SSH from: CIDR range from which you would like to SSH into the DeepFactor portal EC2 machine.
Allow DeepFactor Telemetry from: CIDR range from which you would like to run your applications. Security groups would be created to allow these IP ranges to communicate with the DeepFactor portal over 443 and 8443 ports
- Portal Hostname (Optional): A valid FQDN (fully qualified domain name) for your DeepFactor Portal instance. If you do not enter the hostname, the default AWS public hostname will be used.
- Associate Elastic IP?: If you select yes, an elastic ip will be associated with the DeepFactor Portal Instance. Please note, if you select this option, your DeepFactor portal EC2 instance will have a public IP but only ports 443, 8443 and 22 would be exposed to the CIDR ranges you entered in the parameters section.
- Proxy URL (Optional): If this EC2 instance will be launched behind a proxy, please enter the full proxy URL (ex. http://10.1.1.16:3128). If not, please leave this parameter empty.
- First Name: Admin user's first name.
- Last Name: Admin user's last name.
- Email: Email address with which you will login to the DeepFactor portal.
- Password: Password of the admin user.
Note: Please remember the email and password. You will need them to login to the DeepFactor portal once the installation completes.
Internal Container Image Registry: Full url of your internal container registry. If you leave this field blank, container images will be pulled from DeepFactor's public registry (public.ecr.aws/deepfactor/).
- DockerConfig: If the registry requires secrets to pull images, provide the docker config in base64 encoded format. If not, please leave this field blank.
Step 7: Click next and then create.
Step 8: CloudFormation will now start creating the stack. You can check the status of the stack creation in the "Events" section. It generally takes about 5 minutes for the AWS resources to be created and another 5-10 minutes for DeepFactor Portal to be setup on the AWS EC2 instance.
Step 9: Once the stack is created, go to the "Outputs" section. Here you will find the CustomPortalHostName, PublicPortalUrl and PrivatePortalUrl. Please check the following article to know which one to use to access the DeepFactor Portal in your network environment.
Resources created in your AWS account
The following resources will created after the CloudFormation stack is successfully created
1. DfControlPlane: An EC2 instance of the type you selected. We recommend the following EC2 instance types.
2. DfSecurityGroup: A security group with the following rules
3. DfEIP (Optional): An Elastic IP that is assigned to DfControlPlane EC2 instance. This will be created only if you select 'yes' for 'Associate Elastic IP?' (AssignEIP) parameter.
The following architecture diagram shows the resources created by the CFT. Please note, Elastic IP address is optional and will be created only if you select 'yes' for 'Associate Elastic IP?' in the parameters section.
Also, depending upon where your applications are running you can decide to deploy the DeepFactor portal in a public or private subnet. You can read more about how you can access the DeepFactor portal in different subnet types in the following article
Costs of resources
1. DfControlPlane: EC2 instance pricing will depend on the instance size selected in the parameters section of the CFT. Please use the following link to know the pricing for the instance selected
2. DfEIP (Optional): If you selected 'yes' for 'Associate Elastic IP?' in the parameters section, an Elastic IP (EIP) will be assigned to the DeepFactor Portal Instance. In such a case, the EIP cost will be incurred. To understand how EIP is charged by AWS, please refer to the following article
3. DeepFactor license cost: Please find the details of DeepFactor licensing cost below: