GithubHelp home page GithubHelp logo

mekaufman / lemp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloud-schematics/lemp

0.0 1.0 0.0 26 KB

Deploy a full stack LEMP environment (Linux, NGINX, MySQL, and PHP) on a single VM.

License: Apache License 2.0

HCL 100.00%

lemp's Introduction

LEMP Template

An IBM Cloud Schematics template to provision a virtual machine instance and configure it with the "LEMP" stack: Linux, NGINX, MySQL (mariadb), and PHP. Schematics uses Terraform as the infrastructure as code engine. With this template, you can provision and manage infrastructure as a single unit.

See the IBM Cloud docs for more information about Schematics.

Costs

This sample uses chargable services and will incur costs for the time the services are deployed. Execution of terraform destroy will result in deletion of all resources including the ICD service instance. Billing for VSIs and ICD will terminate on the hour.

Dependencies

  • User has IAM security rights to create and configure an IBM Cloud Database instance and VSIs

Identity & Access Management (IAM) Permissions

The following variables need to be set before use

Variables

Variable Name Description Default Value
cores The number of CPU cores to allocate. 1
datacenter The data center to create resources in. You can get the list by running ibmcloud cs locations. wdc01
disk_size The numeric disk sizes (in GB) for the instance’s block device and disk image settings. 25
domain The domain for the instance. domain.dev
hostname The hostname for the instance. lemp
memory The amount of memory, expressed in megabytes, to allocate. 1026
network_speed The connection speed (in Mbps) for the instance’s network components. 100
os_reference_code The operating system reference code that is used to provision the computing instance. To see available OS reference codes, log in to the IBM Cloud Infrastructure (SoftLayer) API. CENTOS_LATEST_64
private_network_only When set to true, a compute instance only has access to the private network. false
softlayer_api_key Your IBM Cloud Infrastructure (SoftLayer) API key.
softlayer_username Your IBM Cloud Infrastructure (SoftLayer) user name.
ssh_key Your public SSH key to access the VM.
ssh_label An identifying label to assign to the SSH key. public ssh key - Schematics VM
ssh_notes A description to assign to the SSH key.
ssh_user The default username for the VM. root
tags Descriptive tags to label the resource.

Outputs

This template outputs the IPv4 address of the created virtual machine

lemp's People

Contributors

davetropeano avatar rachael-graham 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.