Skip to content

Gev544/superMario_on_AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

superMario_on_AWS

Super Mario automated deployment in AWS

Requirements:

  • packer
  • terraform
  • ansible
  • aws-cli

How to deploy:

In th main folder execute the shell script named super_mario_deploy.sh.

After deployment the script will return you the URL to play the game in your browser.

Thats all!

How the project works

Packer Part :

Packer is deploying the instance with Ubuntu image from AWS AMIs With Ansible all necessary software are being installed on the instance, after Super Mario docker image is being downloaded and installed on instance Packer is finishing the job by creating image from existing instance, and deleting all the resources that has been created.

Terraform part:

Terraform is taking AMI created by packer and creating 2 instances(master/replica) with all necessary resources Terraform is creating ALB(application load balancer) and configuring it to for the 2 instances deployed earlier

About

Super Mario automated deployment in AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published