Git Product home page Git Product logo

nubis-jumphost's Introduction

nubis-jumphost

Version Build Status Issues

Jumphost Deployment

The Jumphost project is designed to be deployed into a standard Nubis Account. It takes advantage of the standard deployment found here.

The jumphost can be optionally deployed and provides a way for users to access EC2 instances over SSH. Once deployed the Jumphost instance has has the permissions necessary to allow users to SSH into instances deployed into either the Public or Private subnets. These permissions are provided by, and enforced by, Security Groups. There is only one Jumphost deployed per VPC which allows access to instances deployed into any subnet within that VPC. The Jumphost is deployed into an Auto Scaling group to provide resiliency, however it is not designed for HA (only a single host is deployed).

Deployment Diagram

Deployment Diagram

NOTE: The line colors are representative and are for readability only. They are not intended to indicate any underlying protocol or specific communication details.

Deployment Notes

The Nubis Jumphost deployment consists of:

  • EC2 Instance in the Public Subnet in an Autoscaling Group
  • Elastic IP providing a stable IP for whitelisting and firewalling
  • Attachment to account SSH Security group for access control
  • IAM Role and Policy for accessing boot secrets

Deployment Resources

Details for the deployment including; naming conventions, relationships, permissions, etcetera, can be found in the Terraform template used for deployment. Links to specific resources can be found in the following table.

Resource Type Resource Title Code Location
atlas_artifact nubis-jumphost nubis/terraform/main.tf#L6
aws_eip jumphost nubis/terraform/main.tf#L19
aws_route53_record ui nubis/terraform/main.tf#L25
aws_security_group jumphost nubis/terraform/main.tf#L34
aws_iam_instance_profile jumphost nubis/terraform/main.tf#L73
aws_iam_role jumphost nubis/terraform/main.tf#L87
aws_iam_role_policy jumphost nubis/terraform/main.tf#L110
aws_launch_configuration jumphost nubis/terraform/main.tf#L132
aws_autoscaling_group jumphost nubis/terraform/main.tf#L168

How to build project

  1. Build the AMI

    $ vi ./nubis/builder/project.json
    $ nubis-builder build
    
  2. Edit the terraform.tfvars file

    $ cp ./nubis/terraform/terraform.tfvars-dist ./nubis/terraform/terraform.tfvars
    $ vi nubis/terraform.tfvars
    
  3. Deploy using Terraform

    $ terraform plan
    $ terraform apply
    

Notes

You need to init git submodules

git clone git://github.com/limed/nubis-jumphost.git
git submodule update --init --recursive

nubis-jumphost's People

Contributors

tinnightcap avatar gozer avatar limed avatar

Watchers

James Cloos 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.