Skip to content

AntonioFeijaoUK/aws-ec2-userdata-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-ec2-userdata-samples

AWS EC2 userdata-samples

DISCLAIMER USE AT OWN RISK

  • USE AT OWN RISK, fell free to copy the script and change it for your needs.

Sample userdata for ec2 and how to use it

In the userdata for the ec2, add the command curl and the link for the script you want to run folloed by pip | bash to execute the script.

#!/bin/bash

cd /tmp/

curl https://raw.githubusercontent.com/AntonioFeijaoUK/aws-ec2-userdata-samples/master/sample01-hello-world-region-az.sh | bash

About

AWS EC2 userdata-samples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages