Skip to content

Commit 05e8ba9

Browse files
authoredFeb 15, 2022
Merge pull request #6 from hazelops/feature/add-more-apps
Added software to install script (CORE-291)
2 parents 1ae35db + 35887a8 commit 05e8ba9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 

‎ec2_user_data.sh.tpl

+15
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@ sudo apt update
1313
# Install OpenVPN Connector setup tool
1414
sudo apt install -y python3-openvpn-connector-setup
1515

16+
# Install more tools
17+
sudo apt install -y mc gnupg unzip ca-certificates curl htop
18+
19+
# Install awscliv2
20+
sudo curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
21+
sudo unzip awscliv2.zip
22+
sudo ./aws/install
23+
24+
# Install kubectl
25+
sudo apt-get update && sudo apt-get install -y apt-transport-https
26+
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
27+
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
28+
sudo apt-get update
29+
sudo apt-get install -y kubectl
30+
1631
# Enable IP forwarding
1732
sudo sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g' /etc/sysctl.conf
1833
sudo sed -i 's/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g' /etc/sysctl.conf

0 commit comments

Comments
 (0)