Tag: Ubuntu

  • Multipass cloud-init

    Multipass cloud-init

    Multipass is pretty useful but what a pain this was to figure out, due to Ubuntu’s Node.js package not working with AWS-CDK. Multipass lets you manage VM in Ubuntu and can take cloud-init scripts as a parameter. I wanted an Ubuntu LTS instance with AWS CDK, which needs Node.js and python3-venv. Save that as cdk.yaml…

  • Setup a Multipass CDK Environment

    Setup a Multipass CDK Environment

    I want to be able to connect to the environment using Visual Studio Code, so first we need to create a SSH key: We need a configuration YAML, replace <generated ssh-rsa key> with the above key, saved as cloud-init.yaml: Assuming you’ve got Multipass installed (if not sudo snap install multipass) then: We’ll come back to…

  • Static sites with Jekyll in Ubuntu

    Static sites with Jekyll in Ubuntu

    Setup Ruby Remove the default Ubuntu install, otherwise you’ll get an error You don’t have write permissions for the /var/lib/gems/3.x.x Directory and configure Ruby to install gems to a folder in your home.