At the psql prompt create the extension and then quit the session:
```sh
psql (9.4.7)
Type "help"for help.
gitlab=# CREATE EXTENSION pg_trgm;
gitlab=# \q
```
---
Now that the database is created, let's move on setting up Redis with ElasticCache.
Now that the database is created, let's move on to setting up Redis with ElasticCache.
## Redis with ElastiCache
...
...
@@ -435,15 +410,32 @@ we intended.
After a few minutes, the instances should be up and accessible via the internet.
Let's connect to the primary and configure some things before logging in.
### Configuring GitLab to connect with postgres and Redis
### Installing the `pg_trgm` extension for PostgreSQL
Connect to the RDS instance to verify access and to install the required `pg_trgm` extension.
To find the host or endpoint, naviagate to **Amazon RDS > Databases** and click on the database you created earlier. Look for the endpoint under the **Connectivity & security** tab.
While connected to your server, let's connect to the RDS instance to verify