If this is routing through Dublin with US preclearance, that’s the key detail.
You do not clear US immigration on arrival in the US when flying Aer Lingus via Dublin. You clear US immigration in Dublin before departure. That means your connection is really about:
Getting off the first flight
Making it to the US preclearance area
Clearing security + US immigration there
Two hours is on the tighter side, but it’s within what Aer Lingus sells and what many people make regularly, assuming the first flight is on time. If there’s a delay, that’s when it gets stressful.
Checked bags:
If both flights are on Aer Lingus and on the same through itinerary (even if bookings were separate but later linked by the airline), bags are normally transferred automatically. You should not have to collect them in Dublin. Definitely confirm at check in, but that’s the standard setup.
The real wildcard is queues at US preclearance. Early mornings and peak US departure banks can get busy. Aer Lingus staff will usually prioritize tighter connections, but it’s not guaranteed.
Short version:
2 hours isn’t generous, but it’s not crazy
Bags should transfer automatically
On time arrival makes it fine, delays make it dicey
If your friend is risk averse, they should be mentally prepared for a fast walk and little margin, but it’s a connection plenty of people make every day.
