- DockerHub account
- MacOS or Linux
- python 3.6+
- node.js
git clone https://github.com/awslabs/aws-eks-data-maker
cd aws-eks-data-maker/cli
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt
./validate.sh
The
demo
flag will ensure that a mocked environment will also be deployed.The
dev
flag will ensure that all artifacts will be built from source (W/o DockerHub and PyPi).
orbit init --demo --dev
orbit deploy foundation -f my-foundation.yaml
orbit deploy env -f my-env.yaml
orbit destroy foundation --name my-foundation
orbit destroy env --env my-env
- Install kubectl
- Go to the IAM console
- Find the Admin Role (
arn:aws:iam::{ACCOUNT_ID}:role/orbit-{ENV_NAME}-{REGION}-admin
). - Add your user or role under the
Trust Relationship
tab.
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::{ACCOUNT_ID}:user/{USERNAME}"
},
"Action": "sts:AssumeRole"
},
- Open the temrinal and user the AWS CLI to configure your kubeconfig
aws eks update-kubeconfig --name orbit-{ENV_NAME} --role-arn arn:aws:iam::{ACCOUNT_ID}:role/orbit-{ENV_NAME}-{REGION}-admin
- Validate you access
kubectl get pod -A
{
"cfnLint.ignoreRules": [
"E1029",
"E3031"
],
"python.formatting.provider": "black",
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.pylintEnabled": false
}