What's New

New: AWS S3 and DigitalOcean Spaces for Backups

You can now specify AWS S3 or DigitalOcean Spaces as the location for your backup storage. After backing up, the files will be automatically uploaded to the bucket you choose.


New: Ruby 2.6.5, 2.5.7, and 2.4.9 now available! 💎

New versions of Ruby have been release with security updates so make sure to upgrade your versions ASAP! Ruby 2.4.8 has been skipped as it included a bug and was re-released as 2.4.9.


Update: Last successful backup timestamp

Now when you enable backups on an app in Hatchbox, it will report back so you can see the last successful backup time in the dashboard. This only applies to new backups enabled after today. If you'd like to add this to an existing app, re-enable the backups on your app and we'll update your config, just be sure to save any changes you've made to the backup config before hand.


New: Rollback Deployments ♻️

We've added the ability to rollback your last app deployment! You can click the dropdown next to Deploy in the UI and select Rollback to get undo your last deployment.


New: Delete & Archive Servers

We've now added the ability to delete servers from your hosting provider when you archive a cluster! You can simply check the box and we'll use their API to delete the servers. Archiving of servers works just like before if you don't check the box. 👍


New: Ruby 2.6.4, 2.5.6, and 2.4.7 support

New versions of Ruby were released recently and they're all available for deploying in Hatchbox now. You can find more information about these releases here: https://www.ruby-lang.org/en/news/2019/08/28/ruby-2-6-4-released/


New: Transferring Clusters between Teams

You can now transfer Clusters to other teams that you're a member of. Only the Team's owner will be able to transfer the clusters. You can find this feature in the Settings page of your Cluster.


New: Teams

You can now setup multiple teams to organize your clusters and apps. You'll only see the clusters for the current team that you're viewing and you can invite other users to create and work with clusters on your teams.


Update: Updated BitBucket instructions

We've updated the documentation for App Passwords when connecting your BitBucket account. You can follow the BitBucket Instructions to re-connect your account with the correct permissions. This will allow Hatchbox to correctly add SSH keys and enable webhook deployments via the API.


Update: BitBucket API 2.0 Upgrade

BitBucket users will need to reconnect their account using an App Password to give us access to add deploy keys to their account. BitBucket recently deprecated their API 1.0 and the new version no longer allows OAuth tokens to add SSH keys to users or repositories. Reconnect your BitBucket account.


Fix: DigitalOcean Wildcard Let's Encrypt Renewals

We've fixed a bug in your Let's Encrypt wildcard SSL certificate renewals with DigitalOcean. Previously, we were using tokens that expire for authenticating Let's Encrypt with DigitalOcean which caused problems renewing the certificates. We've changed this to prompt you for a DigitalOcean personal access token instead which do not expire and will correctly renew certificates every time in the future, so long as the tokens are not revoked.


New: Ruby 2.6.3 and 2.4.6 support

Two new versions of Ruby are now available! You can find out more here


New: Ruby 2.5.5 support

A new version of Ruby 2.5 was released to fix a regression in Ruby 2.5.4.

You can find out more here.


New: Ruby 2.6.2 and 2.5.4 support

New versions of Ruby were released to fix bugs and vulnerabilities in Rubygems. These versions of Ruby are now available for deploying on Hatchbox.

You can find out more here.


New: Server Sync

You can now sync your server's details from your hosting provider by clicking Sync Server under the server's Settings page.

This is helpful in case the server's IP address changed on your hosting provider and is a common problem with Amazon EC2 servers which get a new IP every time the server is shut down and started again.


New: Better Rails API-only app deployment

Rails 5 introduced API only apps which skip generating assets. Since precompiling assets is a part of standard deployments, we've improved the deploy script to detect apps where config.api_only = true and skip the assets:precompile step.


New: Ruby 2.6.1 Support

You can now deploy Ruby 2.6.1 apps. Just set it in your .ruby-version file or Gemfile and next deploy it will download and use the new Ruby version.


New: Sidekiq Logs inside Hatchbox

We've just released Sidekiq logs retrieval in Hatchbox! You can now view Sidekiq logs on the web without having to login to your server and manually poke around.

This should come in handy for anyone using Sidekiq that's having trouble getting their process to start or if you simply want to monitor job completion.


New: Beta Amazon EC2 Integration

Many of you have asked for an Amazon EC2 integration to more easily spin up Hatchbox servers on AWS. Today's your lucky day! We've just released the beta of our Amazon EC2 integration. It will create instances on whichever VPC you choose so you can quickly spin up a cluster on Amazon. This is super handy if you'd like to use Amazon RDS for your database too.


