Ruby: Configuring your Stackhero for Ruby service

This documentation is part of the Deploy to production guide. View the full guide here: How to deploy your Ruby code to production in minutes.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Ruby cloud solution that provides a host of benefits, including:

  • Deploy your application in seconds with a simple git push.
  • Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
  • Enjoy peace of mind with automatic backups, one-click updates, and straightforward, transparent, and predictable pricing.
  • Get optimal performance and robust security thanks to a private and dedicated VM.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's Ruby cloud hosting solution!

If you have not created a Stackhero for Ruby service yet, you can do so from your Stackhero dashboard in just a couple of minutes.

Once your Ruby service is running, the next step is to add your SSH public key. You can find your public key by running:

cat ~/.ssh/id_*.pub

Do not have SSH keys yet?

You can generate them with:

ssh-keygen -t ed25519

To add your SSH key, go to your Stackhero dashboard, select your Ruby service, click "Configure", and paste your public key into the "SSH public keys" section.

<!-- ![Example of a Ruby service configuration](/images/docs/ruby/040_deploy/rubyStackheroPublicKey.png) -->

Tip: Want to save time in the future? You can add your SSH public key to your profile so any new services you create will include it by default.

Just click your profile picture in the top right corner of the dashboard, select "Your profile", and add your SSH public key there.