-
Prepare your RDS instance and [authorize access to it][1] (basically make it public).
-
Put your app in maintenance mode:
heroku maintenance:on
-
Save the latest SQL dump of the DB:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MEMORY_MB_VLOW=8192 | |
MEMORY_MB_LOW=32768 | |
MEMORY_MB_NORMAL=65536 | |
MEMORY_MB_HIGH=122880 | |
SINGLE_SOCKET_CPU_CORES=18 | |
TOTAL_CORES_MASK=ff,ffffffff,ffffffff | |
HOST_CORES_MASK=3ffff0,3ffff # 0b1111111111111111110000,0b00000000000000111111111111111111 |