Provisioning AWS Resources Using Terraform

Provisioning AWS Resources Using Terraform
Provisioning AWS Resources Using Terraform

CLOUD LABS

Provisioning AWS Resources Using Terraform

In this Cloud Lab, you’ll learn to provision AWS resources, including an S3 bucket, an EC2 instance, and a Lambda function, using Terraform.

8 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

A solid understanding of Terraform fundamentals
Hands-on experience deploying web applications on Amazon EC2 instances using Terraform
Hands-on experience provisioning AWS infrastructure using Terraform
An understanding of Terraform blocks and its application to configure AWS resources

Technologies
AWS logoAWS
Terraform logoTerraform
S3 logoS3
Lambda logoLambda
EC2 logoEC2
Cloud Lab Overview

Terraform is a tool for provisioning Infrastructure as Code (Iac). It can provision infrastructure on your machine or any cloud provider and automatically deploy the infrastructure from code without any manual intervention.

In this Cloud Lab, you’ll start by learning about Terraform. You’ll provision an infrastructure locally using Terraform and will learn about the Terraform code blocks. You’ll also create an S3 bucket on AWS, allowing public access to the bucket contents, and upload an object to the S3 bucket. Then, you’ll create a Lambda function to access the bucket’s contents using Terraform. You’ll create an IAM role for the Lambda function as well. Lastly, you’ll create a security group and set up a React application on the EC2 instance through Terraform.

By the end of this Cloud Lab, you’ll be able to provision infrastructure on AWS using Terraform. These skills are essential for mastering IaC and transforming manual processes into efficient, version-controlled infrastructures.

The following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Introduction to Terraform
Terraform Workflow
Terraform in Action
Blocks and Arguments
3.Provision an Infrastructure
Provision an S3 Bucket
Provision a Lambda Function
Provision an EC2 Instance
Conclusion
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image