- Project AWS EC2 Docker Apache Hello World
- IaaS using terraform
- CI/CD with AWS CodeBuild, CodePipeline, CodeDeploy
- AWS CloudWatch
- [Monitoring using UptimeKuma for HTTP(s)] all credits to (https://github.com/louislam/uptime-kuma.git)
- Ubuntu x86_64 (20.04 LTS);
- AWS Account with IAM User;
- Local Docker Runtime;
- Rules and configurations are required in the AWS Cloud environment;
- Install and configure terraform using the hashcorp manual
- Install and configure UptimeKuma;
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1- After cloning the project modify the terraform/provider.tf file;
provider "aws" {
region = "YOUR REGION"
access_key = "ACCESS KEY YOUR USER"
secret_key = "SECRET KEY YOUR USER"
}- Change terraform/main.tf file according to your environment;
- Execute:
terraform init && terraform plan - Check if everything is ok and Execute;
terraform apply - A new instance will be created;
- Install CodeAgent in instance