Skip to content

fclabs/aws-terraform-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform script to create and test AWS Lab Exercises

Introduction

This series of exercises help you to understand all the resources and services included in the AWS Certificated Associated Exam. For the exam you will need to know how to create them through the AWS Console, but this terraform script will help you to setup each resource and test configurations or compare results.

Additionally, you can use them as a reference about how to create AWS resources with terraform.

To run them, you will need to have terraform installed. A sample secure.auto.tfvars is provided. This file is excluded from the repo and is where you are going to setup all your credentials. See example-secrets.auto.tfvars at root folder.

Run them going in each directory using make:

cd labs/lab-name
make apply

Don't forget to destroy all the created resources, that probable will cost you $$$. make destroywill eliminate AWS resources and make clean will also clean terraform state files.

cd lab
make clean

## Labs

Wishlist Labs

  • Move Instance between regions
  • S3 bucket for backup with lifecycle and expiration
  • S3 bucket with cross-region-replication (CRR) and MFA deletion for audit records
  • S3 Access control options: ACL vs Bucket Policies vs Object ACLs vs Shared Access Links
  • AWS Organization OUs with consolidated billing on multiple accounts and Cross-Region Roles
  • S3 notifying via SNS a lambda function to process content
  • Deploy ECS with Grafana to monitor CloudWatch
  • Deploy a ECR registry, Create an container image and run it from the ECR using ECS Fargate.

About

AWS Terraform Practice Labs for AWS Certifications

Topics

Resources

Stars

Watchers

Forks