navigation

Workshop: Deploying a Fullstack Blog Website on AWS EC2 with DocumentDB, CloudFront & S3

Overview

In this workshop, you will learn how to deploy a Fullstack Blog Website on AWS using EC2, leverage DocumentDB as a NoSQL database, and optimize performance and costs with CloudFront.

Workshop Architecture

Objectives:

  • Understand how to create and configure EC2, DocumentDB, CloudFront, and IAM on AWS.
  • Learn how to deploy a MERN fullstack blog application on EC2.
  • Connect and interact with DocumentDB from EC2, including data migration from MongoDB to DocumentDB.
  • Configure CloudFront to offload traffic from EC2 and enhance performance.
  • Manage access control between AWS services using IAM.

Prerequisites:

  • An AWS account with IAM access permissions.
  • A computer with an SSH client (e.g., Terminal or PuTTY).

Workshop Content

  1. Introduction
  2. Restricting Access with IAM Service
  3. Prepare VPC
  4. Create EC2 Instance
  5. Create S3
  6. Create AWS DocumentDB Service
  7. Deploying the Application to EC2
  8. Create CloudFront
  9. Cleaning Up Resources