Releases: convox/rack
General Enhancements
NOTICE: This release contains an update to the ECS AMIs. Please test carefully for undesired behavior before upgrading.
Bug Fixes
Bug Fixes
Internal Racks and General Enhancements
Internal Racks
You can now set a Rack to Internal
mode which will cause all new apps created on that Rack to be created with VPC-only internal load balancers. This mode is great for users building intranet applications where all access will come through VPC peering or VPN gateways.
$ convox rack params set Internal=Yes
Balancer Parameter Removal
The CloudFormation parameters for load balancer configuration are being removed to relieve pressure for large apps running into the 60-parameter limit of CloudFormation. You should specify all load balancer configuration as convox.port
labels.
https://convox.com/docs/docker-compose-file/#labels
WARNING: If your app has set these parameters manually without also setting the appropriate labels you will receive an error the next time you deploy asking you to add the labels.
General Enhancements
ELB Idle Timeout and General Enhancements
ELB Timeout Configuration
You can now configure the idle timeout of your load balancers using a label. (#912) [@bobzoller]
web:
labels:
- convox.idle.timeout=3600
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html
General Enhancements
Deployment Configuration and General Enhancements
Deployment Configuration
You can now specify the minimum and maximum percentage of containers to have running during rolling deploys using labels in your docker-compose.yml
. (#922) [@beedub]
services:
web:
build: .
labels:
- convox.deployment.minimum=50
- convox.deployment.maximum=200
WARNING: The DeploymentMinimum
and DeploymentMaximum
parameters to application stacks have been removed. If you were using these parameters please migrate your application to the labels shown above.
General Enhancements
Autoscale Improvements and General Enhancement
Autoscale Improvements
When calculating the number of instances needed to run your containers we now add one to the total to avoid cases where the instances get packed too close to capacity. (#964) [@ddollar]
The default values for minimum and maximum are 100 and 200 respectively.
General Enhancements
- Add
ApiCpu
andApiMemory
parameters to the rack to control Rack API resources (@926) [@beedub] - Use Go 1.6.3 everywhere (#948) [@nathany]
- Remove health params from app stacks (#956) [@beedub]
- Add NAT gateway friendly name during install (#958) [@beedub]
- Add node-workers example to CI (#963) [@MiguelMoll]
- Fix for setting env on an app that has never been deployed (#972) [@ddollar]
Existing VPCs, NAT Gateways, and Infrastructure Improvements
Existing VPCs
You can now create a Rack in an existing VPC during convox install
(#946) [@beedub]
$ convox install --existing-vpc vpc-12345678 \
--vpc-cidr=10.0.0.0/16 --subnet-cidrs=10.0.1.0/24,10.0.2.0/24,10.0.3.0/24
NAT Gateways
This release contains some fixes to move NAT Gateways for Private Racks from a custom CloudFormation resource (Custom::EC2NatGateway
) implemented by Convox over to the native AWS::EC2::NatGateway
as part of continued efforts to reduce custom handlers in Convox. (#968)
WARNING: The IP addresses of your NAT Gateways will change when you upgrade to this release. If you have whitelisted these IP addresses anywhere you will need to take note of your new IP addresses.
Infrastructure Improvements
We have finalized a massive internal refactoring that greatly simplifies generation of CloudFormation templates. Hats off to @awsmsrc and @MiguelMoll for this massive simplification of Rack! (#939)
- Many custom CloudFormation resources have been removed for their native counterparts
- The code for building images in development and production has been unified
- Multiple fixes for
convox start
bugs around sub-projects and code sync - Removed the internal registry when ECR is available
- Rack templates should now boot faster and more reliably thanks to better dependency mapping
- Removed several unused Rack-level CloudFormation parameters
20160802145358: Merge pull request #968 from convox/existing-private-fix
Fix upgrade for existing private-mode Racks
20160801140250: Merge pull request #957 from convox/cert-random
Stability updates for CI