Introduction to cloud9

Tags: #cloud9

12 March 2023


Let me start with the problem statement. I want to create ephemeral instances for few hours to test things and check if it's working or not. Say, I'm contributing to a opensource project and wanted to run the integration test. For all such purposed, I've started using cloud9 these days and by far I'm very pleased with it.

Things that I like about cloud9 is that it's very stable. With other similar solutions, I start getting warning messages that no CPU left or sometimes the browser doesn't seem to work perfectly.

Now one question you may ask is that why not ssh?

After spinning cloud9 here're the things I do

  1. Install fish
sudo yum install fish -y
  1. Installing Arkade
curl -sLS https://get.arkade.dev | sh 
  1. Get ready with K8s environment
ark g minikube kubectl kubens
export PATH=$PATH:$HOME/.akrade/bin 
source ~/.bashrc
  1. Create a global mark for fish config In my local system, I've setup F as my mark for fish config which is available at ~/.config/fish/config.fish and in the ephemeral environment I open up the file and use mF to create the marks.
$ vim ~/.config/fish/config.fish
$ mA

Usecases

  1. Compiling Rust Programs I am using a lot of rust based CLI tools these days and often if they release a new feature then I want to try those things by compiling the program and often this is little difficult on my personal system. So, I spin up a cloud9 instance and then compile the program there and then download the artifact from the cloud9 dashboard itself. In the past, I've tried

Things I like

Ah, in the browser you don't have to do anything. For copy and pasting stuffs, you've ctrl+c and ctrl+v I know it sounds not good but it is straightforward so this is good for me.