RightScale Support Wiki > Tutorials > Deployment Setup > Create Credentials to Access your Database

Create Credentials to Access your Database

When new servers are launched, the software running on those servers need credentials in order to access resources and perform tasks.   For example, an application server needs a password in order to access your database.  Any type of sensitive information that need to be passed directly into a server should be stored as a credential.  Credentials saved in the Dashboard are encrypted and cannot be retrieved through the web interface. 

NOTE: These credentials are specific to running servers and are different from account credentials, which are used by RightScale to access Amazon Web Services on your behalf, such as launching new servers.

Objective

To create credentials to access your database.  You'll need to create the credentials for the database and for DNSMadeEasy.

Create Database Credentials

First you'll create credentials for your database.  You need to make sure that the DB users that you create are not root.  Our scripts expect there to be "no password" for the root.  If you set a password for the root, it will break our scripts.

  • DBADMIN_USER
  • DNSMADEEASY_USER
  • DNSMADEEASY_PASSWORD
  • DBAPPLICATION_USER
  • DBREPLICATION_USER

Go to Design -> Servers -> Credentials.

Click New Credential.

01-credentials_new.gif

 

Name the first credential DBADMIN_USER.  Add a value of admin.

Click Save.

02-credentials_new_form.gif

Now create several more credentials with the following names and values.

 DBADMIN_PASSWORD  admin_passwd
 DBAPPLICATION_USER  app
 DBAPPLICATION_PASSWORD  app_passwd
 DBREPLICATION_USER  rep
 DBREPLICATION_PASSWORD  rep_passwd

 

04-credentials_database.gif

Create DNSMadeEasy Credentials

Next you'll create the DNSMadeEasy credentials for the database.

Create the following credentials:

 

 DNSMADEEASY_USER  my_user
 DNSMADEEASY_PASSWORD  my_passwd

 

 

05-credentials_all.gif

 Congratulations!  You've added credentials to access your database.

 ----------------------

Did you find this document helpful?  Please feel free to leave us a comment below so that we'll know how we can improve our documentation.  Thanks!

Tag page
You must login to post a comment.