Prepare Local Environment
Currently, our CLI only supports GitHub as a versioning system. Once you have installed Git client of your preference, make sure to configure global
username
and email
properties with values from your GitHub account like this:git config --global user.name "username"
git config --global user.email "[email protected]"
You naturally need an AWS account. For quick testing, You can create your own AWS Free Tier account. Then install the AWS Cli tools using this guide and configure a profile:
$ aws configure --profile myproject
Export your AWS profile to an environment variable. This variable is used by CX Cloud tools to interact with your AWS account:
$ export AWS_PROFILE=myproject
CX Cloud CLI supports preset AWS API keys as environment variables. This is useful for example when running AWS Vault for storing the AWS secrets in your operating system's secure keystore. The
AWS_PROFILE
doesn't need to be exported in case AWS Vault is used.Before you start, you need to have Kubernetes and it's tools installed on your computer. Follow this guide to Install those. On Mac, you can install Kubernetes tools using
homebrew
:$ brew install kubernetes-cli
CXCloud CLI uses Kops to create and configure your Kubernetes cluster. You can install it on your Mac using
homebrew
:$ brew update && brew install kops
Or on your Linux machine:
curl -LO https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
chmod +x kops-linux-amd64
sudo mv kops-linux-amd64 /usr/local/bin/kops
$ brew install kubernetes-helm
$ brew install terraform
You need to install Node.js and NPM on your computer. It is recommended to install the latest Node.js LTS version. On macOS you can do this using
homebrew
:$ brew install node
Once you have installed Node, you can confirm that NPM is working using
npm --version
To be able to compose a deployable image you have to install Docker. Head over to this page and get the Docker for your system. You'll need to create a Docker account as well.
To be able to access the private services in Kubernetes an VPN solution is needed. Ansible is used to install OpenVPN for the CX Cloud Demo.
$ brew install ansible
Last modified 4yr ago