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
#!/bin/bash | |
# This script is used to setup the EC2 instance for the project. | |
# It is run by the EC2 instance after it is created. | |
# Minimum requirements: | |
# - Debian 10 - t2.small (2 vCPUs, 2 GB RAM) | |
wget https://static.rust-lang.org/rustup/archive/1.24.3/x86_64-unknown-linux-gnu/rustup-init | |
chmod +x rustup-init | |
./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.56.1-x86_64-unknown-linux-gnu --default-host x86_64-unknown-linux-gnu |