AWS Deployment
Last updated
Last updated
On a workstation with access to your AWS cloud, install the following tools if you don’t already have them available:
Create a new EKS cluster, or choose an existing cluster to install Violet into. The cluster must have at least 3 nodes with at least 8GB of RAM. t3.large or bigger is a good choice. When creating a new IAM role for the EKS Worker Node Role, make sure to add ec2:CreateVolume
permissions by attaching the AmazonEBSCSIDriverPolicy
In your new EKS cluster, install the EBS Add-on:
Connect your workstation kubectl to the new EKS cluster. Substitute <eks-cluster-name>
with your new EKS cluster in the following:
Add a new profile containing the Violet AWS Credentials to your workstation. These values are provided by Violet Labs and are specific to your installation:
Create a new file, violet-values.yml
containing your AWS credentials and specific application configuration:
Create a new kubernetes namespace for the Violet installation:
Install the nginx ingress controller chart which allows EKS to set up a load balancer to route traffic from the internet to the new Violet deployment:
Install the external-secrets chart. This is used to load some customer-specific secrets from AWS into the Violet deployment:
Create a secret that allows Kubernetes to access the Violet Helm Chart repository:
Login to the Helm repository:
Install the Violet Helm Chart:
Note that it may take up to 5 minutes to run the database provisioning scripts. You can check the status of the deployment by looking at the pods:
After installation is complete the helm chart will print our some information and commands including the URL to access your new deployment, how to get the IP Address that the deployment is served at (for setting up DNS rules) and how to obtain the auto-generated password for the violet_admin@violetlabs.com
account.