Create GitHub Repository

We will be using a GitHub repo to declare the desired state of our EKS cluster. This repo will eventually include your workload manifests, HelmReleases etc.

You can start with an empty repository and push that to GitHub, or use the one you intend to deploy to the cluster. As a suggestion create a blank public repo on GitHub called my-eks-config and make sure you tick Initialize this Repository with a README:


For instructions on how to create a repository on GitHub follow these steps..

In the Cloud9 environment, a user SSH key pair is not automatically created. Use these instructions to create an SSH key pair for use as your git repository deploy keys.

You will also want to add your ssh. Instructions to do so are here.

To create a new ssh key, run the following. Substitute your github email address where specified.

ssh-keygen -t rsa -b 4096 -C ""

Start the ssh-agent in the background.

eval "$(ssh-agent -s)"

Add your SSH private key to the ssh-agent and store your passphrase in the keychain. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.

ssh-add ~/.ssh/id_rsa

Then run:

cat ~/.ssh/

You can then create a deploy key in your repository by going to: Settings > Deploy keys. Click on Add deploy key, and check Allow write access. Then paste your public key and click Add key. This will allow us to clone this repo to our Cloud9 environment.