Sign inSign up

retroandre/lb_asg

By retroandre

Updated over 1 year ago

Application with Load Balancer and Auto Scaling Group

Image
Languages & frameworks
0

441

retroandre/lb_asg repository overview

APP WITH AWSL, LOAD BALANCER AND AUTO SCALING GROUP

📖 About the Project

The project consists of creating an application that displays an HTML page, hosted in a GitHub repository and managed using GitHub Actions. AWS services such as EC2, Load Balancer, and Auto Scaling Group are integrated to efficiently manage and scale infrastructure.

The workflow includes two main branches:

  1. QA Branch: Configured to deploy to two instances using a Load Balancer. Deployments are automatically triggered by GitHub Actions when you make a pull request.

  2. Main branch: Configured to deploy to four instances, using an Auto Scaling Group to ensure scalability and high availability. Deployments are also automatically run through GitHub Actions when you make a pull request.

📋 Prerequisites

Before you begin, make sure you have:

Before you begin, make sure you have:

  1. AWS account with a configured EC2 instance, load balance and production.

  2. SSH keys generated for secure connection.

    EC2_KEY: Content of your private SSH key.

    EC2_HOST: Public IP address of your EC2 instance for QA and DEV.

    You can get them from your AWS account.

  3. Secrets configured in your GitHub repository.

  4. DockerHub account Access credentials to save in GitHub secrets.

🚀 Project Usage

To run this container, simply use the following command:

Docker Pull
  docker pull retroandre/lb_asg:qa - retroandre/lb_asg:prod
Docker Run
  docker run -p 8080:8080 retroandre/lb_asg:qa - retroandre/lb_asg:prod

Contributing

I would like you to contribute to this project. Whether it's fixing a bug, adding a new feature or improving the documentation, your help is always welcome. Please email me at [email protected] with all the details for improvement.

Tag summary

Content type

Image

Digest

sha256:b9123842c

Size

68.7 MB

Last updated

over 1 year ago

docker pull retroandre/lb_asg