Code Monkey home page Code Monkey logo

aws-lab's Introduction

Terraform + AWS + Consul + Backup .tf

create-ec2.tf

This code use for create simple ec2 + Elastic IP ( Public IP ).

  • Create EC2 AMI Based.
  • Previously created, SG group, vpc, subnet, Key pair and AMI image.
  • Copy tfstate to HashiCorp Consul.

s3.sh

This code use for .tf upload on AWS S3 Bucket.

I use Jenkins pipeline for create EC2, but need a backup the .tf archive, for case use the command terraform destroy.

Consul Server

My Consul Server I created by this documentation..

https://learn.hashicorp.com/tutorials/consul/docker-compose-datacenter?in=consul/docker

The consul server use docker-compose up --detach command, this command run docker with persistent volume.

(just a tip from me Marlon, use https://stackedit.io/, it's very easy to work with markup language (I love this one)... <- remove LOL

aws-lab's People

Contributors

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