40 lines
1.3 KiB
Python
40 lines
1.3 KiB
Python
# Copyright (c) 2014 Thoughtworks.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# This is the config file which is going to hold the values for being able
|
|
# to connect to the AWS Public cloud.
|
|
|
|
|
|
aws_region = "us-east-1"
|
|
aws_access_key_id = "AKIAIZJDDRNNJUWZ3LXA"
|
|
aws_secret_access_key = "FMld6m8kok9jpxBkORST5xfbZSod7mVm9ChDgttS"
|
|
|
|
#Adding a Red Hat Linux image below
|
|
aws_ami = "ami-785bae10"
|
|
#aws_ami = "ami-864d84ee"
|
|
instance_type = "t2.micro"
|
|
|
|
flavor_map = {'m1.tiny': 't2.micro', 'm1.small': 't2.small', 'm1.medium': 't2.medium', 'm1.large': 'c3.xlarge',
|
|
'm1.xlarge': 'c3.2xlarge'}
|
|
#Add image maps key: image in openstack, Value: EC2_AMI_ID
|
|
image_map = {}
|
|
|
|
keypair_map = {}
|
|
|
|
# The limit on maximum resources you could have in the AWS EC2.
|
|
|
|
cpu_units = 100
|
|
memory_in_mbs = 88192
|
|
disk_in_gb = 1028
|