{{appName}}

Heroku - Platform

  • Cloud platform based on a managed container system, with integrated data services and a powerful ecosystem, for deploying and running modern apps

Heroku - Enterprise

  • Heroku experience developers love, with the enterprise features large companies need

Heroku Enterprise - Private Spaces

  • New Heroku runtime designed from the ground up to meet the trust and control requirements of the most demanding applications
    Enables Private Spaces to deliver the best of both worlds:
    The easy and powerful Heroku developer experience, combined with the network and trust controls historically only available in on-premise, behind-the-firewall deployments.
  • Enables your Heroku applications to securely connect to on-premise systems on your corporate network and other cloud services, including Salesforce

Demo

How to create New Team (Credit Card is required)


Create New Team

How to create New Space in Dashboard

  • url: https://dashboard.heroku.com/teams/{YOUR_TEAM_NAME}/spaces

How to create New Space in CLI

            
# create new space: my-space-name for the team my-team-name in the region virginia            
$ heroku spaces:create my-space-name --team my-team-name --region virginia
  Creating space my-space-name in team my-team-name... done
  === my-space-name
  Team:   my-team-name
  Region: virginia
  State:  allocating

# track the status of the new space creation
$ heroku spaces:wait my-space-name
Waiting for space my-space to allocate... done

# get info about my-space-name
$ heroku spaces:info --space my-space-name
=== my-space-name
ID:           12345678-abcd-1234-abcd-12345678abcd
Team:         acme
Region:       virginia, USA
State:        allocated
Shield:       on
Outbound IPs: 52.198.127.12, 52.197.133.34, 52.199.6.12, 52.198.222.211
Created at:   2016-10-13T05:36:15Z

# list trusted IP ranges for my-space-name
# Each Private Space has a set of trusted IP ranges, 
# with each range represented in CIDR block notation 
# (for example, 192.0.2.0/24).
# Only clients originating from one of these trusted IP ranges can access
# web processes running in the Private Space. 
$ heroku trusted-ips --space  my-space-name
=== Trusted IP Ranges
192.0.2.0/26
192.0.2.64/26

# Add a new range using the CLI:
$ heroku trusted-ips:add 192.0.2.128/26 --space my-space-name
Added 192.0.2.128/26 to trusted IP ranges my-space-name
 ▸    WARNING: It may take a few moments for the changes to take effect.


# Destroying a Private Space
$ heroku spaces:destroy --space my-space-name
Destroying space my-space-name... done
=== my-space-name
Team:  my-team-name
State: deleting


          

How to create New App and Deploy in the Private Space in CLI

              
# Create app my-space-app in the private space my-space-name
# Following  can create app in the private space:
#    Team administrators
#    Team members that have been granted the “app creation” permission by an administrator.
#    (This can be done in the Heroku Dashboard by clicking on the Space and then clicking Access.)
$ heroku create my-space-app --space my-space-name
Creating my-space-app in space my-space-name... done, stack is cedar-14
http://my-space-app.herokuapp.com/ | https://git.heroku.com/my-space-app.git

# Deploy
$ git push heroku master 
# The first time an app is deployed (pushed) to a Private Space, 
# it can take several minutes for the app to become available 
#  because of the time needed to set up the underlying dedicated infrastructure 
#  (e.g., routing, DNS, and the dynos).

#   List apps in the private space my-space-name
$ heroku apps --space my-space-name
=== Apps in space my-space-name
my-space-app-1
my-space-app-2

# view details about an app in the private space

$ heroku info --app my-space-app
=== my-space-app
Collaborators: my-team-name@example.com

Git URL:       https://git.heroku.com/my-space-app.git
Owner:         my-team-name
Region:        tokyo
Space:         my-space-name
Stack:         cedar-14
Web URL:       http://my-space-app.herokuapp.com/

# destory an app in the private space
$ heroku apps:destroy -a my-space-app
Destroying my-space-app (including all add-ons)... done

            

How to create New Space with Sheld in CLI - for building high-compliance applications

      
# create new private space with Shield on
$ heroku spaces:create my-shield-space-name --shield --team my-team-name
Creating space my-space-name in team my-team-name... done
=== my-space-name
Team: my-team-name
Region:       virginia
State:        allocating