Coder Social home page Coder Social logo

gordonmurray / terraform_aws_lamp_stack_checkly Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 15 KB

An example Linux Apache MySQL PHP (LAMP) stack with some Checkly checks, created using Terraform.

License: MIT License

HCL 92.01% Shell 2.96% JavaScript 5.03%
aws checkly lamp-stack terraform

terraform_aws_lamp_stack_checkly's Introduction

Terraform AWS LAMP stack with Checkly

An example Linux Apache MySQL PHP (LAMP) stack with some Checkly checks, created using Terraform.

Once you have applied your Terraform changes, you will have a Webserver up and running. It will have PHP, mySQL and Apache webserver running. In your Checkly account, you will have a number of checks in place that will alert you if your webserver is offline or if 3rd party providers Sendgrid or Stripe are experiencing any issues that may impact on the functionality of your web application.

To get up and running you will need:

  • A Checkly account
  • A Checkly API key
  • Terraform v1.3.7

Create a file called terraform.tfvars (or rename the terraform.tfvars.example file provided). Add in your chosen VPC and Subnet ID as well as your Checkly and Stipe API keys.

Once you are ready, run the following Terraform commands to create your infrastructure and Checkly checks:

terraform init
terraform apply

Estimated cost

Cost estimate taken from Infracost

Project: gordonmurray/terraform_aws_lamp_stack_checkly

 Name                                                 Monthly Qty  Unit   Monthly Cost

 aws_instance.webserver
 ├─ Instance usage (Linux/UNIX, on-demand, t4g.nano)          730  hours         $3.36
 └─ root_block_device
    └─ Storage (general purpose SSD, gp2)                      10  GB            $1.10

 OVERALL TOTAL                                                                   $4.46
──────────────────────────────────
6 cloud resources were detected:
∙ 1 was estimated, it includes usage-based costs, see https://infracost.io/usage-file
∙ 5 were free:
  ∙ 3 x aws_security_group_rule
  ∙ 1 x aws_key_pair
  ∙ 1 x aws_security_group

terraform_aws_lamp_stack_checkly's People

Contributors

gordonmurray avatar

Watchers

 avatar  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.