guillermo-ampie / aws-cand-infrastructure-at-scale

Deployment of EC2 instances and AWS Lambda function using Terraform. Architecture diagrams of a Web based app using several AWS services and a serverless deployment. Cost estimates for several scenarios.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud Developer ND Course 2: Design for Performance and Scalability


Project Instructions

Exercise 1

  1. Download the starter code.
  2. In the main.tf file write the code to provision
    • AWS as the cloud provider
    • Use an existing VPC ID
    • Use an existing public subnet
    • 4 AWS t2.micro EC2 instances named Udacity T2
    • 2 m4.large EC2 instances named Udacity M4
  3. Run Terraform.
  4. Take a screenshot of the 6 EC2 instances in the AWS console and save it as Terraform_1_1.
  5. Use Terraform to delete the 2 m4.large instances
  6. Take an updated screenshot of the AWS console showing only the 4 t2.micro instances and save it as Terraform_1_2

Exercise 2

  1. In the Exercise_2 folder, write the code to deploy an AWS Lambda Function using Terraform. Your code should include:

    • A lambda.py file
    • A main.tf file with AWS as the provider, and IAM role for Lambda, a VPC, and a public subnet
    • An outputs.tf file
    • A variables.tf file with an AWS region
  2. Take a screenshot of the EC2 instances page

  3. Take a screenshot of the VPC page

About

Deployment of EC2 instances and AWS Lambda function using Terraform. Architecture diagrams of a Web based app using several AWS services and a serverless deployment. Cost estimates for several scenarios.


Languages

Language:HCL 85.6%Language:Makefile 12.3%Language:Python 2.2%