infrastructure of an ec2 instane having an iam role connected to it
aws configure
# Create the infrastructure
# Clone the repo
git clone https://github.com/mustafaDevop/servers-and-security-groups
# Change directory
cd high-availability-web
# Make the script executable
sudo chmod +x create-servers.sh
# Run the script, replace {stack-name} with your own stack name
./create-servers.sh {stack-name}
# Make the script executable
sudo chmod +x update-servers.sh
# Run the script, replace {stack-name} with your own stack name
./update.sh {stack-name}
# Make the script executable
sudo chmod +x delete-servers.sh
# Run the script, replace {stack-name} with your own stack name
./delete.sh {stack-name}