Cloud computing is a broad field of computing that deserves a lot of attention from students in the area. Therefore, learning to manage a cloud service provider such as AWS, through a project, is a plus to your knowledge, in addition to allowing you to reach new frontiers.
The objective of the project is to use the services of the AWS provider to create a virtual infrastructure that allows us to deploy an application. To speed up the process it is a good idea to use technologies that can create and destroy resources with code, for this we can use Terraform.
The project use...
- Terraform: to create the resources in AWS with code.
IMPORTANT: To use the code, it is a good idea to do it with the Linux operating system. The recommended distribution is Ubuntu.
Before you begin, on your PC you need to configure your AWS credentials using the AWS CLI. Additionally, you must install terraform to use files with a .tf extension. If you have any problems with this, you can read the documentation at the following URLs:
- https://docs.aws.amazon.com/es_es/cli/latest/userguide/getting-started-install.html
- https://developer.hashicorp.com/terraform/install
With the terminal change the directory to the project folder, and use the commands:
terraform init
terraform validate
terraform plan
terraform apply
In summary, these commands are used to prepare the working directory, validate the code, view changes, and create the infrastructure in AWS.
It is important to mention that by doing this you will be consuming credits in AWS, so if you want to eliminate the infrastructure you can use:
terraform destroy
This project has been created by Bryan Rosillo. You can contact me by the following means:
The project presented has an MIT license.