The chemical reactions and pathways involving 2-aminoethylphosphonate, most abundant and ubiquitous of naturally occurring phosphonates. It is typically found as a conjugate of glycans, lipids, and proteins, which in turn perform essential biochemical functions in specialized lower organisms.