Skip to content

Instantly share code, notes, and snippets.

@gssbzn
Last active March 27, 2018 11:09
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 gssbzn/39b5c67ae8e236923d7e62afebd8a11a to your computer and use it in GitHub Desktop.
Save gssbzn/39b5c67ae8e236923d7e62afebd8a11a to your computer and use it in GitHub Desktop.
Configuration to create an elastic beanstalk rails app
EnvironmentConfigurationMetadata:
DateCreated: '1515773464000'
DateModified: '1515773464000'
Platform:
PlatformArn: arn:aws:elasticbeanstalk:us-east-1::platform/Puma with Ruby 2.5 running on 64bit Amazon Linux/2.7.1
OptionSettings:
aws:elasticbeanstalk:command:
BatchSize: '30'
BatchSizeType: Percentage
aws:elasticbeanstalk:application:environment:
BUNDLE_WITHOUT: test:development
DB_HOST: <--SET ME-->
DB_PASSWORD: <--SET ME-->
DB_USERNAME: <--SET ME-->
NODE_ENV: production
RACK_ENV: production
RAILS_ENV: production
RAILS_MASTER_KEY: <--SET ME-->
RAILS_SKIP_ASSET_COMPILATION: false
RAILS_SKIP_MIGRATIONS: true
aws:autoscaling:launchconfiguration:
SecurityGroups:
- <--SET ME-->
InstanceType: t2.micro
EC2KeyName: <--SET ME-->
EnvironmentTier:
Type: Standard
Name: WebServer
AWSConfigurationTemplateVersion: 1.1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment