Wrote one CFT to create redhat instance with two ebs volume attached. And need automount or formatted the ebs volume from the cft itself.
CFT:
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"DeleteOnTermination": "true",
"VolumeSize": "150",
"VolumeType": "standard"
}
},
{
"DeviceName": "/dev/sdm",
"Ebs": {
"DeleteOnTermination": "true",
"VolumeSize": "1000",
"VolumeType": "standard"
}
}
]
Need to mount "DeviceName" : "/dev/sdm", this volume automatically.