Hands-on with a PaaS

Create Heroku account

Heroku (pronounced her-OH-koo) is a PaaS.

Platform as a Service, often simply referred to as PaaS, is a category of cloud computing that provides a platform and environment to allow developers to build applications and services over the internet. PaaS services are hosted in the cloud and accessed by users simply via their web browser. PaaS allows app developers spend their time on their application code, not on managing servers, deployment, ongoing operations, or scaling.

Heroku PaaS runs on top of Amazon IaaS.

Create an account

Use a browser to visit heroku and create an account.

Install heroku toolbelt

curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

Provide heroku credentials to the workstation

Start terminal in your workstation and add your heroku login/password

heroku auth:login
Enter your Heroku credentials.
Email: your@email.address
Password (typing will be hidden):

Add ssh key to Heroku account

The first time you run the heroku command, you'll be prompted for your credentials. Your public key will then be automatically uploaded to Heroku. This will allow you to deploy code to all of your apps. A common key error is: Permission denied (publickey). You can fix this by using keys:add to notify Heroku of your new key.

If you wish to add other keys, use this command:

heroku keys:add

Found existing public key: /home/user/.ssh/id_rsa.pub Uploading SSH public key /home/user/.ssh/id_rsa.pub done

Without an argument, it will look for the key in the default place (~/.ssh/id_rsa.pub). If you wish to use an alternate key file, specify it as an argument. Be certain you specify the public part of the key (the file ending in .pub).

PS: The private key should never be transmitted to any third party, ever.


 Cloud Genius® is a highly rated advanced technical education provider licensed by the State of Washington, USA.