New: Ruby 2.6.0 is now available

We've added support for Ruby 2.6 now on Hatchbox.

By default, the JIT compiler is turned off so you can safely upgrade to 2.6. Keep in mind that 2.6.0's JIT is currently slower for Rails, Sidekiq, etc so we wouldn't recommend using the JIT in production.

If you do want to run with the JIT enabled, you can add an environment variable to enable it: RUBYOPT="--jit"


New: Default Ruby Changed to 2.5.3

Now that we've had plenty of time for Ruby gems to be upgraded for 2.5 compatibility, the default Ruby version will be 2.5.3 for any deployments.

If you would like your app to run a specific version of Ruby, either add a .ruby-version file to your repo or "ruby" line to to your Gemfile with the version you want to use.


Fix: Let's Encrypt Renewals

We fixed a bug yesterday around Let's Encrypt renewals. Certificates were getting renewed but NGINX was not being reloaded correctly to use the new certs. This has been fixed so NGINX will correctly reload the certificates.

For existing apps, you can re-run the Let's Encrypt setup to get the latest weekly certificate renewal script installed.


New: Ruby 2.5.3, 2.4.5, and 2.3.8 Support

New versions of Ruby have been released with security updates. Be sure to update your applications to the latest versions of Ruby as soon as possible!


New: New Pricing Plans

Today we're releasing new pricing plans for any new Hatchbox customers. These new prices will help us deliver even better hosting and better support, while still offering the cheapest hosting you can find.

If you're a current customer, don't worry! You are grandfathered in to their plans as long as you stay subscribed.


New: Friendly Error Pages

If your application fails to start, you've previously been greeted with an NGINX 404 or 50x error page. We've replaced this with a custom Hatchbox error page that makes for friendlier error handling. Existing apps won't be changed, but any new apps deployed will have this improvement.


Update: Enabling Sidekiq Automatically

Sidekiq will now be automatically detected and enabled during deployments! No need to manually enable it anymore. The deployment will simply look for Sidekiq in your Gemfile.lock and will enable it if it hasn't been already. As always, subsequent deploys will restart Sidekiq so it's running the latest code.


New: Delayed Job Support

You can now deploy Ruby apps that use Delayed Job for background processing. It will automatically be installed the first deploy that it sees the gem installed in your Gemfile.lock. Deploys after that will automatically restart Delayed Job so it's running the latest code.


New: Adding and removing servers from clusters

Since clusters were released, the most common request we've gotten was how do you add and remove servers from your cluster? Today you can!

This is a fresh off the press, so you should be careful with changing your cluster. Some small modifications may need to be made, such as changing your DATABASE_URL to use your server's Private IP address instead of 127.0.0.1 if moving from a single server to multiple.

Hit the Support link if you need any help with this or run into any issues!


New: Affiliate Program

Want to share Hatchbox with people and get paid for it? We're testing a new affiliate program that pays you a 30% recurring commission for any new paying customers you send our way.

You can sign up at https://gorails.getrewardful.com/signup and if you have any questions, just let us know!


New: Ubuntu 18.04 and PostgreSQL 10 support

New servers will be created with Ubuntu 18.04 LTS and Postgres 10.

Important: Rails apps older than 5.x will require either a Rails version upgrade or the appropriate monkey patch. You can find information on the error and fixes here: https://help.heroku.com/WKJ027JH/rails-error-after-upgrading-to-postgres-10

Existing servers will not be upgraded to Ubuntu 18.04 or Postgres 10. This ensures your applications continue working and you can upgrade any time you want.

It's recommended to wait until 18.04.1 is released before upgrading your existing Ubuntu 16.04 servers.

If you have any questions, click the Support link and send us a message!


New: Puma Support

Your apps can now serve requests with Puma instead of Passenger. Puma allows you to run both multi-threaded and multi-process servers. You can choose which webserver you use when creating the new app or in the app's NGINX config section.

Existing apps need a small upgrade to their NGINX configs to be compatible with this feature. If you have any questions or trouble running Puma, contact support and we'll get back to you right away!


New: Let's Encrypt Wildcard SSL Support

Wildcard SSL certificates are now available using Let's Encrypt. We currently support DigitalOcean, Cloudflare, and Route53 DNS services. Just make sure to add your primary domain and wildcard domain in your app's Domains tab, then enable SSL.


New: Clusters & Multi-server deployments

You can now create load balanced server clusters and deploy apps to them.

Each server gets tagged with it's different roles and deployments will be applied across the machines. Existing apps have been converted to single-server clusters and tagged with the correct roles.


New: Ruby versions 2.5.1, 2.4.4, 2.3.7, and 2.2.10 are now available

