Skip to content

Instantly share code, notes, and snippets.

@bhameyie
Created January 29, 2014 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhameyie/8692074 to your computer and use it in GitHub Desktop.
Save bhameyie/8692074 to your computer and use it in GitHub Desktop.
Sample ebs config to deploy scalatra app to Elastic Beanstalk
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