Infrastructure as Code with Terraform and AWS.
Training for Lowcomote Project at UAM, Madrid, 2020.02.21
- Git
- Bash Shell
- Editor. Recomended Visual Studio Code + Extension for Terraform
- SSH Client (For example: putty.exe on windows)
- Terraform Add it to your PATH
- aws-cli
-
Clone the repository to local machine
git clone git@github.com:lowcomote/terraform-training.git
-
Enter into each folder for exercices
-
Configure your AWS credentials exporting enviromental variables for
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY. -
Init with
terraform init -
Validate with
terraform validate -
Deploy with
terraform apply -
Destroy with
terraform destroy
When using *.pem files for SSH (especially on Mac OS and Linux) ensure key file has read persmissions for the user only with the command:
chmod 600 <file>.pemLicensed under CC BY 
The Lowcomote Project has received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement n° 813884.