Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/LeanerCloud/AutoSpotting

Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.
https://github.com/LeanerCloud/AutoSpotting

Implement support for running AutoSpotting on a configurable schedule (#342)

* Move ASG configs to autoscaling_configuration.go
* Move AutoScaling-specific configs to the A...

81519810c6aa9894044a7c4f1654610b7beaec62 authored over 5 years ago
Implement versioning for the regional_stack_lambda.zip

bccf99580bcfff1dfbeabb27acdbace9d672caa1 authored almost 6 years ago
Small logging fix

3fef70a6b6a91339a60a3362babf91dd50063750 authored almost 6 years ago
Use on demand price of the original instance as default spot bid price

74731dddcbd386a57d7c336f0cf07b98eb49b330 authored almost 6 years ago
Update dependencies, including instance type information

6ef8f7a935a3d9f913859053bc1f2b7d71673d08 authored almost 6 years ago
Use an all-spot configuration

039673bfb15ac10784e166ab46e6d24ed5c6534e authored almost 6 years ago
Pass the TRAVIS_BUILD_NUMBER environment variable

edfa229595c42200d826dd43087c89c561580d08 authored almost 6 years ago
Delete old stack parameter

8b3752a98f8f669554cc6a27b473b22e0fb690c2 authored almost 6 years ago
Rewrite main Handler method to parse sns and event (#340)

This way we can pass to main lambda a cloudwatch event or an sns
that contain/forward a cloudwa...

6893e7ba2047ca95c2238f7853d26501ce82bb62 authored almost 6 years ago
Skip Coverall if token missing (#339)

https://docs.travis-ci.com/user/pull-requests#pull-requests-and-security-restrictions

Travis ...

b2e135e5a68f3820101dcbbc0b7f5ae2f7121bde authored almost 6 years ago
Template simplifications on Fix/termination signal (#338)

* Template simplifications on Fix/termination signal

* regional_template.yaml/template.yaml.
...

9ff3774040b9085c358d5180fd649585a971d889 authored almost 6 years ago
Migrate to Go modules (#337)

* Add configs needed for go modules
* Delete vendor directory
* Use Go modules for building th...

6679503dbce179b6e953812987d0bc35290742f4 authored almost 6 years ago
Fix/termination signal handling, fixes #331 (#334)

* Carve out the regional Lambda stack template and Lambda function code out of the CloudFormatio...

eba18a4aa08c4b8fc86bb44d7427b8af2f80bd97 authored almost 6 years ago
Always fall back to launching another spot instance type

46532ba0027e35bf4566c16390cef699ffeb8976 authored almost 6 years ago
Update dependencies, getting latest instance type data

ebe5419a0b2e271993042fc1d121c1b12919383c authored almost 6 years ago
Updated the doco to package default or custom binaries for a lambda function (#336)

This is just for advanced users, but still it is good to have it for clarity

79b8fb90b06046a9ddcb1bcceddefed77d989988 authored almost 6 years ago
Fix build using golang 1.12 and use it in CI

506a1ed0db0dc4acf997d4903770d0fd6711d12c authored almost 6 years ago
Improve error message

f21b48d928b7d5fe09ee8aedd5ceb1ad6be26e25 authored almost 6 years ago
Do not process AutoScaling groups while the CloudFormation stack that (#330)

created them is in progress

Fixes for #13

When analyzing ASG to choose if process it or no...

7bee6a1f58ff817297028f1c8b0bd66bde254ece authored almost 6 years ago
Delete Tag 'launched-for-asg' when detaching a spot instance (#329)

* Delete Tag 'launched-for-asg' when detaching a spot instance

In some situation (described i...

cbb9cccc9e45845bf256bd161cf4bb225c567ea2 authored almost 6 years ago
Termination Notification Configurable Action (#328)

* Termination Notification Configurable Action

Idea:
At the moment, when a termination notif...

452fef049ee82fb93c85f3111322ac4cbd1df37c authored almost 6 years ago
Terminate unused spot instances #321 (#325)

* Terminate unused spot instances #321

Currently.
A spotted instance is launched.
Before th...

a3c1ed6b3b05a1f795038b5796142514f41d547e authored almost 6 years ago
Detach instance when spot termination notification is received - event is not from CloudWatch but from SNS #322 (#323)

* Detach instance when spot termination notification is received - event
is not from CloudWatch...

20b298651d0f44d842755b955f0339a18f3545d0 authored almost 6 years ago
Detach instance when spot termination notification is received - missing (#324)

permissions

We need permission for CloudWatch Events to Publish to SNS Topic and
permission ...

0dca14c8f4b803166c30cca3b220d063786124ac authored almost 6 years ago
Conform to terraform standard module structure (#318)

* Conform to terraform file naming convention

* Conform to terraform standard module structur...

c6142d8c9b6d178d271f2e4ee93cd8e3aa1fa2d7 authored about 6 years ago
Use dynamic names for terraform resources so the module can be reused (#316)

* Use label module to generate names and tags for terraform resources

* Define label variable...

44095c6aef0fdc839b392c7d60502dea662c497c authored about 6 years ago
Check CPU architecture compatibility

It would not attempt to launch ARM spot instance types as replacement
for Intel or AMD instance ...

369728009196b29ea8a0daec28470ce5ca4241f6 authored about 6 years ago
Update dependencies

5672b3564ba7c2f4b1c6d06b98a1436008315b7e authored about 6 years ago
Delete FAQ and point to autospotting.org for it

aa213d91d3a6e44be48ae7da62fa59e932909c3a authored about 6 years ago
Update USERS.md

492522582d5e40a85333e765f505fe606b780620 authored about 6 years ago
Update documentation

94b07dedc6618cca00c329fffeb56d9224d440dc authored about 6 years ago
Detach instance when spot termination notification is received (#309)

* Add CloudWatch event to trigger lambda when spot termination event is triggered

When a spot...

32d8966863b08ac43ade9561aa8e709e53bf8b1d authored about 6 years ago
Correcting case on the Docker image to prevent ImagePullFailures (#310)

9c6b2f9b133720898f1124dc9d7eb4c2fe9c4bfb authored about 6 years ago
Attempt multiple instance types for launch. #263 (#306)

f835dc7204b21845dd09ea483aea1e70d31426b1 authored about 6 years ago
Update dependencies, including instance type data (#308)

* Update dependencies, including instance type data

Fixes #294.

* Rename repo to AutoSpott...

7647f5843213cabfb045620492b3b7186a3d1ca1 authored about 6 years ago
Update START.md

122ab8f292a2f718dd85e79ec22acd455122907e authored about 6 years ago
Update README.md

acbadb09a0ab2c2d3f5dcc984594f65d7904d587 authored over 6 years ago
Update FAQ.md

d259273de85581ea5d49151bb7fe95389ca9655f authored over 6 years ago
Update README.md

c6da3cb5f82ee8f4cd73e6a467401e08f7127b9d authored over 6 years ago
Update Makefile (#302)

go-lint package location changed from github to golang.org

This is to fix this error during b...

6f7499672fc3aa8a0de5422eabc136fc4d0476df authored over 6 years ago
Using filter tags with wildcard does not work #246 (#300)

Add support for filesystem glob-based matching of ASG tags. This is
consistent with other regex...

d938081a833eb722a7de6d64b4a2cc40db67c79c authored over 6 years ago
Update docs, add example for running as K8s cron job (#299)

- Thanks to @sunnynew for contributing the Kubernetes
configuration example.
- Also updated ...

b67a703a8d9ad8f0200a75d2ab08bd0eb8af7f32 authored over 6 years ago
Update Go to 1.11 (#298)

Also needed a few fmt changes, since the latest version seems to be a
bit more picky.

caf51135075d58a82a939bff3ff8ea657242a3d6 authored over 6 years ago
Update deps to have latest instance type data (#297)

Remove the dep prune call, it's actually doing the opposite nowadays.

16b99ed46b92628805a9a7154803ba8703182808 authored over 6 years ago
Implement support for handling instance termination protection (#275)

* Implement support for handling instance termination protection
- determine instance terminati...

5afd4c9a7284e3fa72f0a56632684775c56bc2d5 authored over 6 years ago
Check ASG min OD rules before launching new spot instance (#291)

In the event an ASG has just enough OD instances to meet the minimum
number of OD instances, th...

fff582b10adb46544918a3b7a5cf3b9b9e672ada authored over 6 years ago
Amended PR for issue 138: default to TerminateInstanceInAutoScalingGroup method (#287)

* use TerminateInstanceInAutoScalingGroup instead of Detach (#141)

* Add legacy support for i...

498197977b6881bde8ba0c9ea293c77db1abeac9 authored over 6 years ago
Update FAQ.md

269f4bf143effc210cbacf8f6f2d16a472d0207d authored over 6 years ago
correct log message for instance out of grace period and add test for instance still in grace period (#286)

ecc0122940ab9c029e25e8c917723759fe7083c9 authored over 6 years ago
Sets default virtualizationType to HVM if none are retrieved from API (#283)

* Sets default virtualizationType to HVM if none are retrieved from API

24a5693f0c336f32fddce4fdaab87aeccca26d4f authored over 6 years ago
Fix unavailable build_local command (#280)

cee2f079840117dc105b8c5d27be47204203b01b authored over 6 years ago
Fix typo in FAQ.md (#279)

a8292423246cbd8d5e7e59422510b7dabeb71cff authored over 6 years ago
Update Terraform instructions (#278)

cedc8bad25a3c210ef69da9ef3c334d535519354 authored over 6 years ago
Add additional build flags (#276)

f0598ec77057cbc3949ffdc38d61c79e6791655d authored over 6 years ago
Fix markdownlint issues

a9fa30b6768d5f612b2748ed0801caa62545b81a authored over 6 years ago
Set the AssociatePublicIpAddress on spot instances (#270)

This was missing even if configured on the on-demand instances, we lost
it when changing the co...

387247e4e4486992be3ffe653c3e19a21e3e4206 authored over 6 years ago
Fix goreportcard issues

Reported at https://goreportcard.com/report/github.com/cristim/autospotting

339df8b67af056f93988b9e7fd1764d1a379425f authored over 6 years ago
Update README.md

3270bd6d73cb4f6696f1d2e6cafb18bf7a5b1a85 authored over 6 years ago
Ignore protected group members (#269)

fb1bab3685750c20df0e22178ce20e33e047733e authored over 6 years ago
Update dependencies (#258)

50b78e1e48b3aa013cc0d088a8c9fda9c9cbc42d authored over 6 years ago
Switch to the RunInstances API call (#257)

ea38ec20fd3726355f996d0efab9c08d2a5f1369 authored over 6 years ago
Add task to update dependencies (#265)

bea0841b1e670daa3d4f672284a62148506297c5 authored over 6 years ago
Add "-u" flag to "go get" calls (#266)

7beba608dd7bbd615ed3e4e16385ff1bfb1a80be authored over 6 years ago
Cleanup vendor (#264)

85b08412630b0e019cd59621696b4d910342014a authored over 6 years ago
Fix #260: Handle different wc behaviour of OS X and coreutils (#261)

236df43395b3e87780b3b2714a9e2a27c6105d95 authored over 6 years ago
Update README.md

9f36af387eecc93b28abea0157817f5fe2cf416c authored over 6 years ago
Update README.md

bf1a76baed5abbcea0d3f9249916a8b876cb548d authored over 6 years ago
Update README.md

4c49cf0e6e8fa4a10beef84a0b6cfba90ede65ac authored over 6 years ago
Documentation of autospotting_min_on_demand_percentage and autospotting_min_on_demand_number tags fixed

d771c6c2ea2cc281b2112e4783ab18b55830db41 authored almost 7 years ago
Tag spot instances launched by AutoSpotting (#251)

69ed6177f6d06324e3b962080807977751cb2f21 authored almost 7 years ago
Implement tagging for the Lambda function (#245)

* Convert the CloudFormation stack to YAML format
* Word-wrap long lines inside the CloudFormat...

580a5c1f5625dd84035bf912f848c383554b06e4 authored almost 7 years ago
Add support for opt-out mode (#244)

* Add support for opt-out mode
* Sort and tidy up command line flags
This implements #242.

8f23b6c005b6cd90d64cf5925ce53b3d6306169e authored almost 7 years ago
Fix configuration of terraform module in docs (#250)

Copy and paste the usage example from docs didn't work and it took me some time that the variabl...

0e280edfe88c095203da9ef161f90054d61ad2db authored almost 7 years ago
Add a sleep to let detachment initialize properly before terminating (#241)

* Add a sleep to let detachment initialize properly before terminating
* Don't sleep during tests

038265b15eec48e84625a8dddd2ff2a6bb6e910f authored almost 7 years ago
Merge pull request #224 from grahamlyons/terraform-s3-support

Terraform s3 support

ad02ed4e8de32e47e3b0f5cc60301c49b4dec185 authored almost 7 years ago
Incorporate documentation suggestions from @xlr-8

03a46728b365f82dab300f4d013eed1fbb96126f authored almost 7 years ago
Add example of referring to lambda code in S3

74d81ea9f75ec1a914af8f3ae9b3c33b445c675c authored almost 7 years ago
Update terraform commands and code in documentation

The `terraform init` command downloads plugins and modules so there's
no need for an extra `terr...

48e2cb93216ca9d0ed753c3ac719f3335006ee51 authored almost 7 years ago
Merge branch 'master' into terraform-s3-support

2d4b5db3ad8166f6620e43a2fd29525119bae9b3 authored almost 7 years ago
Document license exemptions for contributors.

ef3bd7dcfe3616e56f5a6d15a4280ec5ce79062d authored almost 7 years ago
Merge branch 'master' into terraform-s3-support

a6fcd86f6e887db484578be01fc7be471f1db0a3 authored almost 7 years ago
Update the README.md

b300f8bac4c91a876bc45de592300e140ed3e12f authored almost 7 years ago
Update dependencies

This includes recent instance type information, which should fix #238

1229b5d4dd086c68bd3f8c2c88bf0851708ec20f authored almost 7 years ago
Fix the crash reported in #229

473f21584e11d1581285499184bcdb8138d02739 authored almost 7 years ago
Add ec2:DescribeSecurityGroups to the list of IAM permissions

fbb17de42e26a7a6b9b6e9f9c206be882cac8e4c authored almost 7 years ago
Update support matrix

e792544823bdd0eeed645ce6cb45527b3f540f3c authored almost 7 years ago
Update feature support matrix

c48f8ee68d6ed683a035420c82180d79d5078edc authored almost 7 years ago
adding documentation on how to get codedeploy to work with autospotting (#200)

* adding documentation on how to get codedeploy to work with autospotting and spot instances
* ...

3e415c41450750985d88c9304897edb86ad8e1df authored almost 7 years ago
autoscaling: add LC Name tag by default (#219)

To know from which LaunchConfiguration the spot instances were started
with, it seemed interest...

0da2bdc7f0245cb6653b46ce60b1cb3f6e64333c authored almost 7 years ago
core/launch_configuration: make regexp global

That saves us from creating the same regexp in the tests.

0897a06d7f366c473f9ea8ba04db3b9a84468bd6 authored almost 7 years ago
autoscaling: print instance ID, not pointer value

096c568b37c38d6505e3ef322ee539ae32d0fec6 authored almost 7 years ago
core/autoscaling: refactor launchCheapestSpotInstance

e5bed3421f1582086c1c1aec12add406724671e2 authored almost 7 years ago
core: refactor getSecurityGroupIDs

6180124ce41ec04f2485e37acb9b68bac280089f authored almost 7 years ago
core/launch_configuration_test: make ID/name distinction more obvious

We indicate which security group strings have been treated as names and
not ids by appending cha...

11f4a809a2c043e9f1cd8192428d26c4f612ed8c authored almost 7 years ago
core: allow longer SecurityGroup IDs

We also add more test cases.

3051c0c6e1c853770be69ee32398e598dcd0a7c0 authored almost 7 years ago
core: always use SecurityGroup IDs

We want to attach the correct SecurityGroups to newly created spot
instances. For that we just r...

a82afba56b2c9a02a7784c31aaf3b4116aa4d50c authored almost 7 years ago
terraform/autospotting-policy: grant rights to check SecurityGroups

We need those rights to be able to get the Security Group IDs which we
use in the RequestSpotLau...

4aca0ae6313e9ea1eca5707f3a84b964592ca002 authored almost 7 years ago
core: use regex to check SecurityGroupID pattern

Instead of just checking the prefix of a string to determine whether
it's a SecurityGroupID or n...

c144f9d4151056cdf05340ff7a245a92190b2fc1 authored almost 7 years ago
Add support for Docker builds

cacc22524541e3bfc377b7470c6e0fe188736be2 authored almost 7 years ago
fixes #225

e3ff1f73ae60e4f8fa872ed4e1e59cb13b4dca97 authored almost 7 years ago