Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
aws_blue_green_deploy
Advanced tools
This gem automates a "Blue/Green" style of web server farm deployments, in which one set of servers is active, in load balancer rotation, while the other set is out of rotation. Out of rotation servers are deployed to, validated and then put into rotation. The the formerly active servers are pulled out.
This gem automates this process with AutoScaling groups, and actually eliminates the need to have a pool of inactive servers. These servers are created at deploy time.
This gem assumes you have 2 static autoscaling groups asscociated to the load balancer the deploy will be run against. This gem manipulates the launch configuration and asg size of any auto scaling group that does not have instances in load balancer rotation in order to create new instances with a new version of code.
Add this line to your application's Gemfile:
gem 'aws_blue_green_deploy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install aws_blue_green_deploy
https://travis-ci.org/jparten/aws_blue_green_deploy.svg?branch=master
To use:
This gem assumes you have 2 static autoscaling groups asscociated to the load balancer the deploy will be run against. This gem manipulates the launch configuration and asg size of any auto scaling group that does not have instances in load balancer rotation in order to create new instances with a new version of code. s
Build a hash or a json config with the following parameters:
Once the parameters above are in a json file, a A/B style release can be enacted by:
AwsBlueGreenDeploy.configure_with("path to json config")
AwsBlueGreenDeploy.enact_deployment
Alternatively you can configure by passing in a hash with the values above, overriding any values passed in via json:
options = {:elb_name => "Test"}
AwsBlueGreenDeploy.configure(options)
AwsBlueGreenDeploy.enact_deployment
The module methods drive the DeployController class. This class can be used independently of the module to better control timing/validation neccessary for a production release.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that aws_blue_green_deploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.