Application with Load Balancer and Auto Scaling Group
441
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:
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.
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.
Before you begin, make sure you have:
Before you begin, make sure you have:
AWS account with a configured EC2 instance, load balance and production.
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.
Secrets configured in your GitHub repository.
DockerHub account Access credentials to save in GitHub secrets.
To run this container, simply use the following command:
docker pull retroandre/lb_asg:qa - retroandre/lb_asg:prod
docker run -p 8080:8080 retroandre/lb_asg:qa - retroandre/lb_asg:prod
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.
Content type
Image
Digest
sha256:b9123842c…
Size
68.7 MB
Last updated
over 1 year ago
docker pull retroandre/lb_asg