Do not go gentle into that good night ... Do not go gentle into that good night, Old age should burn and rave at close of day; Rage, rage against the dying of the light.
well the "as" makes it a simile. its an exaggeration method used to emphasise a certain feeling or action. in this case its used to emphasise a feeling of grief or sadness. Hope this helps!