Measurements of the Drell-Yan production of W and Z/gamma bosons at the LHC provide a benchmark of our understanding of perturbative QCD and probe the proton structure in a unique way. The ATLAS collaboration has performed high precision measurements at center-of-mass energies of 7 and 8 TeV. The measurements are performed for W+, W- and Z/gamma bosons integrated and as a function of the boson or lepton rapidity and the Z/gamma* mass. ATLAS also performed a precise triple differential cross-section measurement as a function of Mll, dilepton rapidity and cosθ∗ defined in the Collins-Soper frame. This measurement provides sensitivity to the PDFs and the Z forward-backward asymmetry, AFB.