https://github.com/ceramicstudio/ceramic-infra-poc
This repo contains a github actions workflow to easily setup Ceramic nodes in AWS
https://github.com/ceramicstudio/ceramic-infra-poc
Last synced: 4 months ago
JSON representation
This repo contains a github actions workflow to easily setup Ceramic nodes in AWS
- Host: GitHub
- URL: https://github.com/ceramicstudio/ceramic-infra-poc
- Owner: ceramicstudio
- Created: 2022-10-25T14:30:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-23T15:57:32.000Z (over 3 years ago)
- Last Synced: 2025-09-19T18:57:49.395Z (9 months ago)
- Language: JavaScript
- Size: 46.9 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Your Ceramic Quick Start Guide
## Global Needs
### Pre-reqs
[how to install gpg](https://mikeross.xyz/gpg-without-gpgtools-on-mac/)
### Setting up the repo
**mac/linux**
1. Create a new key-pair (be sure to avoid committing the private key to the repo)
```bash
ssh-keygen -f ./ansible-key -t rsa -b 4096 -C ansible-key
```
1. Create a new secret in your repo called `ANSIBLE_PUBLIC_KEY` and paste the contents of `ansible-key.pub` into the value field.
1. Encrypt the private key with gpg (you will commit this to the repo)
```bash
gpg --symmetric --cipher-algo AES256 ansible-key
```
1. Enter a super strong password, but keep it handy.
1. Create a new secret in your repo called `SSH_PASSPHRASE` and paste the super strong password you used above into the value field.
1. Make sure the encrypted private key is in the proper directory
```bash
mv ansible-key.gpg .github/config/ansible-key.gpg ```
1. Commit the encrypted private key to your repo in the .github/config directory
```bash
git add .github/config/ansible-key.gpg
git commit -m "Add encrypted ansible key"
git push
```
### Configuring a cloud provider
AWS Instructions
You need to set the following info from your aws account
That means you also need an aws account!
`AWS_ACCESS_KEY_ID`
`AWS_SECRET_ACCESS_KEY`
GCP Instructions
Not yet implemented
Digital Ocean Instructions
Not yet implemented
## Deploying the infrastructure
Some general instructions about how to use Actions