Skip to content

Commit

Permalink
create release 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniusLuo committed Jan 1, 2018
1 parent f1f986a commit f31584a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.PHONY: install docker test lambda

version=latest
version=0.9.2

cli:
cd syssvc/firecamp-service-cli; go install; cd -
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Basically, the FireCamp platform maintains the service membership and data volum

## Installation
The FireCamp cluster could be easily installed using AWS CloudFormation for AWS ECS and Docker Swarm.
1. [Create FireCamp cluster](https://console.aws.amazon.com/cloudformation/home#/stacks/new?templateURL=https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.1/templates/firecamp-master.template). This will create an ECS or Docker Swarm cluster across 3 availability zones. The cluster only has the private network address and not accessible from the external internet. The Bastion node is also created and is the only node that could SSH to the cluster.
2. SSH to the Bastion node and wget [firecamp cli](https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.1/packages/firecamp-service-cli.tgz).
1. [Create FireCamp cluster](https://console.aws.amazon.com/cloudformation/home#/stacks/new?templateURL=https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.2/templates/firecamp-master.template). This will create an ECS or Docker Swarm cluster across 3 availability zones. The cluster only has the private network address and not accessible from the external internet. The Bastion node is also created and is the only node that could SSH to the cluster.
2. SSH to the Bastion node and wget [firecamp cli](https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.2/packages/firecamp-service-cli.tgz).
3. Use the firecamp cli to create the stateful service. Refer to each catalog service for the detail tutorials of the service, such as [MongoDB](https://github.com/cloudstax/firecamp/tree/master/catalog/mongodb#tutorials).

For the Installation details, please refer to [Installation](https://github.com/cloudstax/firecamp/tree/master/docs/installation).
Expand Down
2 changes: 1 addition & 1 deletion common/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package common

const (
Version = "latest"
Version = "0.9.2"

CloudPlatformAWS = "aws"

Expand Down
12 changes: 6 additions & 6 deletions docs/installation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* [Delete the Stateful Service](https://github.com/cloudstax/firecamp/tree/master/docs/installation#delete-the-stateful-service)

# Installation on AWS
This doc always links to the last official release, currently 0.9.1. If you want to test against the latest master branch, which is under developing, manually replace the 0.9.1 to latest for the CloudFormation template and firecamp-service-cli.
This doc always links to the last official release, currently 0.9.2. If you want to test against the latest master branch, which is under developing, manually replace the 0.9.2 to latest for the CloudFormation template and firecamp-service-cli.

## Install the FireCamp Cluster
The FireCamp cluster could be easily installed using AWS CloudFormation. The CloudFormation template will create an ECS or Docker Swarm cluster across 3 AvailabilityZones. So the stateful services such as MongoDB could have 3 replicas on 3 AvailabilityZones, to tolerate the single availability zone failure.
Expand Down Expand Up @@ -40,17 +40,17 @@ Currently the template supports 2 and 3 AZs. It is recommended to use 3 AZs for
]
```

2. Run AWS CLI to create the cluster for release 0.9.1.
2. Run AWS CLI to create the cluster for release 0.9.2.
```
#!/bin/sh
version=0.9.1
version=0.9.2
aws cloudformation create-stack --stack-name t1 --disable-rollback --capabilities CAPABILITY_IAM --template-url https://s3.amazonaws.com/cloudstax/firecamp/releases/$version/templates/firecamp-master.template --parameters file://stack-master.json
```

You could also use CloudFormation UI to create a cluster:
1. Go to [FireCamp AWS CloudFormation of release 0.9.1](https://console.aws.amazon.com/cloudformation/home#/stacks/new?templateURL=https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.1/templates/firecamp-master.template), click "Next".
1. Go to [FireCamp AWS CloudFormation of release 0.9.2](https://console.aws.amazon.com/cloudformation/home#/stacks/new?templateURL=https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.2/templates/firecamp-master.template), click "Next".

2. "Specify Details": specify below fields, then click "Next".
* Specify the "Stack name", such as "t1".
Expand Down Expand Up @@ -101,9 +101,9 @@ After all stateful services are deleted, delete the CloudFormation stack, which
# The FireCamp Service CLI
A Bastion AutoScaleGroup is created and is the only one that could SSH to the cluster nodes, and access the FireCamp manage server. The nodes in the FireCamp Cluster could also access the manage server.

After the stack is created, could ssh to the Bastion node, get the FireCamp service cli of release 0.9.1.
After the stack is created, could ssh to the Bastion node, get the FireCamp service cli of release 0.9.2.

`wget https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.1/packages/firecamp-service-cli.tgz`
`wget https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.2/packages/firecamp-service-cli.tgz`

## Create the Stateful Service
The MongoDB or PostgreSQL cluster could be simply created using the firecamp-service-cli. In case the service creation command fails, could simply retry it. **It is recommended that you should change the root user's password after the service is created.**
Expand Down
6 changes: 3 additions & 3 deletions packaging/aws-cloudformation/firecamp-existingvpc.template
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@
},
"Release": {
"Type": "String",
"Default": "latest",
"AllowedValues": [ "latest", "0.9.1", "0.9" ],
"Default": "0.9.2",
"AllowedValues": [ "0.9.2", "0.9.1" ],
"Description": "The FireCamp release version"
},
"QSS3BucketName": {
Expand All @@ -145,7 +145,7 @@
"AllowedPattern": "^[0-9a-zA-Z-/.]*$",
"ConstraintDescription": "CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Description": "S3 key prefix for the CloudFormation assets. CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Default": "firecamp/releases/latest/",
"Default": "firecamp/releases/0.9.2/",
"Type": "String"
},
"NumberOfManagers":{
Expand Down
6 changes: 3 additions & 3 deletions packaging/aws-cloudformation/firecamp-master.template
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@
},
"Release": {
"Type": "String",
"Default": "latest",
"AllowedValues": [ "latest", "0.9.1", "0.9" ],
"Default": "0.9.2",
"AllowedValues": [ "0.9.2", "0.9.1" ],
"Description": "The FireCamp release version"
},
"QSS3BucketName": {
Expand All @@ -306,7 +306,7 @@
"AllowedPattern": "^[0-9a-zA-Z-/.]*$",
"ConstraintDescription": "CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Description": "S3 key prefix for the CloudFormation assets. CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Default": "firecamp/releases/latest/",
"Default": "firecamp/releases/0.9.2/",
"Type": "String"
},
"NodeInstanceType":{
Expand Down

0 comments on commit f31584a

Please sign in to comment.