Welcome to the AWS Hands-On Labs repository! This repository contains Terraform scripts for creating real-world scenarios and tasks on AWS. Follow the instructions below to set up your environment and start practicing with AWS services using Terraform.
Before you begin, make sure you have the following prerequisites:
-
AWS Account: You need an AWS account to perform the hands-on labs. If you don't have one, you can create an account here.
-
AWS Access Key ID and Secret Access Key: Obtain your AWS access key ID and secret access key from the AWS Management Console. Follow the steps here to create or retrieve them.
-
Terraform Installation: Ensure that Terraform is installed on your local machine. You can download Terraform from the official website here and follow the installation instructions.
- Clone this repository to your local machine:
git clone https://github.com/Souravpakhira/AWS-practice-labs.git
- Go to the project directory
cd AWS-practice-labs
- Change into the specific lab directory (e.g., fundamentals/lab1-vpc)
cd fundamentals/lab1-vpc
- Update the terraform.tfvars file with your AWS access key ID and secret access key.
aws_access_key = "YOUR_ACCESS_KEY"
aws_secret_key = "YOUR_SECRET_KEY"
- Initialize Terraform:
terraform init
- Apply the Terraform configuration:
terraform apply
NOTE: After completing the lab, you should destroy the resources so that it does not generate any bills. Run the following cmd after completing any labs.
terraform destroy
Confirm the destruction when prompted.
Feel free to contribute to this repository by adding new labs, improving existing ones, or providing feedback. Create a pull request with your changes, and we'll review it.
If you find these hands-on labs helpful and valuable, please consider giving this repository a star! ⭐ Your support is greatly appreciated and helps others discover and benefit from these resources.
Thank you for your support!
Happy learning and practicing with AWS!