[AWS Lab] API Gateway – Request Validation – Query Strings

In this lab, we will learn how to validate an API request.

Overview

  • Source: API Gateway – REST API
    • Route: GET /greet?name=abc
  • Target: Mock
  • Returns the validation error when the required query string ‘name’ does not exist
Continue reading “[AWS Lab] API Gateway – Request Validation – Query Strings”

[AWS Lab] CloudFormation – IAM: Role & Policy

In this lab, we will learn how to create an IAM role and policy for a lambda function

Continue reading “[AWS Lab] CloudFormation – IAM: Role & Policy”

[AWS Lab] CloudFormation – VPC: Internet Gateway

In this lab, we will learn how to create an Internet Gateway and attach it to a VPC using CloudFormation.

Continue reading “[AWS Lab] CloudFormation – VPC: Internet Gateway”

[AWS Lab] CloudFormation – VPC

In this lab, we will learn how to create a custom VPC using CloudFormation.

Continue reading “[AWS Lab] CloudFormation – VPC”

[AWS Lab] Scheduled Lambda Invocation – EventBridge

In this lab, we will learn how to periodically invoke a lambda function via Amazon EventBridge.

Overview

  • Source: EventBridge
    • Build a custom Rule – Scheduling
  • Target: Lambda – Function
    • returns the current date time
    • Python
Continue reading “[AWS Lab] Scheduled Lambda Invocation – EventBridge”

[AWS Lab] VPC – Public Subnet

In this lab, we will learn how to create a public subnet and test it with an EC2 instance.

Overview

  • VPC
    • Create a VPC and a public subnet
  • EC2
    • Create an EC2 instance inside the public subnet
    • Setup the website in the EC2 instance using “httpd
    • Access the website via the public IP address of the EC2 instance
Continue reading “[AWS Lab] VPC – Public Subnet”