Several important security patches just came out for Ruby, so it's important you upgrade your Ruby to the latest patch version.

Just change your git repo's .ruby-version file to contain the new Ruby version you want, commit, push, and deploy your code and you'll be using the new version of Ruby.


Update: Bulk updating environment variables

Ever wanted to copy and paste a bunch of new environment variables for your application? Now you can. Just click "Bulk update" and you'll be able to paste in a bunch of environment variables and copy them from your applications much more easily.


Update: Added support for git hosts on non-standard ports

If you're hosting your Git server on a different port than 22, you can now use "ssh://[email protected]:2222/repo.git" style urls to deploy your application.


Fix: Passenger pool idle time fixed

The previous version of Passenger broke a feature we use to prevent your apps from sleeping. A change in that release broke the option and some customers had to disable this feature. Fortunately, Passenger has released a new version including the fix and you can now re-enable that feature after upgrading to the latest Passenger if you previously had to disable the pool idle time option.


New: Reset Deploy User Password

Lost your server's deploy user password email? You can now reset it on the SSH Keys tab of your server and we'll reset and email you a new password. You can use this to login to your server as the deploy user and run commands as root.


Update: Connect Multiple DigitalOcean Accounts

Ever wanted to manage servers across multiple DigitalOcean accounts with a single Hatchbox account? Now you can. After you connect your accounts, you'll be able to choose which account your new server is created on.


New: Linode VPS Support

We've officially added Linode support! Now you can deploy a new Linode instance with the click of a button.


New: Sinatra, Hanami, and any other Rack-based Ruby App Support

While you could always hack this together if you were clever with customizing your deploy script, starting today you can now deploy Sinatra, Hanami, and other Rack apps to your servers on Hatchbox! Just make sure they have a config.ru file for Passenger to pickup and you're all set.


New: MySQL is now supported

After many, many requests, we now have MySQL support. When you create a new app, you can now choose between MySQL and PostgreSQL as your primary database. We'll automatically provision a database of the type you selected and your app will be able to use it immediately.


New: Vultr VPS Support

Starting today you can now add your Vultr API key into HatchBox and start provisioning servers with Vultr. We will be adding new hosting providers shortly, so if you have any suggestions or want to report any bugs just let us know!


Update: New DigitalOcean Pricing

DigitalOcean recently updated their pricing with lots more RAM and SSD and even Optimized and Flexible Droplets. We've got the latest pricing in Hatchbox now and you can find out more details on DigitalOcean here: https://blog.digitalocean.com/new-droplet-plans/


Update: Seamless Ruby Version Management

Starting today, you no longer need to choose the Ruby versions for your apps ahead of time. Ruby will be automatically installed when your app gets deployed just like Heroku. You can set the Ruby version in your repo's .ruby-version file or by adding ruby "2.5.0" to your Gemfile and committing the Gemfile.lock. If we can't find a matching Ruby version, we'll automatically install the latest version supported.


New: Ruby 2.5 support!

Over the holidays, Ruby 2.5.0 was released and is now available and working on all new servers! If you'd like to update an existing server for Ruby 2.5 support, use the Settings tab and click "Update Server" which will install the new dependency for compiling Nokogiri on Ruby 2.5 and Ubuntu.


New: All new apps come with uniq subdomains

Deploying multiple apps to the same server previously required you to setup domains to access them both. Now, each new app will receive a custom subdomain at hatchboxapp.com so you can access them much more conveniently and directly!


New: Added Ruby 2.2.9, 2.3.6, and 2.4.3

You can now use any of these new Ruby versions. Just visit your Server's Ruby versions tab, install the new version(s), and then set the version number in your repo's ".ruby-version" file and redeploy your app to use the new version.


New: Two-factor Authentication

Make your account even safer by enabling Two-factor Authentication. You'll use a one-time password generated on your phone along with your email and password to make sure your account is extra secure. Visit your Account tab in Settings to enable it.


New: Cron Job Support

Cron jobs are now supported out of the box for new apps using the Whenever gem. Just add it to your Gemfile and define your cron jobs in schedule.rb and they will be automatically updated each deploy.


New: Ruby 2.4.2, 2.3.5, and 2.2.8 support

These new Ruby versions fix several vulnerabilities in sprintf, WEBrick, RubyGems, and more. You can now install these Ruby versions on your servers and update the .ruby-version files in your apps to use the latest!


Update: Automatic cleanup for old releases

Now when you deploy your app, Hatch will automatically keep the last 5 releases and clean up any older ones than that. This keeps your server nice and organized so that old release aren't taking up too much disk space.


