Packer scripts for creating a matric VM
- Use the AMI's here as a starting point https://www.louisaslett.com/RStudio_AMI/; I picked
US East, Virginia
- Get ready to launch an instance. Ensure that your ‘security group’ settings allow incoming HTTP (port 80) traffic. Wait for the instance to actually be ready (it takes a while).
- See https://www.louisaslett.com/RStudio_AMI/ for details for logging in
- You will need to clean up the apt-get cache because it is messed up; I tried a bunch of things and not sure what worked.
sudo apt-get install git-lfs
to install GitLFS
Other notes
- Run
git lfs install
in each repo that needs it, and thengit lfs fetch
andgit lfs pull
to actually get the files - Run
sudo chown 777 -R
on any directory you want to access but can't. The sudo password is the same as for RStudio. - Gzip is not automatically available with the
arrow
package. You will need to do this
Sys.setenv(ARROW_S3="ON")
Sys.setenv(NOT_CRAN="true")
install.packages("arrow", repos = "https://arrow-r-nightly.s3.amazonaws.com")
- Use GitHub PAT for accessing repos.
- ssh using
ubuntu
but then switch over torstudio
usingsudo login rstudio
. The sudo password is the same as for RStudio.