Code Monkey home page Code Monkey logo

aws-ecs-fargete-chainlink-node's Introduction

Overview

Easily set up Chainlink Node on AWS Cloud.

Built on AWS Fargate using docker ECS integration.

Prerequisites

1.Download and install the latest version of Docker Desktop.

2.Ensure you have an AWS account.

Requirements

  • docker ecs context - Docker context for ECS integration
  • Postgres DB - Connection info to the DB
  • ETH Node URL - Infra or Alchemy or etc

Development

0. Setup

  • IAM credentail with appropriate permissions -> .env

  • Replace the your information to create a Docker image -> Dockerfile,.env

    • Docker image name
    • Eth node url
    • Database url
  • Constructor settings for ChainlinkNode

$ mkdir data
$ touch data/.api&&touch data/.password
  • data/.api file should contain the email address and password for loggin the chainlink node
<your email>
<your password>
  • data/.password Set EOA passwords for files.
<EOA password>

The folder structure should look like the following.

 ├── .env
 ├── .env-sample
 ├── .gitignore
 ├── Dockerfile
 ├── Makefile
 ├── Readme.md
 ├── data
 │   ├── .api
 │   ├── .password
 └── docker-compose.yml

1. Build image & Deploy to ECS

$ make build
$ make login
$ make tag
# replace the image to docker-compose.yml
$ make push

# Change to ECS context
$ docker compose up

aws-ecs-fargete-chainlink-node's People

Contributors

0xshin0221 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.