Skip to content

miltosdoul/ec2-tf-manage

Repository files navigation

ec2-tf-manage

Terraform code to run/bring down an Ubuntu 24.04 AMI on EC2 which uses OIDC to assume AWS role.

Current architecture
Currently uses cloud-init via Terraform to create user and ansible-playbook command is called via Terraform remote-exec.
Also uses fail2ban for SSH and rsync to copy the website files on update from the github.io repository.
TODO:

  • Website deployment via webhook on push to website repository
  • Use Elastic IP for static address

About

Terraform and Ansible code to deploy and configure an EC2 instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published