Giter Club home page Giter Club logo

aws-webmin-centos's Introduction

CircleCI

AWS EC2 instance with Webmin/Virtualmin by Terraform

Diagram fo Infra

Create AWS resources and EC2 instance with Webmin/Virtulmin by Terraform.

  • VPC with CIDR 10.20.0.0/16
  • Subnet in VPC with CIDR block 10.20.30.0/24
  • SSH Key pair with user defined public key
  • Security group to allow traffic on ports (SSH, HTTP, HTTPS, 100000 for Webmin)
  • EC2 instance in VPC
  • Elastic IP linked to EC2 instance
  • Resoure to config EC2 instance and install Webmin/Virtualmin

NOTE: Terraform uses Centos7 AMI (ami-6d1c2007) for US-East-1 region (N.Virginia). Choose other AMI ID if you want use other region (see resource "aws_instance" "host" in host.tf)

Bootstrap EC2 instance

Set env variables with AWS credentials before start:

export AWS_ACCESS_KEY_ID="YOURACCESSKEYID"
export AWS_SECRET_ACCESS_KEY="YourSuperSecretAccessKeyForAWS"
export AWS_DEFAULT_REGION="us-east-1"

Perform steps:

  • check/setup variables in vars.tfvars file
  • perfom test terraform plan -var-file=vars.tfvars
  • create AWS resources by terraform apply -var-file=vars.tfvars
  • check terraform output and login to Wibmin UI with provided Login/Password

aws-webmin-centos's People

Contributors

cicdteam avatar

Watchers

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