GithubHelp home page GithubHelp logo

hyejipyo / terraform-course Goto Github PK

View Code? Open in Web Editor NEW

This project forked from finfra/terraform-course

0.0 0.0 0.0 241 KB

Course files for my Udemy course about Terraform

Home Page: https://www.udemy.com/learn-devops-infrastructure-automation-with-terraform/?couponCode=TERRAFORM_GIT

Shell 7.49% Smarty 0.44% HCL 92.07%

terraform-course's Introduction

terraform-course.

Usage

cd
git clone https://github.com/Finfra/terraform-coursehttps://github.com/Finfra/terraform-course
cd terraform-course/01-FirstSteps
cat README.md

Demo overview

Demo Directory Description
01-FirstSteps First steps : One File Version
02-FirstSteps_files First steps : File Separate
03-Provisioner_basic Enable Login : One File Version
04-Provisioner_files Enable Login : File Separate
05-Provisioner_Script Using provisioner : Script
06-ExecutingScriptLocally Executing script locally
07-Outputting Outputting : S3
08-DataSource Data Source : Security Groups Create
09-Modules Modules : Consul Module from github
10-AwsVpc AWS VPC
11-Ec2VpcSecuritygroup EC2 instance within VPC with securitygroup
12-Ec2EBS EC2 instance with EBS volumes
13-UserdataAndCloudinit Userdata and cloudinit
14-Route53 Route53 (DNS)
15-RDS RDS
16-IAM IAM
17-IAMRolesWithS3Bucket IAM Roles with S3 bucket
18-Autoscaling Autoscaling
19-AutoscalingWithELB Autoscaling with ELB (Elastic Load Balancer)
20-ElasticBeanstalk Elastic Beanstalk PHP 7 stack with RDS
21-InterpolationsVPCModule Interpolations, VPC module
22-ProjectStructure Project structure, best practices
23-packer Build AMIs with Packer
24-jenkins-packer Demo with jenkins and Packer
c0-MultiInstance Demo for MultiInstance
c1-EKS Demo with EKS
c2-UsingProvisionerOnWindowsInstance Using provisioner on a Windows instance
c3-docker_local Using Local Docker
c4-docker_EcrContainerRegistry Using ECR - The EC2 Container Registry
c5-docker_EcsContainerService Using ECS - The EC2 Container Service
c6-docker_EcrEcsWithJenkinsInACompleteWorkflow Using ECR/ECS with Jenkins in a complete workflow
c7-module2 Using ECS + ALB in 4 modules to show how developing terraform modules work

Setting for Convenient

  • Root계정에서 실행하세요.
## ssh
echo "    StrictHostKeyChecking no" >> /etc/ssh/ssh_config

## EDITOR
echo "export EDITOR=vi" >> /etc/bash.bashrc

## Alias for Terraform Apply
cmd='
terraform destroy -auto-approve
terraform init
terraform apply -auto-approve
cat terraform.tfstate|grep public_ip|grep -v associate
'
echo "alias ta=\"echo '$cmd';$cmd\"">>/etc/bash.bashrc

## Alias for Terraform Destroy
cmd='terraform destroy -auto-approve
'
echo "alias td=\"echo '$cmd';$cmd\"">>/etc/bash.bashrc

## Alias for Delete aws Key pair
cmd='aws ec2 delete-key-pair --key-name mykey
'
echo "alias dk=\"echo '$cmd';$cmd\"">>/etc/bash.bashrc

terraform-course's People

Contributors

jgnam2020 avatar kewalaka avatar nowage avatar wardviaene 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.