Find the information you need for your import

This topic discusses how to find the information necessary to import Magento EE into Magento Enterprise Cloud Edition.

You must enter all Magento Enterprise Cloud Edition commands on the machine on which your Cloud SSH keys are stored. For more information, see Step 4, Enable Secure Shell (SSH).

Cloud SSH URL

To transfer the database dump and files to Magento Enterprise Cloud Edition, you must know its SSH URL.

You can find it using:

  • The command line:

    magento-cloud environment:ssh --pipe
    
  • The project Web Interface.

Magento EE database login information

You must know the name of the Magento EE database as well as the database user’s user name and password.

Cloud database login information

To import the Magento EE database dump into Magento Enterprise Cloud Edition, you must know the Cloud database login information.

The name of the database can be found in the $MAGENTO_CLOUD_RELATIONSHIPS environment variable. Display the variable with the following command. The database name is stored under databases->path. The password is found under databases->password.

To find database access information:

  1. SSH to your integration system:

    magento-cloud environment:ssh
    
  2. At the command prompt, enter the following command:

    echo $MAGENTO_CLOUD_RELATIONSHIPS | base64 -d | json_pp
    

The database connection information is displayed:

database" : [
      {
         "username" : "user",
         "query" : {
            "is_master" : true
         },
         "path" : "main",
         "port" : 3306,
         "host" : "database.internal",
         "password" : "",
         "scheme" : "mysql",
         "ip" : "192.0.2.150"
      }
   ]

In the preceding example, the database name is main, its listen port is 3306, its host name is database.internal, its root user name is user and the user has no password.

Cloud integration system’s unsecure base URL

After you import the Magento EE database into Magento Enterprise Cloud Edition, you must change the base URL so you can access the Magento Admin and storefront.

You can find it using:

Next step

Prepare your existing Magento EE system