Update: Dynamic deploy script templates

Previously our deploy scripts for apps and Nginx configs were hardcoded. Now you can use %{var} syntax to dynamically insert values like your domains, your app name, and your Rails environment into the scripts.


New: Deploy from custom Git hosting

Hosting your app somewhere other than Bitbucket, GitHub, or GitLab? No problem! You can now deploy from any git hosting. Just select "Custom" when deploying a new app and add the server's deploy key to your Git host so it can check out the repository during deployment.


New: Custom Bash Scripts

Ever wanted to install some tools on your servers without having to SSH into each machine? Now you can! Write your own bash scripts and then choose which servers you want them to run on. The results will be logged to the server's History tab so you can see the output when it's finished running.


New: Deploy to any VPS

Don't want to use DigitalOcean? Now you can deploy to any VPS provider. Just setup a server on your provider, add it to Hatch and install the SSH key on the root user and you're all set.


Update: Realtime logs

Ever wondered if your server or app deployment was stuck? Now you can watch the realtime logs to keep an eye on what's happening!


New: Backups Beta

You can now easily enable backups for any of your apps with Hatch. They are powered by the Backup gem which provides a ton of options for backing up your databases and files, storing them safely, and sending notifications upon completion or failure. Check it out in the Backups tab in your app to get started.


New: ElasticSearch Beta

You can now setup ElasticSearch on your Hatch servers with the click of a button. This is in beta now for anyone who wants to try it. Just head over to your Server's ElasticSearch tab to read up on the RAM requirements and enable it.


New: MongoDB Beta

Ever wanted to deploy an app that uses MongoDB like Errbit to your Hatch servers? Now you can! It's in beta, so expect some bugs but you can find more information out in your Server's MongoDB tab!


Update: New server page layout

It should be easy to see what's going on with your fleet of servers, so we updated the servers page to also show you the apps deployed to each one. It's much clearer to see what's going on now that it's all in one place!


New: Notifications when your app starts deploying

You can now get notifications of when a new deploy was triggered just by leaving Hatch open in a browser tab. This is super useful if you're running git push and want to know when your deploy starts.


Fix: Expand Let's Encrypt Certificates

You can now add additional domains to your app and have Let's Encrypt expand your certificate to include the new domain(s). Just add the domains to your Hatch app and then click "Update" on the SSL tab to expand your Let's Encrypt certificate to the new domain(s) you just added.


New: Database Tab

If you've ever wanted to connect to your production app's database using Postico, Navicat, PgAdmin, or another database tool, you can check out the new "Database" tab in your App to see all the details for connecting to your database via SSH. 🛢


New: Sidekiq Support

Most apps need background workers these days and there's nothing more popular than Sidekiq. You can now enable Sidekiq for your app in the Sidekiq tab. This sets up a systemd script that makes sure that Sidekiq is running at all times. We also take care of automatically restarting Sidekiq during deployments so the background job code is always up-to-date.


New: Separate Redis Databases

Each app now gets a dedicated Redis database on your server and assigned a REDIS_URL environment variable that points to that database. This means you can rest easy knowing that if you deploy multiple apps to the same server, all your ActionCable, Sidekiq, and other Redis-backed tools will stay nicely contained to only their app.


New: SSL support and editable NGINX configs

SSL has been a high priority on the list, but we've also wanted to make sure you can easily tweak the NGINX config for each app to add things like redirects in. You can now do both! We support both free SSL certs via Lets Encrypt and the ability to upload custom certificates. We'll install the certs and then update your NGINX config to use those and enforce SSL on your Rails app.


New: Rails Log Retrieval

It's always a pain to SSH in and retrieve the logs to see what happened when you get a 500 error. We've added a Rails Log tab to each App you've deployed to easily retrieve the last couple hundred lines of your logs with just a click.


Fix: Bitbucket SSH Keys

The Bitbucket API is a bit finicky but we figured out and fixed a bug where it wouldn't allow us to upload your server's SSH deploy keys to your account.


Update: Added Ruby 2.4.1, 2.3.4 and 2.2.7

You can now install three new Ruby versions on your servers. Adding new Ruby versions is now a piece of cake. 🍰


New: Webhook Deployments

We added an easy way for you to toggle deployments via webhook when you push your code to Github, Bitbucket, or Gitlab. Check it out in your app's Repository tab.


Update: MOTD and Firewall

Added a message of the day (MOTD) when you SSH to your server with some handy tips. Also enabled a firewall by default to secure your servers even more out of the box.


New: Hatch Launched

Launch day is a big deal. We started out with just a few basic features that allows you to get your DigitalOcean servers configured with the click of a button.