Skip to content

Commit 9be829b

Browse files
committed
dev config
1 parent 2b2b29a commit 9be829b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.ebextensions/dev.config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ option_settings:
1515
## Prevent Beanstalk from adding SSH ingress to instance SG
1616
aws:autoscaling:launchconfiguration:
1717
SSHSourceRestriction: tcp, 22, 22, 127.0.0.1/32
18+
## Run only one instance during install
19+
aws:autoscaling:asg:
20+
MaxSize: 1
21+
## Faster deployments during dev work
22+
aws:autoscaling:updatepolicy:rollingupdate:
23+
RollingUpdateEnabled: "false"
24+
aws:elasticbeanstalk:command:
25+
DeploymentPolicy: AllAtOnce
26+
IgnoreHealthCheck: "true"
27+
aws:elasticbeanstalk:monitoring:
28+
Automatically Terminate Unhealthy Instances: "false"
1829

1930
Resources:
2031
## Extend instance security group with SSH rule

0 commit comments

Comments
 (0)