, heroku AWS RDS. , Amazon . @pseudopeach ( ).
, . RDS Heroky, , AWS.
a) . , , . US EAST ()
b), rds
c) db ts micro ( , )
d) rds, " "
e) db, dbname, endpoint ( URL-, [dbname]. [randomstring].us-east-1.rds.amazon.com) . , db .
- Heroku
a) heroku heroku.com,
b) showconfig
heroku :
DATABASE_URL xxxxxx
HEROKU_POSTGRESQL_VIOLET_URL xxxxxx
LANG xxxxxx
RACK_ENV
RAILS_ENV
SECRET_KEY_BASE xxxxxx
DATABASE_URL [: URL- , ]
Postgres://
[- ]:
[ db]
@[ ]:
[ db]/
[ db]
? Sslca = /---cert.pem
& sslmode =
& =
URL:
Postgres://JDoe: supersecretpassword@mydb.coua7574xvna.us-east-1.rds.amazonaws.com: 5432/MYDB sslca = /---cert.pem & sslmode = & = True
EXTERNAL_DATABASE amazon-rds-ca-cert.pem
EXTERNAL_DATABASE_CA amazon-rds-ca-cert.pem
LANG ( )
RACK_ENV ( )
RAILS_ENV ( )
RDS_DB_PASS [ db]
RDS_DB_PORT [ db, 5432]
RDS_READS_DB_NAME [ db]
RDS_HOST [URL ]
RDS_USER [db-username]
, RDS 10 000 (, , ). postgreSQL , postgres.