If you want to passively invest in a traditionally diversified portfolio by age, the easiest solution is to buy a target date fund (TDF). Your money is invested over a set period of time, with the "target" being the year you expect to retire and start drawing on your capital.