Created
January 29, 2014 16:51
-
-
Save bhameyie/8692074 to your computer and use it in GitHub Desktop.
Sample ebs config to deploy scalatra app to Elastic Beanstalk
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
aws: | |
access_key: 'myKey' | |
secret_key: 'mySecretKey+TjnS' | |
region: 'us-east-1' | |
bucket: 'myBucket' | |
bucket_path: 'myPath' | |
app: | |
versions_to_keep: 10 | |
app_name: 'myAppName' | |
description: 'My App Description' | |
all_environments: | |
solution_stack_name: '64bit Amazon Linux running Tomcat 7' | |
option_settings: | |
'aws:autoscaling:asg': | |
MinSize: 1 | |
MaxSize: 10 | |
'aws:elasticbeanstalk:application': | |
Application Healthcheck URL: '/' | |
# instructions on how to build the application archive | |
archive: | |
generate: | |
cmd: sbt package | |
output_file: .*target/.*\.war | |
environments: | |
# the Testing version of the app | |
'muzzy-app-dev': | |
cname_prefix: 'muzzy-app-dev' | |
# the production version of the app | |
'muzzy-app-prod': | |
cname_prefix: 'muzzy-app-prod' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment