Migrating configurations from test environment to prod with separate postgres


I have separate kong setup running in multiple environment. I have added some new plugins to lower envronment(test) and I want to move those changes to prod kong setup. Is there any way(API or tool) I can import configuration from one kong environment to another environment which has separate setup.


Hi Ravi,

There is no tool for doing that automatically. Even if you could copy registers from your test database to your production database, there would be some fields that would have to be modified:

  • The UUIDs of primary and foreign keys will differ
  • The created_at attribute will differ

My suggestion would be going through the database data, generating the text for several curl commands that then you can execute on the production env.

1 Like

Thanks @kikito for reply. And yes then I need to migrate data using postgres I believe.