Changed example_deploy_conf.py (for AWS deployment)

This commit is contained in:
troymc 2016-10-07 11:57:05 +02:00
parent 1ae08990c8
commit c9624c6b12
2 changed files with 13 additions and 14 deletions

View File

@ -40,20 +40,19 @@ USE_KEYPAIRS_FILE=False
# IMAGE_ID is the Amazon Machine Image (AMI) id to use # IMAGE_ID is the Amazon Machine Image (AMI) id to use
# in all the servers/instances to be launched. # in all the servers/instances to be launched.
# Examples: # Canonical (the company behind Ubuntu) generates many AMIs
# "ami-accff2b1" = An Ubuntu 14.04.2 LTX "Ubuntu Cloud image" from Canonical # and you can search for one that meets your needs at:
# 64-bit, hvm-ssd, published to eu-central-1 # https://cloud-images.ubuntu.com/locator/ec2/
# See http://tinyurl.com/hkjhg46 # Example:
# "ami-596b7235" = Ubuntu with IOPS storage? Does this work? # "ami-72c33e1d"
# # (eu-central-1 Ubuntu 14.04 LTS amd64 hvm:ebs-ssd 20160919)
# See http://cloud-images.ubuntu.com/releases/14.04/release-20150325/ IMAGE_ID="ami-72c33e1d"
IMAGE_ID="ami-accff2b1"
# INSTANCE_TYPE is the type of AWS instance to launch # INSTANCE_TYPE is the type of AWS instance to launch
# i.e. How many CPUs do you want? How much storage? etc. # i.e. How many CPUs do you want? How much storage? etc.
# Examples: "m3.2xlarge", "c3.8xlarge", "c4.8xlarge" # Examples: "t2.medium", "m3.2xlarge", "c3.8xlarge", "c4.8xlarge"
# For all options, see https://aws.amazon.com/ec2/instance-types/ # For all options, see https://aws.amazon.com/ec2/instance-types/
INSTANCE_TYPE="m3.2xlarge" INSTANCE_TYPE="t2.medium"
# SECURITY_GROUP is the name of the AWS security group to use. # SECURITY_GROUP is the name of the AWS security group to use.
# That security group must exist. # That security group must exist.
@ -61,7 +60,7 @@ INSTANCE_TYPE="m3.2xlarge"
SECURITY_GROUP="bigchaindb" SECURITY_GROUP="bigchaindb"
# USING_EBS is True if you want to attach an Amazon EBS volume # USING_EBS is True if you want to attach an Amazon EBS volume
USING_EBS=False USING_EBS=True
# EBS_VOLUME_SIZE is the size of the EBS volume to attach, in GiB # EBS_VOLUME_SIZE is the size of the EBS volume to attach, in GiB
# Since we assume 'gp2' volumes (for now), the possible range is 1 to 16384 # Since we assume 'gp2' volumes (for now), the possible range is 1 to 16384

View File

@ -126,10 +126,10 @@ BRANCH="master"
WHAT_TO_DEPLOY="servers" WHAT_TO_DEPLOY="servers"
SSH_KEY_NAME="not-set-yet" SSH_KEY_NAME="not-set-yet"
USE_KEYPAIRS_FILE=False USE_KEYPAIRS_FILE=False
IMAGE_ID="ami-accff2b1" IMAGE_ID="ami-72c33e1d"
INSTANCE_TYPE="m3.2xlarge" INSTANCE_TYPE="t2.medium"
SECURITY_GROUP="bigchaindb" SECURITY_GROUP="bigchaindb"
USING_EBS=False USING_EBS=True
EBS_VOLUME_SIZE=30 EBS_VOLUME_SIZE=30
EBS_OPTIMIZED=False EBS_OPTIMIZED=False
``` ```