Enterprise Deployment Guide for AWS
AWS Enterprise Deployment Guide for RagaAI Prism
Deploying RagaAI Prism on your AWS infrastructure ensures that your data remains secure and within your control. Follow these steps to set up RagaAI Prism in your AWS account.
Provision Base Infrastructure
To get started quickly, you can use the Terraform Templates and scripts provided by the Raga team:
Pre-Requirements
Set Up the AWS User: The user running the installation is assumed to have administrator privileges. Alternatively, create a dedicated IAM policy with a specific set of permissions.
Service Quotas: Ensure that the Service Quotas minimum is set to 32 vCPUs at the account level for compute-optimized (C) instance types for EKS worker node groups.
Ensure that your system supports Bash commands
AWS login using CLI
Validate aws cli Login:
aws sts get-caller-identity
Execute the following command to Provision the Environment:
Extract the TAR file provided by the RagaAI team:
tar -zxvf raga-prism-terraform-<version>.tar
Create S3 Bucket:
aws s3api create-bucket --bucket <bucket-name> --region <region>
Replace placeholders:
<region>
: Deployment region<bucket-name>
: S3 Bucket NameUpdate Terraform Variables:
Update Terraform Variables
Update the terraform.tfvars
with the required values
customer_name: This will be the prefix for all AWS resources
region: Deployment region
vpc_cidr: your preferred CIDR range
s3_bucket_name: s3 bucket name that you created in the above step
Terraform Initialization
Execute the following command for terraform init:
terraform init \
-backend-config="bucket=<s3_bucket_name>" \
-backend-config="region=<region>" \
-backend-config="key=tf/raga/terraform.tfstate" \
-var-file=terraform.tfvars
Terraform Apply
Execute the following command for provision the infra with terraform:
terraform apply -var-file=terraform.tfvars -auto-approve
Terraform Output
Get the required details to install Raga Prism in the next step:
terraform output infrastructure_summary
List of AWS Resources Provisioned by RagaAI Terraform Infrastructure
Note: You can also set up your cloud environment using the following requirements as an Alternative to the RagaAI Terraform templates
Install Raga Prism
Install Raga Prism:
SSH into the instance and run the installation command.
Configure kubectl to interact with your Amazon EKS (Elastic Kubernetes Service) cluster
Copy the TAR file provided by the RagaAI team into he instance & extract the file
Update the
.env
file with the values that you get when you execute the terraform output command
Execute the following command to deploy Prism:
python3 aws-prism.py
Run the Database Migration
helm install db-migration helm/db-migration -n raga \
--set ReleaseTag=<ReleaseTag>
Install Raga Services
helm install raga helm/raga -n raga \
--set ReleaseTag=<ReleaseTag>
Access Raga Prism
Access Prism UI with the private loadbalancer Endpoint
Portal:
http://<Load_Balancer_EndPoint>
API:
http://<Load_Balancer_EndPoint>/api
For any issues during the deployment process or additional assistance, please contact our support team at [email protected].
Last updated
Was this helpful?