Chainlink is a decentralized oracle network that enables smart contracts on various blockchain platforms to access real-world data and off-chain computation. As the demand for smart contract applications continues to grow, so does the need for reliable and secure oracle solutions like Chainlink. In this regard, deploying Chainlink on AWS can offer several benefits such as scalability, flexibility, and high availability. 

TrackIt has recently published a whitepaper detailing the process of deploying a secure, reliable, and scalable Chainlink environment on AWS. The following blog post provides readers with a list of the various AWS services used to build the Chainlink environment along with a high-level overview of the solution workflow.

Chainlink on AWS Solution Architecture

chainlink on aws
Solution Architecture for Chainlink on AWS

The following AWS services were used:

  • Internal Load Balancer: Network traffic distribution service to distribute traffic between Chainlink, Prometheus, and Grafana
  • AWS Client VPN: Fully-managed VPN service for  connecting with Chainlink, Prometheus, and Grafana UIs via VPC
  • Amazon EKS: Managed Kubernetes service to deploy a Kubernetes Cluster containing:
  • Amazon EFS: Network file system for storing Prometheus metrics
  • Amazon RDS: Database service to deploy a fully-managed PostgreSQL database
  • AWS Secrets Manager: Store and manage secrets such as API Keys
  • Amazon Route53: DNS service for managing Hosted Zoned containing Chainlink, Prometheus, and Grafana DNS records (i.e.: chainlink.example.com)
  • AWS KMS: Used for encryption (secrets, data from db…)

image
Kubernetes Cluster Architecture

Workflow Overview

  1. The following pods are configured within the Kubernetes cluster:
    1. Chainlink node 
    2. Chainlink adapters
    3. Prometheus
    4. Grafana

The cluster also contains the Load Balancer Controller pod and the External DNS pod.

  1. The Load Balancer Controller pod creates the Load Balancer in AWS depending on Kubernetes Ingress resources
  2. The External DNS pod creates the DNS records in Route53 based on the Kubernetes Ingress resources
  3. The Chainlink node communicates with the database and adapters to fetch and update data
  4. The Prometheus pod retrieves metrics from the Chainlink node and Chainlink adapters 
  5. The Grafana pod retrieves data from Prometheus and facilitates the visualization of data using Grafana Dashboards

Conclusion

Deploying Chainlink applications on AWS offers several benefits such as scalability, availability, and cost-effectiveness. However, implementing Chainlink on AWS does require a deep technical expertise in AWS. Clients interested in implementing secure and reliable Chainlink solutions on the AWS cloud should consider working with an AWS-recognized partner like TrackIt to ensure that the implementation is carried out effectively and efficiently, with minimal risk of errors or security vulnerabilities.

By partnering with TrackIt, clients can confidently deploy Chainlink on AWS.

About TrackIt

TrackIt is an Amazon Web Services Advanced Tier Services Partner specializing in cloud management, consulting, and software development solutions based in Marina del Rey, CA. TrackIt’s team of AWS certified experts has extensive experience in helping organizations of all sizes leverage the cloud to achieve their business objectives.


Their cloud management services include architecture design, deployment, optimization, and ongoing support. They also offer comprehensive consulting services, including security and compliance, cost optimization, and performance tuning. With a focus on modern software development practices, they help organizations adopt DevOps methodologies, implement Infrastructure-as-Code, and leverage serverless and containerization technologies to build scalable and resilient applications. With their specialized expertise in Media & Entertainment workflows, High-Performance Computing environments, and data storage, they can help organizations tackle even the most complex challenges.

TrackIt’s commitment to open-source solutions is reflected in their development of a free AWS cost management tool, which enables users to monitor and optimize their costs on the cloud platform. Their dedication to providing innovative solutions and exceptional service has earned them recognition as an Amazon Web Services Advanced Tier Services Partner.

blanc 1 1