Skip to content

vanu07/Cloud-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Cloud-Project

This project is done by : Vanujan SELVARAJAH & Andritsara CHAN PENG

The goal of this project is to deploy a WordPress website on our own server.

Plan of the project

  1. Create an Ansible playbook to enable the installation of a WordPress website on our server, for that we will use a tutoriel from this website "https://dotlayer.com/how-to-use-an-ansible-playbook-to-install-wordpress/"
  2. Create a server on Scaleway with Terraform
  3. Create an image with Packer

Ansible: playbook.yml

  • cd cloud-courses/ansible/
  • Run ansible -m ping all -i hosts to test if we can connect to the server by pinging it with Ansible
  • Run ansible-playbook playbook.yml -i hosts -u root -K
  • Verify by typing on the browser the IP address of our server, and verify that there is a WordPress Site

Terraform: main.tf

  • cd cloud-courses
  • Run terraform init
  • Run terraform plan
  • Run terraform apply
  • Verify in our scaleway account that the server has been created sucesfully

Packer: template.json

  • cd cloud-courses/ansible (because we are gonna use our playbook.yml file as provisionners)
  • Run packer validate template.json (to verify if our template.json file is configurate correctly)
  • Run packer build template.json
  • Verify in our scaleway account that the image has been created succesfully

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages