Easily set up Chainlink Node on AWS Cloud.
Built on AWS Fargate using docker ECS integration.
1.Download and install the latest version of Docker Desktop.
2.Ensure you have an AWS account.
- docker ecs context - Docker context for ECS integration
- Postgres DB - Connection info to the DB
- ETH Node URL - Infra or Alchemy or etc
-
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
$ make build
$ make login
$ make tag
# replace the image to docker-compose.yml
$ make push
# Change to ECS context
$ docker compose up