Elasticity in cloud computing refers to the ability to scale resources up or down as needed, and automation is key to achieving this rapid scaling.