First command in "Persist Outbound Floating IP Traffic After Reboot" ''sudo echo ... > /etc/cloud/...'' should be replaced with ''echo ... | sudo tee /etc/cloud/...''.