In this section, we will prepare the necessary administrative tools and initialize the automated infrastructure on AWS using Terraform to support the Log Management project.
Before starting, ensure that your personal computer has the following tools installed and configured:
The core network and storage infrastructure will be deployed automatically to ensure consistency.
# Initialize the Terraform environment
terraform init
# Review the resources expected to be created
terraform plan
# Execute the infrastructure deployment to AWS
terraform apply -auto-approve
The infrastructure initialization process may take a few minutes for AWS to fully set up all Networking resources.
Once Terraform indicates Apply complete, we need to access the AWS Management Console to verify that the foundational resources have been successfully initialized.
Verify that the following VPCs have been created:

Processed log data will be stored in S3. Please ensure the following buckets exist:

To enable Athena to read the log structure in S3, a Crawler has been pre-configured:
fcaj-v2-log-crawler.
Congratulations! You have successfully set up the foundational infrastructure. In the next step, we will configure the SNS notification service.