This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"UserData": { "Fn::Base64": { "Fn::Join": ["", [ | |
"#!/bin/bash\n", | |
"cd /root \n", | |
"sudo yum install perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https perl-Digest-SHA -y\n", | |
"sudo yum install zip unzip -y \n", | |
"curl https://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.2.zip -O \n", | |
"unzip CloudWatchMonitoringScripts-1.2.2.zip \n", | |
"rm CloudWatchMonitoringScripts-1.2.2.zip \n", | |
"cd aws-scripts-mon \n", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
#Get Chromedriver and Selenium from net. | |
wget -P /opt/chromedriver/ "https://chromedriver.storage.googleapis.com/2.25/chromedriver_linux64.zip" | |
wget -P /opt/selenium/ "http://selenium-release.storage.googleapis.com/3.0/selenium-server-standalone-3.0.1.jar" | |
wget -P /opt/ "http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.tar.gz" | |
#Build out chrome repo | |
cat << EOF > /etc/yum.repos.d/google-chrome.repo | |
[google-chrome] |