Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update howto-do-better-deployments.md #1922

Merged
merged 4 commits into from
Jun 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ For this, you need two things:
* Your RDS instance URL.
* Your DB credentials.

You can obtain all these things by logging in to the AWS console and searching for "Parameter Store". Ensure that you have selected the right AWS region before you search. To list all the Parameter Store entries for the DB, you can enter "DB" in the search. You are looking for the following parameters:
- `/codebuild/base_task_definition/SPRYKER_DB_HOST`
- `/codebuild/base_task_definition/SPRYKER_DB_ROOT_USERNAME`
- `/codebuild/base_task_definition/SPRYKER_DB_ROOT_PASSWORD`
You can obtain all these things by logging in to the AWS console and searching for "Task Definitions". Clicking on the Feature should bring you to the task definitions overview of Amazon Elastic Container Service. Select your backend gateway task (backgw) and then its latest revision (should be top of the list). Switch to "JSON" view. You are looking for the following parameters in the JSON document shown:
VadymSachenko marked this conversation as resolved.
Show resolved Hide resolved
- `SPRYKER_DB_HOST`
- `SPRYKER_DB_ROOT_USERNAME`
- `SPRYKER_DB_PASSWORD`

With this information, you can connect to the database from any SQL client and create a database dump which you can then import locally. After you have imported the data, don't forget to publish events so that all the data gets imported to Redis and Elastic Search as well. You can use the following command to achieve that.
```
Expand Down