You can use the heroku create
command to create a Heroku application. Each application you deploy to Heroku has its own code base, environment variables, addons, etc.
Each Heroku application has a globally unique name. If you try to create a Heroku application whose name is already taken, you will get an error.
Here's how you can create a new Heroku application:
heroku create [app_name]
If you don't specify an application name when running heroku create
, Heroku will create a random application name for you.
You can also specify the Amazon region in which your Heroku application should be created. By default, all Heroku applications are created in the us
region. If you'd like to change the region, you can do so by creating the application like so:
heroku create [app_name] --region eu
Right now, there are only two public regions: us
, and eu
(Europe).