Skip to content

Renatovnctavares/terraform-WordpressProject

Repository files navigation

Wordpress Project

Scripts HCL terraform to Build infrastructure into AWS environment with purpose of run a new wordpress Website by image docker into EC2 intance and RDS Mysql instance. (design plan avaliable on repo).

Resource will be created:

  • VPC HML

  • Peering VPC to default VPC

  • RDS

    Security Group

    MySQL instance

  • EC2 Instance

    KEY

    Security Group

    Docker Server

    Wordpress image

  • ELB

    Security Group

Requeriments:

  • git 2.17.2
  • terraform v0.11.13
  • AWS account free tier

Output Script:

  • URL : Access wordpress URL LoadBalance.
  • FILE : Key.pem

Important Security Notice: The private key generated by this script will be stored unencrypted in your Terraform state and key.pem file. Use of this resource for production deployments is not recommended!

##Step 1 Configure your AWS account on EC2 instance. (requere aws_access_key_id and aws_secret_access_key)

$ aws configure

##step 2

Dowload scripts

$ git clone https://github.com/Renatovnctavares/terraform-WordpressProject.git

$ cd terraform-wordpressProject

##Step 3 run scripts

$ init terraform

$ terraform plan

$ terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published