In HPE Helion Eucalyptus 4.1, VPC (Virtual Private Cloud) was in technical preview state. With the release of Eucalyptus 4.2, VPC was upgraded to stable release. HPE Helion Eucalyptus VPC provides similar features as AWS VPC. For more information about what is currently supported in Eucalyptus VPC, please refer to the online documentation.

Prerequisites

Prerequisites for this blog entry are listed in the following previous blogs:

CoreOS ETCD Discovery Service Token

When setting up the CoreOS cluster, the method used to handle cluster membership is using etcd Discovery. This provides a unique discovery URL that will show all the members of the cluster. To obtain a token for the size of the cluster you desire, use the following URL and add the value for the size of the cluster. For example, if the cluster will have five members, using curl – the request URL will look like the following:

curl https://discovery.etcd.io/new?size=5

The value returned will look similar to the following:

https://discovery.etcd.io/fdd7d8ac203d2cac0c27ead148ad83ed

This URL can be referenced to see if all the members of the cluster registered successfully.

Deploying the Cluster on HPE Helion Eucalyptus VPC

When deploying the cluster on a Eucalyptus VPC environment, there are additional variables that have to be taken into account. To download the example template, use the following URL:

After downloading the template, use either euca2ools or AWS CLI to validate the template. This will display the arguments that need to be passed when creating the cloudformation stack on Eucalyptus. For example: