How to find application credentials?

Click here to learn how to find the application credentials for servers deployed using the AWS Marketplace. Click here to learn how to find the application credentials for servers deployed using Amazon Lightsail.

Finding application credentials in the AWS Cloud Console (EC2)

Administrator username

The default administrator username to log in to your application is different depending on the application you have deployed. It can be obtained browsing to the IP address of your AWS server to access the application, clicking the Bitnami banner at the bottom right corner of the application index page and viewing the resulting information screen.

Server credentials

You will see the access data of your application:

Server credentials

If the Bitnami banner is not visible, the same information can also be accessed by browsing to http://SERVER-IP-ADDRESS:PORT/bitnami.

Administrator password

There are two options for obtaining your application credentials:

Option 1: Find password by checking the System Log on the AWS Cloud Console (EC2)

IMPORTANT: This password is only available in the system log for the first 24 hours after you first start the instance. We strongly recommend that you note it down immediately on the first boot and save it in a safe place, as you will be unable to access the instance console without it. We also recommend that you change it as soon as possible for security reasons.

The following video shows you the process to obtain the application credentials on the AWS Cloud Console (EC2):

The application password is randomly generated during the first boot. This password can be viewed as follows:

  • Log in to the AWS Cloud Console.
  • Select the "Compute -> EC2" option.

    Access your resources

  • In the left navigation bar, click the "Instances -> Instances" menu item.

    Select your instances

  • Select your instance in the dashboard.
  • From the "Actions" drop-down menu, select the "Get System Log" menu item.

    Server credentials

  • Review the system log until you find the application password. You will also find the default username.

    Server credentials

Option 2: Find password by connecting to your application through SSH

The application credentials are also stored in your application files. To obtain the password at any time, follow these instructions:

In case that you can not see the content of the above file, check the following:

$ sudo cat /opt/bitnami/var/data/bitnami_credentials/credentials

Finding application credentials in Amazon Lightsail

The following video shows you the process to obtain the application credentials in Amazon Lightsail:

Administrator username

The application username depends on the application. You can find the application username by clicking the Bitnami badge at the bottom right corner of the application index page and viewing the resulting information screen.

Server credentials

In case the Bitnami badge is not present, you can also obtain the application username from the application page in our documentation.

If you started a server (for example, MongoDB or similar) that isn't a Web application server, you can use the default administrator user to log in to the database (for example, root). You can find more information for each specific server in our documentation.

Administrator password

The application password is randomly generated during the deployment process and stored in a file on the server. This password can be viewed as follows:

  • Log in to the AWS Console. From the Amazon Web Services menu, select the Lightsail service and choose the server you wish to obtain credentials for.
  • On the server detail page, click the "Connect using SSH" button.

    WordPress credentials

    This will initiate a secure SSH connection to the server console in a new browser window. You should see something like this:

    WordPress credentials

  • At the server console, run the command cat bitnami_application_password. This will display the administrative password. Here's an example:

WordPress credentials

How to find database credentials?

Database username

If you started a server (for example, MongoDB or similar) that isn't a Web application server or your application includes a database server, you can use the default administrator user to log in to the database (for example, root). In the table below you will find the username for the most popular databases:

Database Username
MySQL, MariaDB, MongoDB root
PostgreSQL postgres

You can find more information for each specific server in our documentation.

Database password

The database password is the same as the administrator password you use to log in to your application.