Setting up the AWS instance:
-
In EC2 Management Console, launch a new instance:
-
Use AWS ami
CentOS 7 (x86_64) - with Updates HVM
-
Choose Instance Type - General purpose - t2.micro
#!/bin/bash | |
# based on https://gist.github.com/PinkyJie/5370470 | |
echo '==================================================' | |
echo '===============Install necessary tools===============' | |
echo '==================================================' | |
sudo yum -y update | |
#sudo yum -y install git make flex bison libtool automake openssl-devel libevent libevent-devel python-devel gcc-c++ byacc java-1.7.0-openjdk ant wget |