Weaveworks CloudFormation template is the easiest way to get started with Weave Cloud in EC2. CloudFormation templates provide developers and systems administrators a simple way to create a collection or a stack of related AWS resources, and it provisions and updates them in an orderly and predictable fashion.
Use these specially created Weaveworks CloudFormation template to create an EC2 cluster with all of the resources you need, including Weave Net and Weave Cloud. One of the templates configures Kubernetes in an EC2 cluster and the other sets up an EC2 cluster only. Both templates give you the option of running a sample app and also whether you want to use Weave Net and Weave Scope.
Before launching either of these stacks:
- Set up an Amazon Account
- Create the Key Pairs. You will need to reference the name of the key pairs when you create the stack.
Note: Key pairs you create are tied to a particular region.
Launch Kubernetes in AWS
The link below launches Sock Shop app using a CloudFormation template. There is also one without the app, so that you can use your own app instead.
Ready to launch a stack? Click here to launch a stack to AWS:
Note: If you are not using the Cloudformation template, and you have Kubernetes already running in AWS, copy the command from Kubernetes → Environment → Generic Kubernetes on the setup screens and run it on your master node.
To learn more about how it works, see: