Giter Site home page Giter Site logo

vjftw / cloud-desktops Goto Github PK

View Code? Open in Web Editor NEW
24.0 5.0 3.0 109 KB

Cloud-based Virtual Desktops on Google Cloud Platform

HCL 31.10% Shell 55.80% Starlark 13.11%
desktop daas cloud-desktops virtual-desktops kali-linux packer gcp arch-linux debian-linux

cloud-desktops's Introduction

Cloud Desktops

This repository presents various cloud virtual desktops suitable for shared or single use in Google Cloud Platform via OS Login and Chrome Remote Desktop.

Release

Quick Start

If you'd like to try this out without building your own Packer images and you trust me, feel free to use my public images in the vjp-cloud-desktops project and skip to step 3. e.g.

Debian Linux w/ XFCE4

DEBIAN_IMAGE="debian-xfce4-2024-06-28-6e184bd"
gcloud compute instances create debian-ws \
    --machine-type=e2-standard-2 \
    --boot-disk-size=50GB \
    --boot-disk-type=pd-ssd \
    --metadata enable-oslogin=true \
    --no-service-account \
    --no-scopes \
    --image-project vjp-cloud-desktops \
    --image "$DEBIAN_IMAGE"

Kali Linux w/ XFCE4

KALI_IMAGE="kali-xfce4-2024-06-28-6e184bd"
gcloud compute instances create kali-ws \
    --machine-type=e2-standard-2 \
    --boot-disk-size=50GB \
    --boot-disk-type=pd-ssd \
    --metadata enable-oslogin=true \
    --no-service-account \
    --no-scopes \
    --image-project vjp-cloud-desktops \
    --image "$KALI_IMAGE"

Arch Linux w/ XFCE4

ARCH_IMAGE="arch-xfce4-2023-07-14-9270dfd"
gcloud compute instances create arch-ws \
    --machine-type=e2-standard-2 \
    --boot-disk-size=50GB \
    --boot-disk-type=pd-ssd \
    --metadata enable-oslogin=true \
    --no-service-account \
    --no-scopes \
    --image-project vjp-cloud-desktops \
    --image "$ARCH_IMAGE"

Getting Started

  1. Build your desired flavour by running its Please target (see below).
  2. Boot your new image in Google Compute Engine.
  3. SSH into your new instance via OS Login.
  4. Go to https://remotedesktop.google.com/headless and skip to through authorise to get the command to run on your new instance. Run the command and follow the instructions.
  5. The new instance will appear in https://remotedesktop.google.com/access.

Flavours

Debian

GCP_PROJECT_ID="my-project" ./pleasew run //flavours/debian:xfce4_build

Kali Linux

GCP_PROJECT_ID="my-project" ./pleasew run //flavours/debian/kali:xfce4_build

Kali Linux takes some time to build as it is based off Debian and replaces the Debian's sources with Kali's sources and thus replaces a lot of the existing packages.

cloud-desktops's People

Contributors

actions-user avatar northdpole avatar steakunderscore avatar vjftw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cloud-desktops's Issues

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.