Skip to content

Instantly share code, notes, and snippets.

@tuffacton
Created June 27, 2018 03:29
Show Gist options
  • Select an option

  • Save tuffacton/9beb05db16f41a00aed7c8bbd97e34bf to your computer and use it in GitHub Desktop.

Select an option

Save tuffacton/9beb05db16f41a00aed7c8bbd97e34bf to your computer and use it in GitHub Desktop.
Example AWS Bash Startup Script for Apache (and copy/deploy HTML from S3)
#!/bin/bash
yum update -y
yum install httpd -y
service httpd start
chkconfig httpd on
cd /var/www/html
aws s3 cp s3://<s3-bucket-name>/index.html /var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment