Giter VIP home page Giter VIP logo

gamers_hub's Introduction

Altschool Africa

REQUIREMENTS

  1. Terraform v1.3.7
  2. Ansible [core 2.12.10]
  3. AWS CLI [aws configure]

DEPLOYMENT

This project was deployed at terraform-test.tuyojr.me, at some point in January - Early February 2023.

Ansible main.yml

---
- hosts: webServer1-AMZL2
  gather_facts: no
  roles:
    - name: Configure Amazon Linux 2 Server
      role: amz

- hosts: webServer2-UBUNT
  gather_facts: no
  become: yes
  roles:
    - name: Configure Ubuntu 20.04 Focal Fossa Server
      role: ubuntu

- hosts: webServer3-DEBI11
  gather_facts: no
  become: yes
  roles:
    - name: Configure Debian 11 Bullseye Server
      role: debian

MINI PROJECT

  • Using Terraform, create 3 EC2 instances and put them behind an Elastic Load Balancer
  • Make sure the after applying your plan, Terraform exports the public IP addresses of the 3 instances to a file called host-inventory
  • Get a .com.ng or any other domain name for yourself (be creative, this will be a domain you can keep using) and set it up with AWS Route53 within your terraform plan, then add an A record for subdomain terraform-test that points to your ELB IP address.
  • Create an Ansible script that uses the host-inventory file Terraform created to install Apache, set timezone to Africa/Lagos and displays a simple HTML page that displays content to clearly identify on all 3 EC2 instances.
  • Your project is complete when one visits terraform-test.yourdomain.com and it shows the content from your instances, while rotating between the servers as your refresh to display their unique content.
  • Submit both the Ansible and Terraform files created

gamers_hub's People

Contributors

tuyojr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.