Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Python test script

___ ____ _ ____ _ _____

/ _ | _ \ / \ / ___| | | ____|

| | | | |_) | / _ | | | | | _|

| || | _ < / ___ | || || |__

_/|| _// __||_|

Memcached Infrastructure

This configuration generally implements this -

This script creates a typical 3 tiered app with a public Load balancer pair in 2 public subnets, app servers in 2 private subnets, memcached servers in 2 private subnets and Mysql DB servers in private subnets, across two Availability Domains. It also creates a VCN with a route table, Internet Gateway, Security Lists, a bastion subnet.

Using this example

Update env-vars with the required information. Most examples use the same set of environment variables so you only need to do this once.
Source env-vars
    $ . env-vars
Update with your instance options.

Files in the configuration env-vars

Is used to export the environmental variables used in the configuration. These are usually authentication related, be sure to exclude this file from your version control system. It's typical to keep this file outside of the configuration.

Before you plan, apply, or destroy the configuration source the file - $ . env-vars

Defines the compute resource

Uses a null_resource, remote-exec and depends_on to execute a command on the instance. More information on the remote-exec provisioner. ./userdata/*

The user-data scripts that get injected into an instance on launch. More information on user-data scripts can be found at the cloud-init project.

Defines the variables used in the configuration

Defines the datasources used in the configuration

Defines the outputs of the configuration

Specifies and passes authentication details to the OCI TF provider

You can’t perform that action at this time.