Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yunusemrenalbant/spring-aws-ec2
aws ec2 deployment
https://github.com/yunusemrenalbant/spring-aws-ec2
aws aws-ec2 cicd docker spring
Last synced: 14 days ago
JSON representation
aws ec2 deployment
- Host: GitHub
- URL: https://github.com/yunusemrenalbant/spring-aws-ec2
- Owner: YunusEmreNalbant
- Created: 2025-01-05T16:09:52.000Z (28 days ago)
- Default Branch: main
- Last Pushed: 2025-01-06T17:18:45.000Z (27 days ago)
- Last Synced: 2025-01-16T00:58:46.241Z (18 days ago)
- Topics: aws, aws-ec2, cicd, docker, spring
- Language: Java
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS EC2 ve GitHub Actions ile Otomatik Deployment
Bu proje, AWS'in ücretsiz sunucusunda (EC2) bir uygulamanın GitHub Actions ile otomatik deployment sürecini gösterir.
## CI/CD Süreci
Main branch'e pushlanan kod değişikliklerinde otomatik olarak:
- Testler çalıştırır
- Docker imajı oluşturulur
- EC2'ye deploy eder.## GitHub Secrets Ayarları
Repository'de şu secret'lar tanımlanmalıdır:
- `DOCKER_USERNAME`: Docker Hub kullanıcı adı
- `DOCKER_PASSWORD`: Docker Hub şifresi/token
- `EC2_HOST`: EC2 public IP adresi
- `EC2_USERNAME`: EC2 kullanıcı adı
- `EC2_SSH_KEY`: EC2 instance'ına bağlanmak için SSH key