Major Changes with the V6 Stack
Engine Yard's stack V6 is the first stack to be based on Ubuntu LTS distribution. Previous stacks were based on Gentoo.
Ruby versions 2.3, 2.4, 2.5, 2,6, and 2.7 are supported. We recommend using Ruby 2.6 or 2.5. Selecting Ruby 2.3 will add 5-15 mins to instance booting since Ruby 2.3 is not included on the AMI and needs to be installed during instance booting.
Note: Some versions like Ruby 3.0 may not be listed in the edit environment section. These versions have to be configured via environment variable - EY_RUBY_VERSION on stable-v6.
Monit's use to monitor and restart processes has been reduced on V6. On this stack, monit is tracking the processes of web servers (passenger, puma, unicorn) and background jobs (resque/sidekiq). It's no longer being used for services such as redis.
The unattended-upgrades package can be used to automatically install updated packages, and can be configured to update all packages or just install security updates.Unattended upgrades are disabled by default on /etc/apt/apt.conf.d/20auto-upgrades. Set environment variable "EY_ENABLE_UNATTENDED_UPGRADES" to true to enable security updates. If you wish to utilize unattended-upgrades package differently you have to create a custom recipe to modify its configuration files. File a support ticket and we will be happy to help you configure your instances based on your requirements.
On Stack V6 you have to specifically include the Unicorn dependency in your Gemfile file as Unicorn gem is no longer provided by stack.
Consider adding the following:
Default system shell
Stack V6 is based on Ubuntu 18.04.2 LTS which is using dash as its default system shell (/bin/sh). As a result, deploy hooks might be affected. Read this detailed KB article for more.
Configuring the stack through environment variables
Stack V6 allows several options to be configured directly through environment variable, eliminating the need to use custom Chef recipes for that. Check the v6 recipes repo for details on which options are available, and this detailed KB article for how to use environment variables on EY.
I would like to know which version of ruby 2.6. Would it be 2.6.8?
Hi RUPEAL Systems,
For this stack, the ruby version supported is up to 2.6.7.
For the official list, you my refer to this article: https://support.cloud.engineyard.com/hc/en-us/articles/360022162773-Engine-Yard-Ubuntu-19-05-Technology-Stack
What are the plans for supporting Ruby 3 in the future? Thanks!
Ruby 3 is currently supported on the stable-v6 through the following 2 actions:
1. Setting the `EY_RUBY_VERSION` environment variable as detailed on https://github.com/engineyard/ey-cookbooks-stable-v6/blob/next-release/EnvironmentVariables.md
2. Making use of engineyard-serverside 3.0.3 to deploy, which can be selected via the "more opts" link next to the deploy button in the UI, or via the -S switch on the `ey-core deploy` command, after upgrading to the latest version
Please sign in to leave a comment.