Temporarily add your SSH public key on Amazon Linux

If you want to launch a new EC2 instance and dynamically add a new public key on instance launch, try add this in your User Data in EC2. Then you don’t have to really add your public key in AWS EC2 Key Pairs.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.