MySQL / DRBD / Pacemaker on EC2
For amazon AWS you have two options:


Secondary Private IPs
Elastic IPs


Then you'll need to edit your IP2addr resource agent (under /usr/lib/ocf/resource.d/heartbeat/IPaddr2) to manage the IP failover in-front of amazon.


For Elastic IPs I found this solution.
For secondary IPs I guess you'll just need to include the AWS CLI
commands: ec2-assign-private-ip-addresses when promoting and
ec2-unassign-private-addresses when demoting.