Comments (4)
Marston,
I believe AWS EB (and beanstalker) already supports app-level healthchecks via health check url. Try this:
<beanstalk.applicationHealthCheckURL>/services/api/v1/debug</beanstalk.applicationHealthCheckURL>
from beanstalker.
I am already passing in the applicationHealthCheckURL this way
<configurationTemplate>
<OptionSettings>
<member>
<OptionName>Application Healthcheck URL</OptionName>
<Value>/rest/healthcheck</Value>
<Namespace>aws:elasticbeanstalk:application</Namespace>
</member>
</OptionSettings>
</configurationTemplate>
but the autoscaling group does not have ELB heathcheck enabled. I'm not sure the EB API supports this?
from beanstalker.
I'm thinking about a wider approach, combining not only ELB Healthchecks, but also other ELB Settings. Not sure if its worth another plugin or just augment the existing functionality.
Can you ping me on Skype to address those?
from beanstalker.
Achieved the same effect by using cloudformation resources inside my ebextensions scripts.
Example:
"Resources" : {
"AWSEBLoadBalancer" : {
"Type" : "AWS::ElasticLoadBalancing::LoadBalancer",
"Properties" : {
"CrossZone" : true,
"Listeners" : [
{
"LoadBalancerPort" : "80",
"InstancePort" : "80",
"Protocol" : "HTTP"
},
{
"LoadBalancerPort" : "443",
"InstancePort" : "80",
"Protocol" : "HTTPS",
"SSLCertificateId" : "arn:aws:iam:XXXXX:server-certificate/YYYYYY"
},
{
"LoadBalancerPort" : "8009",
"InstancePort" : "8009",
"Protocol" : "TCP"
}
],
"AccessLoggingPolicy" : {
"EmitInterval" : 60,
"Enabled" : true,
"S3BucketName" : "ELB_Access_Logs",
"S3BucketPrefix" : "ZZZZZ"
}
}
},
"AWSEBAutoScalingGroup" : {
"Type": "AWS::AutoScaling::AutoScalingGroup",
"Properties" : {
"HealthCheckGracePeriod" : "600",
"HealthCheckType" : "ELB"
}
}
}
from beanstalker.
Related Issues (20)
- NPE when doing create-environment HOT 2
- Endpoints are of different format in Beijing zone
- aws:elb:listener support
- NPE when updating a worker environment HOT 2
- -Dbeanstalk.environmentRef parameter does not overwrite value in pom.xml HOT 1
- Upgrade to latest AWS SDK 2016/2017
- Route53 swap failed
- Unexpected: Unhandled with mvn beanstalk:codecommit-fast-deploy HOT 1
- Add suport to Java 9+ HOT 5
- To configure environment variables for lambda
- Update dependency for beanstalk-maven-plugin to use com.amazonaws:aws-java-ask:1.11.525 HOT 2
- Support CloudFormation service roles for all stack actions HOT 1
- With enabled proxy without username/password I got an NPE for check-availability HOT 1
- Maven encrypted password doesn't work HOT 1
- Security Group Validity Check HOT 7
- Invalid security group parameter passed to AWS SDK HOT 1
- The replace environment goal copies over non-custom (elastic beanstalk created) security groups to the new environment if the old environment contains custom security groups
- create-environment timeout after 20 minutes
- incorrect documentation
- 🧚🤖 Pixeebot Activity Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beanstalker.