Skip to content

dkuzichev/bastion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bastion server for personal usage

Prerequsites

  1. Google cloud SDK
  2. gcloud utility is set to proper account and authorized
  3. Terraform 1.0.2

Configuration

To change config use terraform.tfvars.json from root directory of project
Settings are:

  1. project_id - name of GCP project
  2. zone - GCP zone
  3. region - GCP region
  4. machine_type - GSC image type
  5. boot_disk_images - OS type of your VM instance. Now one or several of the following allowed: "ubuntu-os-cloud/ubuntu-2010", "debian-cloud/debian-10", "centos-cloud/centos-stream-8". Number of instances calculates from length of this list. For example if boot_disk_images = ["ubuntu-os-cloud/ubuntu-2010", "debian-cloud/debian-10", "centos-cloud/centos-stream-8"] then 3 VMs with specified OS will be created
  6. public_key_path - path to your public ssh key
  7. private_key_path - path to your private ssh key (is needed for postprovision VMs)
  8. remote_user - remote user name you want to use
  9. remote_dir - directory, where postprovision script will be placed remotely
  10. zsh - install ZSH and use instead of Bash
  11. terraform - install Terraform
  12. terraform_version - Terraform version to install (for example "1.0.2"), use it with terraform = true setting
  13. ansible - install Ansible
  14. kubectl - install Kubectl
  15. jq - install jq
  16. helm - install Helm
  17. sops - install SOPS
  18. sops_version SOPS version to install (for example "3.7.1"), use it with sops = true setting
  19. k9s - install K9S

Have a pleasant use!)

Links

I used quickzsh in my scripts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published