Deploy Docker to AWS (EC2)
Version updated for https://github.com/bitovi/github-actions-deploy-docker-to-ec2 to version v1.0.3.
- This publisher is shown as ‘verified’ by GitHub.
- This action is used across all versions by 222 repositories.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action automates the deployment of Docker-based applications to AWS EC2 instances, simplifying the process by provisioning resources, copying the repository, installing Docker, and running docker compose up. It addresses the challenges of manual EC2 setup and app deployment while supporting multiple environments through customizable resource identifiers. Key features include backup retention management, support for Application Load Balancers (ALB) with Web Application Firewall (WAF), and compatibility with Elastic Load Balancers (ELB).
Release notes
What’s Changed
- Added docker_backup_retention, allowing cleanup of old backups. Set the number of backups to keep, defaults to unlimited.
- Fixed some bugs related to certificate handling. Specifically, dependencies and first-time root-cert creation.
- ⚠️
aws_elb_access_log_bucket_namewas not being set correctly, hence it was set to a fixed value, ignoring input. - Added ALB with WAF option - Including priorities for rules and the possibility to add your own.
- Using GHA Commons version v2.0.8
Full Changelog: https://github.com/bitovi/github-actions-deploy-docker-to-ec2/compare/v1.0.2...v1.0.3