

ccdb:Īddress: your RDS PostgreSQL Instance endpointĪssume you already have other parts of the CF manifest configured correctly, now it is time to deploy! Things usually do not work as you expected. Note that db_scheme setting for ccdb and uaadb is different even both of them are using PostgreSQL database. Now that we have RDS instance and ccdb and uaadb databases created inside it, lets refer to them in the manifest. Configure uaadb and ccdb in the CF manifest Then you can run create database uaadb and create database ccdb to create two databases. First lets connect to postgres database by running the following command: psql postgres://user_name: _rds_instance_endpoint:5432/postgres Next step is creating databases you need. HashiCorp’s website has a very good documentation about How to create RDS DB Instance. We recommend you enable multiple AZ deployment for your production environment.Īnother way to create AWS RDS PostgreSQL instance is using terraform. You can just then follow the rest of steps to configure your database. Click Launch a DB Instance, then it will ask you to select an engine, pick PostgreSQL and then choose either Dev/Test or Production. You can go to your AWS Console and click Services on the top bar, then select RDS from the dropdown menu. This blog will show you step by step how to use AWS RDS PostgreSQL for UAADB and CCDB in Cloud Foundry. Hence we use RDS PostgreSQL for UAADB and CCDB in CF. In addition, you do not need to worry about backup and recovery. It can also provide you with multiple AZ PostgreSQL deployment and read replicas. Amazon RDS provide PostgreSQL deployments in an efficient way. PostgreSQL has become a very popular open source relational database for many enterprises. The reliability of these two databases is extremely important to the success of the CF system. In the Cloud Foundry(CF) architecture, two of the CF components CF components have databases, one is Cloud Controller(CC), the other is OAuth2 Server (UAA).
