Skip to content

Instantly share code, notes, and snippets.

@deepakputhraya
Created September 27, 2017 14:04
Show Gist options
  • Save deepakputhraya/69c3f227d3f4db2571bfc97271f11137 to your computer and use it in GitHub Desktop.
Save deepakputhraya/69c3f227d3f4db2571bfc97271f11137 to your computer and use it in GitHub Desktop.
Elastic Beanstalk configurations
option_settings:
- namespace: aws:elasticbeanstalk:command
option_name: DeploymentPolicy
value: Immutable
- namespace: aws:elasticbeanstalk:command
option_name: Timeout
value: 900
- namespace: aws:elasticbeanstalk:cloudwatch:logs
option_name: StreamLogs
value: true
- namespace: aws:autoscaling:launchconfiguration
option_name: MonitoringInterval
value: '1 minute'
- namespace: aws:autoscaling:launchconfiguration
option_name: InstanceType
value: 't2.small'
- namespace: aws:autoscaling:asg
option_name: MaxSize
value: 10
- namespace: aws:autoscaling:asg
option_name: Cooldown
value: 60
- namespace: aws:autoscaling:trigger
option_name: BreachDuration
value: 1
- namespace: aws:autoscaling:trigger
option_name: LowerThreshold
value: 8
- namespace: aws:autoscaling:trigger
option_name: MeasureName
value: RequestCount
- namespace: aws:autoscaling:trigger
option_name: Period
value: 1
- namespace: aws:autoscaling:trigger
option_name: Statistic
value: Average
- namespace: aws:autoscaling:trigger
option_name: Unit
value: Count/Second
- namespace: aws:autoscaling:trigger
option_name: UpperThreshold
value: 15
option_settings:
- namespace: aws:elasticbeanstalk:application
option_name: Application Healthcheck URL
value: /health
- namespace: aws:elasticbeanstalk:environment:process:default
option_name: HealthCheckPath
value: /health
option_settings:
- namespace: aws:elb:listener:443
option_name: ListenerProtocol
value: HTTPS
- namespace: aws:elb:listener:443
option_name: SSLCertificateId
value: <ADD ARN>
- namespace: aws:elb:listener:443
option_name: InstancePort
value: 80
- namespace: aws:elb:listener:443
option_name: ListenerEnabled
value: true
- namespace: aws:elb:loadbalancer
option_name: CrossZone
value: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment