Created
February 23, 2011 15:56
-
-
Save dzinevych/840592 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # REQUIRED: The name of your application | |
| app_name: streaming | |
| # REQUIRED: The system user to run your app servers as | |
| app_user: app | |
| # REQUIRED: Notification emails (e.g. monit) get sent to this address | |
| # | |
| admin_email: a@mail.com | |
| # REQUIRED: The timezone the server should be in | |
| timezone: Etc/UTC | |
| # REQUIRED: the domain all the instances should be associated with | |
| # | |
| domain: app | |
| cloud_providers: | |
| aws: | |
| # REQUIRED The amazon keys and account ID (digits only, no dashes) used to access the AWS API | |
| # | |
| access_key: "#{AWS_ACCESS_KEY}" | |
| secret_access_key: "#{AWS_SECRET_ACCESS_KEY}" | |
| account: "#{AWS_ACCOUNT}" | |
| key_name: "#{ENV['AWS_SSH_KEY_FILES']}" | |
| key_file: "#{Dir[(File.expand_path('~') rescue '/root') + '/.ec2/*' + cloud_providers.aws.key_name].first}" | |
| image_type: c1.medium | |
| #image_id: "#{ %w{m1.small c1.medium}.include?(image_type) ? 'ami-6407f20d' : 'ami-ac07f2c5' }" | |
| image_id: "#{ %w{m1.small c1.medium}.include?(image_type) ? 'ami-e80c5cad' : 'ami-860c5cc3' }" | |
| # | |
| cloud_provider: aws | |
| security_groups: | |
| default: | |
| description: The default security group | |
| rules: | |
| - source_group_name: default | |
| source_group_account: "#{cloud_providers.aws.account}" | |
| - protocol: tcp | |
| from_port: 22 | |
| to_port: 22 | |
| source_ips: [0.0.0.0/0] | |
| assigned_security_groups: [default] | |
| auto_security_groups: true | |
| isolate_security_groups: true | |
| hosts: | |
| dev4: | |
| availability_zone: us-west-1a | |
| instance_roles: "nodejs" | |
| # role_dependencies: | |
| # web: [haproxy] | |
| cloud_providers: | |
| aws: | |
| image_id: ami-19bfef5c | |
| image_type: m1.small | |
| use_static_ip: false | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment