Skip to content

Stephen-Coloma/Workflow

Repository files navigation

EC2 Backend Deployment with Github Actions

A simple backend and database deployment setup on an AWS EC2 instance.

Overview

This project serves as my practice project on deploying a dockerized application into an EC2 instance using Github Actions as CI/CD. CI includes code building and testing while CD includes deployment to EC2.

Features

  • Fully functional backend API (simple)
  • MySQL database integration
  • Environment variable configuration for security
  • Github Action as CI/CD medium
  • Docker and DockerHub for managing dockerized application

Tech Stack

  • Backend: Node.js, Express.js
  • Database: MySQL
  • Server: AWS EC2 (Ubuntu)

Prerequisites

  • AWS Account
  • EC2 instance (Ubuntu/Debian recommended)
  • Docker installed in EC2
  • Have a Dockerhub account

Note

Read main.yaml file to analyze the deployment process.

About

A simple project with a sole purpose of learning GitHub Actions, AWS EC2 and Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published