-
Create a Snapshot of the current EC2 instance running Mongo. First, note down the Volume ID from your Instance list since for whatever reason you can't see any instance info in the Snapshot page. Second, go to the Snapshot page and click [Create Snapshot]. Choose the Volume ID you just noted down and name the Snapshot and create it.
-
Create a new Volume with the backup Snapshot. In your instance list note the Availability Zone of the instance you are trying to upgrade. Go to the Volumes page and click [Create Volume]. Pick Standard and enter how many GB you'd like to create. This should be larger than the Volume you just created the Snapshot from. Then from the drop down choose the Snapshot you just created and click create. Also choose the Availability Zone that the instance you are upgrading is in as they must be the same.
-
Find the instance you'd like to upgarde in the Instances list and note the name of the disk which will be next to "Block devices" (most likely /dev/sda1).
-
Stop the Instance
This file contains hidden or 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
import { genAuthHeaderFromState, genTokenFromState } from '../api'; | |
import { default as apiStack } from '../api/apiStack'; | |
import { createFetch, auth, body, method } from 'http-client'; | |
// redux-api-middleware | |
export const orderList = () => ({ | |
[CALL_API]: ({ | |
endpoint: 'http://food.com/order/list/', | |
method: 'GET', | |
headers: genAuthHeadersFromState, |