- You need an AWS account. Visit http://aws.amazon.com to get started
- Install and configure AWS Command Line Interface
a) Preferred Option: Install from 0.5 release
wget https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.5/kubernetes.tar.gz
tar -xzf kubernetes.tar.gz; cd kubernetes
export PATH=$PATH:$PWD/platforms/<os>/<platform>
- Temporary for v0.5 : Edit the
cluster/aws/config-default.sh
so thatIMAGE=ami-39501209
git clone https://github.com/GoogleCloudPlatform/kubernetes.git
cd kubernetes; make release
export PATH=$PATH:$PWD/_output/local/bin/<os>/<platform>
export KUBERNETES_PROVIDER=aws
cluster/kube-up.sh
The script above relies on AWS S3 to deploy the software to instances running in EC2.
Once the cluster is up, it will print the ip address of your cluster.
export KUBERNETES_MASTER=https://<ip-address>
Also setup your path to point to the released binaries:
Take a look at next steps
cd kubernetes
cluster/kube-down.sh
There is a contributed example from CoreOS using Cloud Formation.